I have my Danfoss thermostats working on my VeraLite and want to control that from hs. I have worked out the command line for it and it works perfect. Now, the command line contains two variables, the Vera device number and the temperature. Instead of me write a command line for every combination of the two: how can I build this with hs variables coming from the value of a hs device (I have one hs device created to correspond to a VeraDevice) ?
The command line looks like this:
Wget --delete-after "http://192.168.1.30:3480/data_request?id=lu_action&output_format=json&serviceId=urn:u pnp-org:serviceId:TemperatureSetpoint1_Heat&DeviceNum=7&action=S etCurrentSetpoint&NewCurrentSetpoint=21"
Best,
Mav
The command line looks like this:
Wget --delete-after "http://192.168.1.30:3480/data_request?id=lu_action&output_format=json&serviceId=urn:u pnp-org:serviceId:TemperatureSetpoint1_Heat&DeviceNum=7&action=S etCurrentSetpoint&NewCurrentSetpoint=21"
Best,
Mav
Comment