Sonoff POW rule trigger for Current / Power
Posted: 23 Dec 2018, 01:06
I try to use a Sonoff POW (R2 v1.0 with mega-20180826) for failure monitoring of a drainage pump. The pump is allways voltage supplied and switches itself on/off dependend on the water level. If the pump is working the Sonoff recognize the used current and even calculates the energy but I don't manage to use this for triggering a command like:
On Pumpe#Current>0 do ...
If I use an other device from my list everything works fine e.g.:
On Button#pressed>0 do ...
My settings for devices are:
Task: 1
Enabled: ✔
Device: Energy (AC) - CSE7766 [TESTING]
Name: Pumpe
GPIO:
Values: Voltage: 239.15 Power: 36.90 Current: 0.16 Pulses: 12577.00
Task: 2
Enabled: ✔
Device: Switch input - Switch
Name: Button
GPIO: GPIO-0
Values: pressed: 1
Might this be somehow connected to the selected device type for current measurement 'Energy (AC) - CSE7766 [TESTING]'?
Any suggestions?
On Pumpe#Current>0 do ...
If I use an other device from my list everything works fine e.g.:
On Button#pressed>0 do ...
My settings for devices are:
Task: 1
Enabled: ✔
Device: Energy (AC) - CSE7766 [TESTING]
Name: Pumpe
GPIO:
Values: Voltage: 239.15 Power: 36.90 Current: 0.16 Pulses: 12577.00
Task: 2
Enabled: ✔
Device: Switch input - Switch
Name: Button
GPIO: GPIO-0
Values: pressed: 1
Might this be somehow connected to the selected device type for current measurement 'Energy (AC) - CSE7766 [TESTING]'?
Any suggestions?