Page 1 of 1
blocky smart wall plug
Posted: Monday 20 February 2017 17:19
by fiscvs
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?
Re: blocky smart wall plug
Posted: Monday 20 February 2017 17:41
by tozzke
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.
Re: blocky smart wall plug
Posted: Monday 20 February 2017 17:45
by fiscvs
aaaah thanks a lot! i will test it tonight!
Re: blocky smart wall plug
Posted: Monday 20 February 2017 21:39
by tozzke
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:
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]]
This way it'll only trigger once
Re: blocky smart wall plug
Posted: Tuesday 21 February 2017 13:05
by fiscvs
Uhm i cant see wat you mean? No picture is showing, you are right now iTS flooded
Verzonden vanaf mijn iPhone met Tapatalk
Re: blocky smart wall plug
Posted: Tuesday 21 February 2017 23:03
by tozzke
I didn't add a picture, I wrote a blockly in text