volkszaehler.org icon indicating copy to clipboard operation
volkszaehler.org copied to clipboard

Virtualsensor with hourly Price (e.g. Tibber)

Open Thmas47051 opened this issue 2 years ago • 2 comments

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?

Thmas47051 avatar Jan 26 '23 14:01 Thmas47051