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

Moderator: leecollings

Post Reply
User avatar
Domoberry
Posts: 126
Joined: Tuesday 30 May 2017 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

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

Post 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!
User avatar
Domoberry
Posts: 126
Joined: Tuesday 30 May 2017 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

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

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest