In the Wiki it says:
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=TEXT
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
TEXT = Text you want to display
If I place the next code in my ESP8266 it works:
Code: Select all
url = "/json.htm?type=command¶m=udevice&idx=83&nvalue=0&svalue=Relais%201%20is%20uit.";
http.setAuthorization("My InlogName for Domoticz", "My PassWord for Domoticz");
sendDomoticz(url);
For instance:
Variable1 = "Het weer is"
Variable2 = "super"
Variable3 = "."
Variable4 = "De temperatuur ="
Variable5 = 21,5
Variable6 = "'C"
Variable7 = "en de luchtvochtigheid ="
Variable8 = 65,40
Variable9 = %
I want in my Text sensor the text shown as:
Het weer is super.
De temperatuur = 21,5 'C en de luchtvochtigheid = 65,40%.
How do I do that?
In dzVents I can do it but I want to do it from my ESP8266 module.