"If watts" dont work? (blockly)

Moderator: leecollings

Post Reply
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

"If watts" dont work? (blockly)

Post by Evelen »

Ok.

Why don't this work?
IF watt-utilety < 5
Set dummy-button = on


when the watts is above 5 nothing happening, when the watts is under 5 nothing happening.
why?

This is shat I want to do:

If the watts is above a value (5) a dummy should go to "on"
When det watt is under a value (4) for 10 minutes set dummy to "off".

Is this posible?
Attachments
Uten navn.png
Uten navn.png (23.21 KiB) Viewed 1830 times
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: "If watts" dont work? (blockly)

Post by Derik »

please share the print of the blockley..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: "If watts" dont work? (blockly)

Post by Evelen »

Here it is:
Uten navn.png
Uten navn.png (14.92 KiB) Viewed 1814 times
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: "If watts" dont work? (blockly)

Post by Derik »

u have to use mutiple options with this type of blockley. [ use the other or make more blockleys with the button ]
Then you have check in your blockley, if vaskemaskin = off ,after x you want, set vaskemaskin on
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: "If watts" dont work? (blockly)

Post by Evelen »

ohh, okey, worked (Y)

now, how do i set "if watts is below 4 for 10 minutes"
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: "If watts" dont work? (blockly)

Post by Derik »

Evelen wrote:ohh, okey, worked (Y)

now, how do i set "if watts is below 4 for 10 minutes"
Unfortunly not possible with a blockley
Hope this option will be available sometime...

Perhaps you can make a dummy switch that is counting ...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: "If watts" dont work? (blockly)

Post by Evelen »

hmmm.
maybe this will work?
Uten navn.png
Uten navn.png (56.43 KiB) Viewed 1714 times
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: "If watts" dont work? (blockly)

Post by Derik »

Evelen wrote:hmmm.
maybe this will work?

Uten navn.png
I hope

Let me now...
I need some counters in blockley to..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: "If watts" dont work? (blockly)

Post by Evelen »

I will.
don't work yet: viewtopic.php?f=6&t=13499
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: "If watts" dont work? (blockly)

Post by Evelen »

Evelen wrote:I will.
don't work yet: viewtopic.php?f=6&t=13499
^ this is now fixed after update to newest beta.

Now, this turn on the dummy at 300W+, but never turns it down, the variable is set to "not_running", but the dummy (vaskemaskin) is still on and never goes off
Uten navn.png
Uten navn.png (43.22 KiB) Viewed 1643 times
booster
Posts: 34
Joined: Wednesday 10 December 2014 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Rijssen, The Netherlands
Contact:

Re: "If watts" dont work? (blockly)

Post by booster »

changing a uservariable via an event will not trigger the eventsystem, therefore your latest else-if will not occur.
But why using a user variable at all? (I dont see its benefit from your blockly)
why not switching Vaskemaskin itself off after 120 secs?
Connected to:
-Pi3; Aeon Labs Z-Stick; Fibaro Switches, Roller Shutter and Motion Sensors; Qubino Dimmers; P1 Port + Youless, MiLight; HUE Bridge; Forest shuttle Z-Wave; RFLink + KAKU; Voltcraft CO20; Everspring floodsensors; GreenWave PN-6; NEO Sensors
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest