volkszaehler / volkszaehler.org

Open Source Smart Meter with focus on privacy - you remain the master of your data.
https://volkszaehler.org
GNU General Public License v3.0
209 stars 83 forks source link

Virtualsensor with hourly Price (e.g. Tibber) #923

Open Thmas47051 opened 1 year ago

Thmas47051 commented 1 year ago

How to configure a virtual sensor to calculate the costs in a specific time? Like Power Consumption does. I made a virtual sensor with val(in1)*val(in2) with in1=Power and in2=Price per kWh The total consumtion (total price expected) is not calculated as expected. any hints? Example: https://www.photovoltaikforum.com/thread/191811-verst%C3%A4ndnisfrage-dynamischer-strompreis/?postID=2956600#post2956600 in VirtualInterpreter.php/generateData evaluates the formula, multiplied by the time, so i would expext the cumulated cost. An hints?

frankrichter commented 1 year ago

Loggst du den Preis nur 1 x pro Stunde? Wahrscheinlich berechnet die Middleware dann mindestens ein Intervall von 1 h bzw. Vielfache davon.

Thmas47051 @.***> schrieb am Do., 26. Jan. 2023, 15:54:

How to configure a virtual sensor to calculate the costs in a specific time? Like Power Consumption does. I made a virtual sensor with val(in1)*val(in2) with in1=Power and in2=Price per kWh The total consumtion (total price expected) is not calculated as expected. any hints? Example: https://www.photovoltaikforum.com/thread/191811-verst%C3%A4ndnisfrage-dynamischer-strompreis/?postID=2956600#post2956600 in VirtualInterpreter.php/generateData evaluates the formula, multiplied by the time, so i would expext the cumulated cost. An hints?

— Reply to this email directly, view it on GitHub https://github.com/volkszaehler/volkszaehler.org/issues/923, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE5P6BSICBFSASYF7QTP43WUKF23ANCNFSM6AAAAAAUHS5WDU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thmas47051 commented 1 year ago

habe für heute minütlich die Preise gepusht - keine Änderung. Merkwürdig: wenn ich als Formel nur val(in1) eingebe (aktuelle Leistung Haus), würde ich erwarten, dass der virtuelle Kanal exakt dem Kanal folgt. Es kommt aber nur Unsinn heraus.