blocky smart wall plug

Moderator: leecollings

Post Reply
fiscvs
Posts: 6
Joined: Wednesday 16 November 2016 7:08
Target OS: -
Domoticz version:
Contact:

blocky smart wall plug

Post 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?
Attachments
Schermafbeelding 2017-02-20 om 17.16.56.png
Schermafbeelding 2017-02-20 om 17.16.56.png (230.71 KiB) Viewed 1005 times
tozzke
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

Post 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.
fiscvs
Posts: 6
Joined: Wednesday 16 November 2016 7:08
Target OS: -
Domoticz version:
Contact:

Re: blocky smart wall plug

Post by fiscvs »

aaaah thanks a lot! i will test it tonight!
tozzke
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

Post 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
fiscvs
Posts: 6
Joined: Wednesday 16 November 2016 7:08
Target OS: -
Domoticz version:
Contact:

Re: blocky smart wall plug

Post 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
tozzke
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

Post by tozzke »

I didn't add a picture, I wrote a blockly in text
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests