I have Domoticz instance with many remote sensors connected to nodeMCU. Some sensors are 100 km or more, connected to Domoticz via routers equipped with OpenVPN (because of security reasons).. I have to display temperature taken from one such distant sensor on LED display connected to other distant nodeMCU.
How can I obtain value of temperature from Domoticz an place it in for example dummy sensor?
Reading data from Domoticz to nodeMCU
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 534
- Joined: 07 Jun 2018, 06:47
- Location: Gdynia/Poland
Re: Reading data from Domoticz to nodeMCU
Reading data from dummy sensor in domoticz is not so easy. You have to create your own lua/dzEvents script and trigger it.
Even domoticz remote server can't pass dummy data.
Even domoticz remote server can't pass dummy data.
-
- Normal user
- Posts: 534
- Joined: 07 Jun 2018, 06:47
- Location: Gdynia/Poland
Re: Reading data from Domoticz to nodeMCU
Maybe I described my problem in wron way. I want to write value taken FROM Domoticz physical sensor TO dummy sensor in nodeMCU. Does not matter if connection for such operation will be initiated by nodeMCU or Domoticz. Is it possible?
Re: Reading data from Domoticz to nodeMCU
If the sensor has an IP address, and Domoticz can reach it's port 80, you can use %eventvalue% parameter to send a value from Domoticz (for example through LUA OpenURL) to a Dummy, for example:mackowiakp wrote: ↑03 Dec 2018, 19:50 Maybe I described my problem in wron way. I want to write value taken FROM Domoticz physical sensor TO dummy sensor in nodeMCU. Does not matter if connection for such operation will be initiated by nodeMCU or Domoticz. Is it possible?
https://www.letscontrolit.com/forum/vie ... 683#p20141
Who is online
Users browsing this forum: Bing [Bot] and 1 guest