I’m just starting to use HTTP get requests from my Android phone to control my LightwaveRF light switches, which are in turn controlled via an RFXtrx attached to the USB port of my VeraLite. I can switch them on and off this way, but dimming doesn’t seem to work.
Here is the get request is use, to set device id 40 to 10% load:
http://ip.ip.ip.ip:3480/data_request?id=action&output_format=xml&DeviceNum=40&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&NewLoadLevelTarget=10
And here is the corresponding log from my VeraLite:
08 04/17/14 19:00:01.417 JobHandler_LuaUPnP::HandleActionRequest device: 40 service: urn:upnp-org:serviceId:Dimming1 action: SetLoadLevelTarget <0x2e981680>
08 04/17/14 19:00:01.417 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=40 <0x2e981680>
08 04/17/14 19:00:01.417 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-org:serviceId:Dimming1 <0x2e981680>
08 04/17/14 19:00:01.417 JobHandler_LuaUPnP::HandleActionRequest argument action=SetLoadLevelTarget <0x2e981680>
08 04/17/14 19:00:01.418 JobHandler_LuaUPnP::HandleActionRequest argument NewLoadLevelTarget=10 <0x2e981680>
01 04/17/14 19:00:01.418 LuaInterface::CallFunction_Job device 40 function SDimming1_Dimming1_SetLoadLevelTarget_run failed [string “module(“L_RFXtrx”, package.seeall)…”]:3463: attempt to concatenate local ‘newLoadlevelTarget’ (a nil value)
Anyone any idea why this doesn’t work?