LogicMachine Forum
Monthly energy report from a KNX energy meter + trend chart - Printable Version

+- LogicMachine 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: Monthly energy report from a KNX energy meter + trend chart (/showthread.php?tid=6229)



Monthly energy report from a KNX energy meter + trend chart - anve - 26.12.2025

I have a KNX power meter sending the kWh consumtion, and I would like to:

- Receive a monthly report showing how much energy the meter measured during each month
- Generate the report automatically on the 1st of every month
- Store the monthly values for historical tracking
- Display the month-by-month consumption in a chart (bar or line chart)

What is the recommended way in LogicMachine to:
• store monthly energy data
• generate the monthly report
• visualize the data as a diagram (built-in or external solution)?

Any guidance or examples would be greatly appreciated


Skickat från min iPhone med Tapatalk


RE: Monthly energy report from a KNX energy meter + trend chart - admin - 29.12.2025

Create a trend log with mode set to counter. Trends Lua API: https://kb.logicmachine.net/libraries/trends/
Search the forum, there are examples of how to export the data from trends.