Commit Graph

3 Commits

Author SHA1 Message Date
Ben Roberts
e8a946a68b Handle unit conversion for SMETS2 gas meters
SMETS2 gas meter consumption is measured in m3 rather than kWh, so conversion
from one unit to the other is required.
Algorithm and description of terms is taken from:
https://www.theenergyshop.com/guides/how-to-convert-gas-units-to-kwh

This commit adds additional config file options to the `gas` section:
- `meter_type` (default `1` for backward compatibility)
  Enables unit conversion from m3 to kWh before reporting metrics to influxdb
- `volume_correction_factor` (default `1.02264`)
- `calorific_value` (default `40`)
2020-08-31 14:06:01 +01:00
Stephen Newey
a477721259 Add Agile costs 2018-11-18 13:06:52 +00:00
Stephen Newey
39637c7d39 Effective unit costs 2018-11-11 10:06:59 +00:00