Sending sensor data to V_TEXT and MySensors
Posted: Sunday 20 October 2019 17:59
Hi everybody,
After a lot of searching im writing to ask if its possible to have a Blocky script send a sensor value (temperature, for example), via V_TEXT to a MySensors node with Blocky
Ive declared and presented the text variable on the mySensors Node with:
It does show up on Domoticz devices list and i managed to send a string to the node successfully. What im not able to do is convert a number into a string to send it as text to the mysensors node.
Ive tried the following Blocky script to try to convert it to string via a user variable defined as string (TEXT_EXTERIOR):
But what i get as the content to send is "variable[1]". Is it even possible to do this with blocky? Since i dont know dzVents this would be the preferred solution...
Thanks!
After a lot of searching im writing to ask if its possible to have a Blocky script send a sensor value (temperature, for example), via V_TEXT to a MySensors node with Blocky
Ive declared and presented the text variable on the mySensors Node with:
Code: Select all
MyMessage textMsg(0, V_TEXT);
present(CHILD_ID_EXTEMP, S_INFO, "LCD_EXT-TEMP");
Ive tried the following Blocky script to try to convert it to string via a user variable defined as string (TEXT_EXTERIOR):
But what i get as the content to send is "variable[1]". Is it even possible to do this with blocky? Since i dont know dzVents this would be the preferred solution...
Thanks!