I use the latest build on my ESP8266. I want to use an volue from another device.
I have an LDR on DEVICE 1 (Analog ADC (TOUT)) and I want the analog value available on another device without using Domoticz. What did I do already: Created an dummy device on DEVICE 2 and read the documentation for the JSON solution. The result is this command <http:// ip DEVICE 1/json?view=sensorupdate&tasknr=9 > . The browser shows this
TaskValues
0
ValueNumber 1
Name "Analog"
NrDecimals 0
Value 483
TTL 300000
TaskEnabled "true"
TaskNumber 9
How can I get the "Value" 483 in my Dummy device on the DEVICE 2 After the value changed on DEVICE 1.
Analog value available on another device
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 244
- Joined: 11 Feb 2018, 17:35
- Location: The Netherlands
-
- Normal user
- Posts: 4342
- Joined: 10 Jun 2018, 12:06
- Location: NL
Re: Analog value available on another device
The ESPEasy P2P Controller can be used for that: https://espeasy.readthedocs.io/en/lates ... #c013-page
It seems to describe exactly your scenario
It seems to describe exactly your scenario

/Ton (PayPal.me)
-
- Normal user
- Posts: 244
- Joined: 11 Feb 2018, 17:35
- Location: The Netherlands
Re: Analog value available on another device
Not exactly because I do not use the p2p solution. I use a Domoticz controler but in this particular project I want to insert the value of my analog LDR vaue on an other device. In some situations I do not want to depand on my Domoticz. If Domoticz is down al stops and I want to be prepared for this incident. It is also extra knowledge for the future.
-
- Normal user
- Posts: 4342
- Joined: 10 Jun 2018, 12:06
- Location: NL
Re: Analog value available on another device
That is a good reason to use the ESPEasy P2P network...Dick60 wrote: ↑10 Jan 2023, 22:23 Not exactly because I do not use the p2p solution. I use a Domoticz controler but in this particular project I want to insert the value of my analog LDR vaue on an other device. In some situations I do not want to depand on my Domoticz. If Domoticz is down al stops and I want to be prepared for this incident. It is also extra knowledge for the future.
/Ton (PayPal.me)
-
- Normal user
- Posts: 244
- Joined: 11 Feb 2018, 17:35
- Location: The Netherlands
Re: Analog value available on another device
It works great! That it was that easy I did not expect. Good documented!
Thanks for the support.
Thanks for the support.
-
- Normal user
- Posts: 4342
- Joined: 10 Jun 2018, 12:06
- Location: NL
Re: Analog value available on another device
It is called ESPEasy for a reason

/Ton (PayPal.me)
-
- Core team member
- Posts: 9921
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: Analog value available on another device
... but not easier than possible, meaning there still is some learning curve

-
- Normal user
- Posts: 244
- Joined: 11 Feb 2018, 17:35
- Location: The Netherlands
Re: Analog value available on another device
and I am working on that. 

Who is online
Users browsing this forum: Ahrefs [Bot], Anthropic Claude Bot [bot] and 20 guests