Skip to content

Releases: rjpearce/sofar2mqtt-python

v4.0.2

17 Mar 21:16
8bfea06

Choose a tag to compare

What's Changed

  • Me3000 qol by @rjpearce in #40
  • Add missing code for other merge

Full Changelog: v4.0.1...v4.0.2

v4.0.1

17 Mar 19:25
650826e

Choose a tag to compare

What's Changed

  • Update to python3.14-alpine3.23 to resolve vulnerabilities by @rjpearce in #43

Full Changelog: v4.0.0...v4.0.1

v4.0.0

17 Mar 19:04
69e9178

Choose a tag to compare

Very big thank you to @zulufoxtrot for his work to bring read-write capabilities to ME3000/HYD-ES inverters.

What's Changed

  • Support for ME3000SP desired battery charge/discharge power in passive mode.

Summary of changes:

json: added read flag. if true or absent: read it. if false: don't read it. needed for charge_discharge_power that is write only (as far as I can tell)
json: created new register: "battery power". uses read register 0x020d which was originally believed to contain charge_discharge_power.
l'll comment other changes in the code
Checks (serial number checks bypassed):

only works in passive mode ✅
positive value triggers a charge ✅
negative value triggers a discharge 💹
a zero value disconnects the battery (relay click) ✅
shows up correctly in Home Assistant ✅
battery power correctly reported ✅
Not working yet:

serial number 🛑 (and therefore the program can't start)
MQTT read is broken for charge_discharge_power for the ME3000SP: since we don't read the register (because we can't, as far as I know), we don't publish a topic for this register to MQTT, so it does not show up in Home Assistant, so we can't set it directly in HA. Workaround for now: create an Input Number, then an automation to publish the value of this number to the MQTT topic.

  • Bump urllib3 from 2.6.0 to 2.6.3 in the pip group across 1 directory by @dependabot[bot] in #41

Full Changelog: v3.1.1...v4.0.0

v3.1.1

29 Dec 01:32
be6e53c

Choose a tag to compare

What's Changed

  • Resolve vulnerabilities in base container by @rjpearce in #39

Full Changelog: v3.1.0...v3.1.1

v3.1.0

29 Dec 01:05
4d1cc2e

Choose a tag to compare

What's Changed

Full Changelog: v3.0.6...v3.1.0

v3.0.6

29 Dec 00:58
dcc63e7

Choose a tag to compare

What's Changed

  • Bump urllib3 from 2.5.0 to 2.6.0 in the pip group across 1 directory by @dependabot[bot] in #34
  • Use 0x0488 for Grid on EP by @rjpearce in #36

Full Changelog: v3.0.5...v3.0.6

v3.0.5 - Security updates

06 Sep 20:11
1336685

Choose a tag to compare

What's Changed

  • Attempt 2 to fix docker image version by @rjpearce in #23
  • Only create docker images for version and latest by @rjpearce in #24
  • Bump requests from 2.31.0 to 2.32.0 in the pip group across 1 directory by @dependabot[bot] in #25
  • Bump urllib3 from 1.26.18 to 1.26.19 in the pip group across 1 directory by @dependabot[bot] in #26
  • Bump certifi from 2023.7.22 to 2024.7.4 in the pip group across 1 directory by @dependabot[bot] in #27
  • Bump requests from 2.32.0 to 2.32.4 in the pip group across 1 directory by @dependabot[bot] in #30
  • Bump urllib3 from 1.26.19 to 2.5.0 in the pip group across 1 directory by @dependabot[bot] in #31
  • Bump Docker image to python:3.13.7-alpine3.2 by @rjpearce in #33

Full Changelog: v3.0.3...v3.0.5

3.0.4

28 Apr 14:16

Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...v3.0.4

3.0.2

27 Feb 16:23
503fe23

Choose a tag to compare

What's Changed

Full Changelog: 3.0.1...3.0.2

3.0.1

24 Feb 21:47
8d49934

Choose a tag to compare

  • Implemented MQTT auto discovery for home assistant - no more manual config!
  • Added a new refresh option for each register allowing some registers to be read more regularly (fresher) than other that are less important (i.e serial number)
  • Added registers for serial number, software version, hardware version.
  • The script now retains a local dict of data which is updated after reading registers for this iteration (based on refresh)
  • After an iteration the entire dict (JSON) is sent to a new topic sofar/state_all'
  • Added a new option for LEGACY_PUBLISH to continue to send messages individually in addition to sofar/state_all.
  • Introduce Signal handling to ensure graceful exit

What's Changed

Full Changelog: 2.2.5...3.0.1