How to sent numeric converted to string
Posted: 22 Jan 2023, 23:01
Hi!,
To sent textdata from easpeasy to domoticz next syntax is valid.
on CO2#PPM do
SendToHTTP ,192.168.2.100,8080,/json.htm?param=udevice&type=command&idx=909&svalue=SomeData
endon
Domoticz will display "SomeData"in a virtual text-device.
Now I'd like to sent numeric value (content of a variable).
Is there a kind of conversuin formula to do so eg num2string(numericvar)
TIA
-Bart
To sent textdata from easpeasy to domoticz next syntax is valid.
on CO2#PPM do
SendToHTTP ,192.168.2.100,8080,/json.htm?param=udevice&type=command&idx=909&svalue=SomeData
endon
Domoticz will display "SomeData"in a virtual text-device.
Now I'd like to sent numeric value (content of a variable).
Is there a kind of conversuin formula to do so eg num2string(numericvar)
TIA
-Bart