CHANGELOG s0meters.py
2023-09-09
- add readingType option in meters config YAML - used as topic name in MQTT output if defined, otherwise subtopic name = "reading"
2023-01-03
- fix issue in lastyearlastweek calculation - used code not working on Python < 3.9 (3.7.3 is the "current" version on Raspberry Pi OS Buster)
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)