Releases: woopstar/hsem
v1.0.1
v1.0.0
Changes
This update transitions all energy sensors to Home Assistant, ensuring data persistence across reboots.
The new sensor architecture is structured as follows:
- Power Sensor: Measures total power consumption, including EV charging.
- Integral Sensor: Converts power (W) to energy (kWh) by applying a Left Riemann Sum, creating a continuous energy reading.
- Utility Meter: Aggregates the integral sensor’s energy data into a daily cycle, enabling daily consumption tracking.
- 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
Full Changelog: v0.2.6...v1.0.0
v0.2.6
v0.2.5
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
Changes
🧰 Maintenance
- #15 add: created initial doc for each file and corrected a few danish comments @heinoskov
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.11
Changes
- #6 fix: Unexpected sensor states @heinoskov
What's Changed
- fix: Unexpected sensor states by @heinoskov in #6
New Contributors
- @heinoskov made their first contribution in #6
Full Changelog: v0.1.10...v0.1.11