I need a script (blockly preferred) to turn off a wall plug when the device connected is under a specific watt value for 30 minutes. The device is standby when using 5 watt, when it is active it's using more than 700 watt. So when it's reaching 700 watt within 30 minutes the 30 minutes counter should be cleared, and when it's not reaching this value again within 30 minutes it should turn off.
Can someone please help me?!
Need a script to turn off device when under specific watt value
Moderator: leecollings
-
- Posts: 2
- Joined: Wednesday 30 January 2019 22:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 109
- Joined: Tuesday 02 October 2018 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Need a script to turn off device when under specific watt value
What did you try already? What kind of script do you want? Blocky Dzvents, Lua?
-
- Posts: 230
- Joined: Friday 03 April 2015 20:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany (near dutch border)
- Contact:
Re: Need a script to turn off device when under specific watt value
I have something like that in Lua, be more specific in your question.
Regards,Hans
Regards,Hans
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Need a script to turn off device when under specific watt value
Hans, I think you could use this as a start ? (Garage Door ( blocky won't be able doing this I believe ))
https://www.domoticz.com/wiki/Event_script_examples
test on how to retrieve the consumed power, then test how to switch off.
And most of all, how will it be on again?
https://www.domoticz.com/wiki/Event_script_examples
test on how to retrieve the consumed power, then test how to switch off.
And most of all, how will it be on again?
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Need a script to turn off device when under specific watt value
Hi, maybe this will help you getting started: https://www.domoticz.com/forum/viewtopi ... 72#p164572
-
- Posts: 109
- Joined: Tuesday 02 October 2018 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Need a script to turn off device when under specific watt value
Sorry I see you prefer blocky, maybe this one helps?
https://www.domoticz.com/forum/viewtopi ... 96#p225737
https://www.domoticz.com/forum/viewtopi ... 96#p225737
Who is online
Users browsing this forum: No registered users and 1 guest