How to add a value in a HTTP string ? (openURL)
Posted: Wednesday 05 December 2018 22:22
I am using domoticz.openURL to send data to an ESP module.
This works fine.
Example : domoticz.openURL('http://192.168.1.185/control?cmd=PWM,2,200')
The last 200 i need to change depending on temperature.
How can i make a varaiable from this one ?
Tried serveral ways... but not succesfull so far....
This works fine.
Example : domoticz.openURL('http://192.168.1.185/control?cmd=PWM,2,200')
The last 200 i need to change depending on temperature.
How can i make a varaiable from this one ?
Tried serveral ways... but not succesfull so far....