Hello folks, i want my wall plug to shut down at night when all my equipment is in standby. The TV receiver media player and everything is after the wall plug. I use the following blocky: see attachment.
I want if its less than 110 kWat to shutdown, that means no apparatus is online, and everything is in standby.
But it doesn't work, can anyone help me?
blocky smart wall plug
Moderator: leecollings
blocky smart wall plug
- Attachments
-
- Schermafbeelding 2017-02-20 om 17.16.56.png (230.71 KiB) Viewed 1004 times
-
- Posts: 135
- Joined: Friday 02 January 2015 9:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: blocky smart wall plug
Domoticz and time is something you have to know how it works
Domoticz sees a day from 0:00h till 24:00h. This means when you want to switch something between 2 times (mind you... sunset and sunrise are also times) and midnight is in between those 2 times, you have to use 'OR' in stead of 'AND'. Because it can NEVER be after 22:30h AND before 9:00h on the same day.
When you choose a time slot on the same day, you'll have to use 'and' (EG: [Time >= 22:30] and [Time <= 23:55])
So to make your blockly work, change the 'and' between those times in 'or' and it'll work like a charm.
Domoticz sees a day from 0:00h till 24:00h. This means when you want to switch something between 2 times (mind you... sunset and sunrise are also times) and midnight is in between those 2 times, you have to use 'OR' in stead of 'AND'. Because it can NEVER be after 22:30h AND before 9:00h on the same day.
When you choose a time slot on the same day, you'll have to use 'and' (EG: [Time >= 22:30] and [Time <= 23:55])
So to make your blockly work, change the 'and' between those times in 'or' and it'll work like a charm.
Re: blocky smart wall plug
aaaah thanks a lot! i will test it tonight!
-
- Posts: 135
- Joined: Friday 02 January 2015 9:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: blocky smart wall plug
I'll only add the 'Slimme Stekker' to the if-statement to prevent retriggering (check your log when this condition is met... it'll be flooded)
so you'll get something like:
This way it'll only trigger once
so you'll get something like:
Code: Select all
If [[Time >= 22:30] or [Time <= 09:00]] and [Slimme Stekker actual <= 110] and [Slimme Stekker = On]
Do [Set [Slimme Stekker = Off]]
Re: blocky smart wall plug
Uhm i cant see wat you mean? No picture is showing, you are right now iTS flooded
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
-
- Posts: 135
- Joined: Friday 02 January 2015 9:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: blocky smart wall plug
I didn't add a picture, I wrote a blockly in text
Who is online
Users browsing this forum: No registered users and 0 guests