1
0
Fork 0
mirror of https://github.com/Zendure/Zendure-HA.git synced 2025-12-15 09:07:35 +01:00
Local Mqtt (Legacy Devices)
FireSon edited this page 2025-08-23 00:26:14 +02:00

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.

image

In the second screen you have to enter all fields in order for MQTT to work!

image

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

image

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

image

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.

image

Once you open the notification, it will show in case of an error:

image

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:

image

And if it is succesful show this:

image

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.