New features added:
- New variable "RFYMode" available for RFY to select between standard mode (value "STANDARD"), venetian US mode (value "VENETIAN_US") or venetian EU mode (value "VENETIAN_EU")
- UI: "Change angle + (Venetian US)" command available for RFY in the "Managed devices" tab
- UI: "Change angle - (Venetian US)" command available for RFY in the "Managed devices" tab
- UI: "Change angle + (Venetian EU)" command available for RFY in the "Managed devices" tab
- UI: "Change angle - (Venetian EU)" command available for RFY in the "Managed devices" tab
- UI: "Enable sun/wind detector" command available for RFY in the "Managed devices" tab
- UI: "Disable sun detector" command available for RFY in the "Managed devices" tab
Can you tell me how can I run those commands in a luup code? I would like to be able to enable/disable the sun/wind detector with a scene.
Thanks in advance.
You can try luup.call_action("urn:upnp-rfxcom-com:serviceId:rfxtrx1", "SendCommand", {DeviceId=xxx, CommandType="cmd"}, mainId)
with cmd amongst VENETIAN_US_ANGLE_PLUS, VENETIAN_US_ANGLE_MINUS, VENETIAN_EU_ANGLE_PLUS, VENETIAN_EU_ANGLE_MINUS, ENABLE_DETECTOR, DISABLE_DETECTOR, ... and xxx being the device id of your window covering device.
mainId is the device id of your RFXtrx main device.