Configuration Local MQTT
The configuration of local MQTT is only necessary for the Zendure Legacy devices: Hyper2000, Hub2000, Hub1200 and Ace1500. The newer devices SF800, SF800Pro and SF2400 do not need this, since they can communicate via zenSDK. In order to make local Mqtt work, you have to install a Mqtt broker. The most common option for this is the Mosquitto Addon. But other options like for example EMQX is also possible.
Zendure Integration Configuration
In order to start using local Mqtt, you have to (re-)configure the Zendure Integration. In the first screen you have to select "use Local MQTT", which will, after you press submit, will show a second screen.
In the second screen you have to enter all fields in order for MQTT to work!
The following data is necessary:
- mqttserver: is the IP address of your MQTT broker. If you use Mosquitto, please do not enter: core-mosquitto!!
- mqttport: 1883 (standard-port)
- mqttuser: Username for authentication on the server
- mqttpsw: Password for authentication on the server
- Wifi SSID
- Wifi Passwort: these last to entries are necessary to reconfigure the zendure devices
Bluetooth Integration
The home assistant bluetooth integration should be installed, and your zendure devices should be visible
In the Bluetooth configuration, all available devices are visible in the Advertisement monitor.
Device configuration
Per device you have to select the connection type, which can be cloud or local
Whenever you change this setting, the MQTT server of the device will be changed to the new value, and the device will reboot, so all the settings are set properly. This whole process can take upto 15 seconds, and can fail due to several causes. Once this process is ready, a notification will be added to the Home Assistant Notifications, with the result of the process.
Once you open the notification, it will show in case of an error:
If it fails you can use the MQTT reset button to start the process again, it might take several trys, depending on the Bluetooth connection:
And if it is succesful show this:
Zendure App
Once you are using local MQTT, the integration relays the messages to the cloud if a request from the App comes in. This should enable the possibility to use the app for changing settings and even firmware updates. Allthough I personally use bluetooth for that.
Zendure Home Assistant Integration Documentation