EnergyLogger Overview
EnergyLogger collects consumption data from configured electricity, heat, and water meters connected through approved driver profiles.
A connected VikMote controller reads the attached meters and creates log sessions for each enabled driver profile with a valid slot assignment and logging interval.
What The System Logs
The logging flow is built around meter totals and session-based delta reporting.
- The latest total meter value from the connected meter
- The consumed delta between log rows while the session is active
- The active customer or service context for the session
If no customer or service account is available for the session, EnergyLogger uses the built-in System account.
Logging Flow
When logging is enabled, EnergyLogger moves through a defined row sequence for each driver profile.
- A first row is created when logging starts
- Interval rows are created while the session remains active
- A last row is created when logging stops, the driver is disabled, or the active assignment changes
The logging interval comes from the assigned driver profile.
- 1: Hourly logging
- 2: 24-hour cycle
Trigger Conditions
EnergyLogger can trigger logging activity when meter data, runtime state, or assignment data changes.
- New meter data is received
- A connected meter changes between online and offline status
- The active customer or service assignment changes
- The active start or stop period changes
Data Validation
EnergyLogger validates incoming meter data before it is written to the log flow.
- Negative meter values are checked against the runtime limits for the active meter family
- Lower counter values are handled as a changed or reset meter state and create a new log transition instead of silently continuing the previous sequence
When the runtime detects invalid or changed data, the system can generate a status or message event for follow-up.
Minimum Logged Consumption
The shared driver constants define minimum rounded usage values for logged consumption.
- Electricity: 100 Watt
- Heat: 100 Watt
- Water: 1 liter
Timestamp Handling
The logger writes start, running, and stop rows with corrected timestamps. Runtime timestamp correction can round log rows by up to 10 seconds so aligned records can be stored with clean period boundaries.
Business Use
The resulting log rows can be transferred to connected systems for follow-up, documentation, and billing-related workflows.