My gold was to work as a "push" system.
In my CSE settings, I have put 0 (zero) in "Interval" field.
I was thinking than a trigger was coming when a value is changing (like the "Generic system info" with the RSSI or UPTIME).
It was a mistake.
When I put for instance 10 (seconds) in this "Interval" field, I receive the events:
Code: Select all
Aug 30 22:42:33 POW EspEasy: EVENT: POW#Voltage=233.91
Aug 30 22:42:33 POW EspEasy: EVENT: POW#Power=0.00
Aug 30 22:42:33 POW EspEasy: EVENT: POW#Current=0.00
Aug 30 22:42:33 POW EspEasy: EVENT: POW#Pulses=1.79
Aug 30 22:42:49 POW EspEasy: WD : Uptime 80 ConnectFailures 0 FreeMem 14672
Aug 30 22:43:17 POW EspEasy: SYS : -72.00
Aug 30 22:43:17 POW EspEasy: EVENT: WIFI#RSSI=-72.00
Aug 30 22:43:17 POW EspEasy: SYS : 80.00
Aug 30 22:43:17 POW EspEasy: EVENT: SONOFF#Uptime=80.00
Aug 30 22:43:17 POW EspEasy: Domoticz: Sensortype: 1 idx: 83 values: 80.00
Aug 30 22:43:19 POW EspEasy: WD : Uptime 80 ConnectFailures 0 FreeMem 14672
Aug 30 22:43:33 POW EspEasy: EVENT: POW#Voltage=234.20
Aug 30 22:43:33 POW EspEasy: EVENT: POW#Power=0.00
Aug 30 22:43:33 POW EspEasy: EVENT: POW#Current=0.00
Aug 30 22:43:33 POW EspEasy: EVENT: POW#Pulses=1.79
Every 10 second, I request the CSE chip to refresh all values.
So now I understand why you are using dummy device in your POW.
The goal is to store in the ESP the last value, to only send HTTP when a value is changing.
So you recreate a "push" system through a "pull" config in the ESP...