Hi,
Is there a way to create a dummy device on the EASY ESP and populate it with data from a Domoticz system?
Here's what I want to do:
I have an ESP8266 dev module with an OLED screen and I want to grab the electric utilization data from the sensor on the Domoticz controller (say idx 68) and put its value into the dummy device on the ESP8266.
I then want to display the value from the dummy device on the OLED screen so that I can see the electric usage data on the OLED.
Is this possible?
Populate dummy device with Domoticz data
Moderators: grovkillen, Stuntteam, TD-er
Re: Populate dummy device with Domoticz data
Yes, there is a dummy device that will hold up to 4 values.
I use this in Domoticz to update the setpoint value -
url = 'curl -m 5 "http://sonoff-1/control?cmd=event,Setpo ... herdevices['Cylinder setpoint']..'"'
assert(io.popen(url))
and an ESPeasy rule to update the 1st value of task 6 (device) -
on Setpoint do
TaskValueSet 6,1,%eventvalue%
endon
I use this in Domoticz to update the setpoint value -
url = 'curl -m 5 "http://sonoff-1/control?cmd=event,Setpo ... herdevices['Cylinder setpoint']..'"'
assert(io.popen(url))
and an ESPeasy rule to update the 1st value of task 6 (device) -
on Setpoint do
TaskValueSet 6,1,%eventvalue%
endon
Domoticz, Sonoff, ESP32
Who is online
Users browsing this forum: Google [Bot] and 13 guests