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
How to sent numeric converted to string
Moderators: grovkillen, Stuntteam, TD-er
Re: How to sent numeric converted to string
The documentation on Rules has most/all info and a lot of examples
For the values of a task you can use the [taskname#valuename] syntax (square brackets included!), optional formatting is also documented at that link, for system variables the %sysname% syntax can be used.
Domoticz expects most values via svalue, but for some the nvalue should be set.
For the values of a task you can use the [taskname#valuename] syntax (square brackets included!), optional formatting is also documented at that link, for system variables the %sysname% syntax can be used.
Domoticz expects most values via svalue, but for some the nvalue should be set.
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 10 guests