Page 1 of 1

How to use 'returned' Smart Meter power in a script

Posted: Monday 05 June 2017 11:31
by Domoberry
Hi Forum,
I have the Smart Meter P1 USB hardware setup and it's working ok (Domoticz Version: 3.5877).
I'm using in a Blockly script "power.actual > 1000" to check if I'm consuming more than 1000 watt at that time. It works OK.
How could I use the returning power in a similar Blockly statement?
(This is a part of another question I posted in the Blockly section of the forum)
Thanks for any tips!

Re: How to use 'returned' Smart Meter power in a script

Posted: Wednesday 14 June 2017 22:51
by Domoberry
Hi Forum,
My careful conclusion is that at the moment Blockly does not yet provide direct access to the P1 Smart Meter value 'Returning power'.
I'm now using a Lua script to get to this value and that works fine and got suggestion on how to improve this (see other post).
Thanks Forum!