Hi,
After having the steep learning curve of dzVents it's much easier for me to use than LUA.
But now I faced a triggercondition I dont' have a solution for.
The P1 gives among others also Volt-value.
I have a server running supplied by UPS. But I need to stop the server in a proper way if power mains fails as the UPS is about 20 minutes in service after power failure.
I expected to use L1 < 200V to be sufficient to trigger a notification but it appears that for whatever reason it happens to get a voltdrop to about 35V several times a day.
Now I could set the trigger to L1 < 30V. This will work fine but imho it's better to get a notification if voltage is below e.g. 200V for longer than 1 minute.
How can such a ytrigger be programmed (if possible).
Thanks for your thoughts.
-Bart
notification if voltage drops below xx Volt for more than yy seconds
Moderator: leecollings
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
notification if voltage drops below xx Volt for more than yy seconds
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 5852
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: notification if voltage drops below xx Volt for more than yy seconds
You can use the history function of dzvents. Store the voltage in an history array and do some avarage calculations on that. Then act on that.
See for example viewtopic.php?t=38305
See for example viewtopic.php?t=38305
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest