Skip to content

Releases: woopstar/hsem

v1.0.1

15 Nov 09:15
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

v1.0.0

15 Nov 08:23
Compare
Choose a tag to compare

Changes

This update transitions all energy sensors to Home Assistant, ensuring data persistence across reboots.

The new sensor architecture is structured as follows:

  1. Power Sensor: Measures total power consumption, including EV charging.
  2. Integral Sensor: Converts power (W) to energy (kWh) by applying a Left Riemann Sum, creating a continuous energy reading.
  3. Utility Meter: Aggregates the integral sensor’s energy data into a daily cycle, enabling daily consumption tracking.
  4. Average Sensors: Four sensors calculate rolling averages over 1, 3, 7, and 14 days based on daily consumption data.
    These averages estimate hourly consumption, factoring in net consumption projections by accounting for PV surplus predictions from Solcast for each specific hour.

I also cleaned up the working sensor code and will continue to do so.

⚒️ Breaking Changes

  • #26 fix: Migrate Energy Sensors to HA with Daily and Multi-Day Averages @woopstar

Full Changelog: v0.2.6...v1.0.0

v0.2.6

13 Nov 12:38
Compare
Choose a tag to compare

This will change all the average sensors to use the built-in Home Assistant Statistics sensors. This prevents us from losing data upon HA reboot.

Changes

  • #20 fix: minor cleanup fixes @woopstar
  • #22 fix: use home assistant build in statistics sensors for energy avg @woopstar

v0.2.5

11 Nov 16:24
Compare
Choose a tag to compare

Changes

This PR will introduce a new feature: during the winter months, the battery will charge to AC Grid Cutoff Soc at the cheapest hours available. It will do so between 00 and 06 and between 10 and 17.

It also introduces two new sensors to be configured during the config flow, so re-configure the sensor when updating.

I have updated the sensor to only update every minute instead of state changes from the various input sensors.

The DEFAULT_HSEM_DEFAULT_TOU_MODES also changed not to include charge hours.

The state for the Working Mode sensor has been updated to include the current recommendation. The recommendations can be:

  • TimeOfUse: Represents the "time_of_use_luna2000" working mode.
  • MaximizeSelfConsumption: Represents the "maximise_self_consumption" working mode.
  • FullyFedToGrid: Represents the "fully_fed_to_grid" working mode.
  • ForceBatteriesCharge: Represents a mode to "force_batteries_charge".
  • ForceBatteriesDischarge: Represents a mode to "force_batteries_discharge".
  • EVSmartCharging: Represents a mode to enable "ev_smart_charging".
  • ForceExport: Represents a mode to "force_export" energy to the grid.

Please report any bugs in Github.

Next up on the roadmap is:

  • Fix energy sensors that still have some issues
  • Work on the calculations for the expected PV surplus from Solcast and Energy Sensors.
  • Calculate the price difference to check for enough difference to force the battery to charge in the winter months.

🚀 Features

v0.2.4

21 Oct 18:15
20bde99
Compare
Choose a tag to compare

Changes

🧰 Maintenance

  • #15 add: created initial doc for each file and corrected a few danish comments @heinoskov

v0.2.3

18 Oct 12:13
f240603
Compare
Choose a tag to compare

Changes

v0.2.2

18 Oct 12:04
e5d8b13
Compare
Choose a tag to compare

Changes

v0.2.1

18 Oct 09:52
Compare
Choose a tag to compare

Changes

v0.2.0

18 Oct 08:52
Compare
Choose a tag to compare

Changes

⚒️ Breaking Changes

  • #7 fix: remove binary_sensor and fix working_mode_sensor @woopstar

v0.1.11

18 Oct 07:07
Compare
Choose a tag to compare

Changes

What's Changed

New Contributors

Full Changelog: v0.1.10...v0.1.11