Script energy used today  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
steef27
Posts: 30
Joined: Friday 26 August 2016 9:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Script energy used today  [Solved]

Post by steef27 »

hi,

I am looking for a script which enables me monitoring the electric energy I used today.
I have connected my P1 smart meter to Domoticz so I can read every 10 seconds my usage and delivery. But, I am also producing my own solar energy. The solar panels are also connected to Domoticz and I receive every 10 minutes the current and total production.

I am looking for a script that calculates:
Solar power (CounterToday) - Energy delivered (CounterDelivToday) + Energy used (CounterToday)

Does anyone have a suggestion?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Script energy used today

Post by waaren »

steef27 wrote: Sunday 16 June 2019 22:11 I am looking for a script that calculates:
Solar power (CounterToday) - Energy delivered (CounterDelivToday) + Energy used (CounterToday)
what is the domoticz device type you use for your Solar Power ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest