Hello everyone,
I have a Veralite and I try to fly a Danfoss thermostat.
Everything goes well when I use the GUI (UI5), now I’d like to set the thermostat using the UI interface. I looked at the wiki, but despite many attempts I can not find the correct syntax that allows me to set the temperature.
I tried something like this:
http://192.168.66.217:3480/data_request?id=lu_action&serviceId=urn:schemas-upnp-org:device:Heater:1&DeviceNum=3&action=_ChangeSetpoint&heatersetpoint=7
But I receive a error like : ERROR: Invalid Service
Does someone knows how to do this simple operation?
Thanks in advance.
Charles
I’ve had success with this:
http://YOUR_IP_ADDRESS:3480/data_request?id=action&DeviceNum=YOUR_DEVICE_NUM&serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1_Heat&action=SetCurrentSetpoint&NewCurrentSetpoint=YOUR_VALUE
Swap out the bits IN_CAPS
or in Lua:
args = {}
args.NewCurrentSetpoint = setPoint
luup.call_action('urn:upnp-org:serviceId:TemperatureSetpoint1_Heat','SetCurrentSetpoint',args,valveId)