possible to use watts from a device ( utility ) in blockly?

Moderator: leecollings

Post Reply
sion
Posts: 113
Joined: Friday 08 January 2016 12:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

possible to use watts from a device ( utility ) in blockly?

Post by sion »

Hi, i have a remote switch which measures power consumption.
is it possible to use the watts that i can see in utilitys in blockly ?

so i could switch a virtual switch when the watts is <300 for example?
eg,
if [ tumble_usage < 300 ]
set [ another_switch] = on

or would this need to be done in lua, or dzvents.

thanks.
Sion.
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.

Next: harmony hub.
elmortero
Posts: 248
Joined: Sunday 29 November 2015 20:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9639
Location: Spain
Contact:

Re: possible to use watts from a device ( utility ) in blockly?

Post by elmortero »

Haven't used Blockly in a long time so I had to test, but yes, it is possible:
block.JPG
block.JPG (19.92 KiB) Viewed 782 times
sion
Posts: 113
Joined: Friday 08 January 2016 12:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: possible to use watts from a device ( utility ) in blockly?

Post by sion »

Awesome.
Thanks for this.
I don’t know why I didn’t see it :)
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.

Next: harmony hub.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest