Duplicate Zendure Manager
Due to refactoring to get the batteries in there are sometimes two Zendure Managers. It is very important to remove and add the configuration until there is only one, since otherwise the SmartMatching will not work properly!! In pre-4 the configuration error is fixed when the option "Use local mqtt" was selected
SF2400
Also thanks to Taro, the commands were added to use the SF2400 (and possible also the SF800) with the Manual Power and Smart matching mode. This is a work in progress!
Error: Full power to zero
Thanks to the persistence of many, especially Taro, I think I have found a bug which prevented the devices to return to zero when used in Smart Matching Mode. This could also prevent switching between charging and discharging! Please let me know if you think it works or not!
Batteries as devices + real kWh capacity
Thanks to @danez, the batteries are now shown as seperate devices. In multiple was this is better, since the new Zendure devices can hndle more than 4, the translations are easier, and in HA there is still a visible link between device and battery. For now the AB1000, AB2000, AB2000S and the AB3000 are recognized. All others are AB???? since I do not know their specifics.
Stability issues
This version should fix a lot of the reload/restart/reconfigure issues. The unload of the integration was incomplete, wich resulted in the same device added multiple times, and big errors in the smart matching. Also the power distribution was not always correct, resulting in f.i. charging instead of discharging. Several changes were made in order to prevent that.
Bluetooth reset
Since the communication via mqtt is still not stable, this results in devices which are not responding to commands. Both with the Zendure app and the integration. The integration tries to find the device by bluetooth, and if they have not responded in more than 5 minutes, a reset is tried. It is a work in progress, but I managed to get my hypers back on line with it 😄 If you do not have bluetooth on your HA, or the devices are too far away, nothing happens. In order to use this, you must enable local mqtt (which itself is not operational yet!)
At midnight all devices which Bleutooth can find will be resettet in order to prevent possible failure.
ACE1500
Also thanks to @danez I added the ACE1500 when it is used together with the Hub2000. No extra functionality yet, but the entities should be visible. The feedback is that this still does not work.
Configuration
The configurations has changed. It is now in two steps, the fisr screen is more or less the same as before. Two options are added MQTTT logging and local MQTT. The first option basically explains itself, if selected the debug logging will contain all MQTT communication. This is very helpful for communication issues, but is quite verbose. The local MQTT will show a second screen where all necessary options are available for a local MQTT server, plus the wifi ssid + psw which is needed if you want to change the device mqtt server.
What's Changed
- Bump ruff from 0.11.6 to 0.11.7 by @dependabot in #167
- Added translation by @GeneralRurra in #155
- Correct index for aggr sensors by @harrymayr in #169
- Correct time for calculating aggr sensors by @harrymayr in #168
- Reset of energy-sensors must be in local time by @harrymayr in #175
- Update power if difference to previous update is > 1 by @harrymayr in #177
- Avoid switching on low PV power by @harrymayr in #176
- Update en.json by @twoenter in #179
- Update nl.json by @twoenter in #178
- Extra Dutch translations by @twoenter in #181
- Add bateries as seperate devices by @FireSon in #185
- Add missing French translations and improve existing ones by @djodjo02130 in #187
- i18n: Complete German translation by @DavidoTek in #191
- Hub 1200/2000 first cleanup + SoH added to batteries by @z-master42 in #194
- Bump ruff from 0.11.7 to 0.11.8 by @dependabot in #195
- Fix description of AB2000(S) battery by @harrymayr in #200
New Contributors
- @GeneralRurra made their first contribution in #155
- @twoenter made their first contribution in #179
- @djodjo02130 made their first contribution in #187
- @DavidoTek made their first contribution in #191
- @z-master42 made their first contribution in #194