CHANGELOG s0meters.py
2022-11-17
- fix historic data calculation (until now this was only 'yesterday') did not change to the real "new yesterday" after date rollover
- add historic data and cost calculation: this week, last week, this month, last month, this year, last year, since last bill
- changed file log storage structure - now uses subfolders for year/month
- minor improvements
2022-11-16
- fix cost calculation when
cost_from_conv: False
is configured
2022-11-16
- added unit conversion so that on a gas meter (which measures m³) the usage can directly be displayed in kWh (only for MQTT output)
- added basic cost today/yesterday calculation (only for MQTT output)