Skip to content

Releases: weltmeyer/ha_sonnenbatterie

v2025.01.03

24 Jan 16:59
3d275d9
Compare
Choose a tag to compare

Changes include:

  • Add number service to set battery reserve, closes #80
  • Change input type for charge/discharge actions to str, closes #78
  • Add trivial check for negative values to dis-/charge actions
  • Fix some minor formatting errors in the actions section
  • Updated description for actions, added explanation for device_id
  • Updated README with more detailed installation instructions

v2025.01.02

15 Jan 14:50
a76943f
Compare
Choose a tag to compare

Selects! Numbers! Buttons! ... and more ;)

Selects, Numbers and Buttons

You'll now get some new inputs that are shown with the device under the "Configuration" section:

  • a "select" entity to switch the operating mode between "manual", "automatic" and "timeofuse" (yes, "expansion" is
    excluded on purpose)

  • two sliders to set the "charge" or "discharge" power of in W.

  • three buttons to reset either "charge" or "discharge" or both to 0W

    Bildschirmfoto 2025-01-11 um 01 33 48

Note

When using the sliders, buttons and the selector all changes will be sent to the SonnenBatterie immediately.

Fixes and Goodies

  • Found and fixed a bug that caused "production_w" (legacy sensor name, new name is "state_prodcution") to not show up in the sensor list under a recognizable name. It was caused by the translation entry being named "state_poduction_w" instead of "state_production". This fix might also fix the problem reported by in #65

  • Added some more icons to various sensors, hope you like it

  • Added more information to the device info shown on the device screen

    Bildschirmfoto 2025-01-11 um 01 34 42

v2025.01.01

01 Jan 16:02
aa7e236
Compare
Choose a tag to compare

Actions!

Warning

This version of the integration needs python_sonnenbatterie >= 0.5.0 (see this PR)

This is the first version of the integration to provide user facing
actions. Currently supported actions are:

  • get_operating_mode()
  • set_operating_mode(mode=<mode>)
  • charge_battery(power=<power>)
  • discharge_battery(power=<power>)
  • get_battery_reserve()
  • set_battery_reserve(value=<value>)
  • set_config_item(item=<item>, value=<value>)
  • get_tou_schedule()
  • set_tou_schedule(schedule=<schedule_array>)

v2024.12.02

27 Dec 12:04
f720162
Compare
Choose a tag to compare

v2024.12.02

  • Fix reconfigure flow for existing installations

v2024.12.01

  • Make sure the default scan interval is honored even if not set by user
  • Make sure old values aren't overwritten in case of connection error (fixes #70)
  • Be lenient to connection errors for ~3 mins (Sonnenbatterie maintenance interval)
  • Fix minor oversight in sensor_list.py
  • Silence/fix some PEP hints from IDE
  • Update version, require sonnenbatterie >= 0.3.0
  • Moved "options" to basic configuration
    • scan_interval and debug_mode can now be set under the (...) menu
      using the "Reconfigure" option
  • Made configuration editable by providing async_setup_reconfigure function (see above)
  • Added serial number to device in integration overview
  • Disabled OptionsFlowHandler class since there are no more options ;)
  • Disabled some functions that were never called
  • Reworked config reload to be compatible with HA 2025.1 onward (fixes #69)
  • Added/removed translations where appropriate
  • Removed unused constants
  • Fixed a bug that caused the sensors to be read every second thereby causing unnecessary load
  • Updated README