Page 1 of 1
how to make an viritual sensor?
Posted: Sunday 20 January 2019 17:38
by tjabas
Hi!
im about to make an viritual sensor, i have managed to make it but now i need to attach this text to the sensor: --
http://127.0.0.1:8080/json.htm?type=cre ... ortype=248
how do i do that?
Re: how to make an viritual sensor?
Posted: Sunday 20 January 2019 18:29
by Delta78
Hello, have you try
Code: Select all
http://127.0.0.1:8080/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=YOUR_TEXT
It's a text sensor ?
Re: how to make an viritual sensor?
Posted: Sunday 20 January 2019 18:48
by tjabas
Delta78 wrote: ↑Sunday 20 January 2019 18:29
Hello, have you try
Code: Select all
http://127.0.0.1:8080/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=YOUR_TEXT
It's a text sensor ?
yes its a text sensor, but i cant figure out where to put the text.
Re: how to make an viritual sensor?
Posted: Sunday 20 January 2019 18:56
by Delta78
Put the text instead of "your_text", but take care at encoding.