Closed optiz0r closed 4 years ago
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:
gas
meter_type
1
volume_correction_factor
1.02264
calorific_value
40
Fixes #8 (hopefully)
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
(default1
for backward compatibility) Enables unit conversion from m3 to kWh before reporting metrics to influxdbvolume_correction_factor
(default1.02264
)calorific_value
(default40
)Fixes #8 (hopefully)