how to make an viritual sensor?

Moderator: leecollings

Post Reply
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

how to make an viritual sensor?

Post 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?
Delta78
Posts: 9
Joined: Sunday 30 December 2018 17:23
Target OS: -
Domoticz version:
Contact:

Re: how to make an viritual sensor?

Post by Delta78 »

Hello, have you try

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=YOUR_TEXT
It's a text sensor ?
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: how to make an viritual sensor?

Post 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&param=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.
Delta78
Posts: 9
Joined: Sunday 30 December 2018 17:23
Target OS: -
Domoticz version:
Contact:

Re: how to make an viritual sensor?

Post by Delta78 »

Put the text instead of "your_text", but take care at encoding.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest