Logic Machine Forum
Used electricity metering - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Used electricity metering (/showthread.php?tid=3700)



Used electricity metering - sashhun - 22.11.2021

Good afternoon. I have a task to record the readings of the electricity consumed every day, during the week and during the month, and according to this data, display the amount in euros for the electricity used. Can anyone advise how this can be done, the obtained values should be displayed in a mosaic, by day, weekly, monthly? The trend log stores the value once an hour.
I receive parameters via ModBus to virtual group addresses.
   


RE: Used electricity metering - Daniel - 22.11.2021

Use trends and then fetch the data by using this https://openrb.com/docs/trends-new.htm
then calculate your euros in script.


RE: Used electricity metering - sashhun - 22.11.2021

Thanks. I will try.