volkszaehler.org
volkszaehler.org copied to clipboard
Virtualsensor with hourly Price (e.g. Tibber)
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?