These scripts provide a little way to compute the MQTT password used by Zendure SolarFlow devices.
Currently verified to work:
- Zendure SolarFlow Hub 2000
Other SolarFlow devices may work as well. If you could successfully verify another device, please let me know.
Provide your device ID via parameter or environment variable SF_DEVICE_ID
.
python3 generate.py --device_id ABCdef123
node generate.js --device_id=ABCdef123
Open generate.html
in your browser and type in the device ID.
The bash output looks like:
Your DeviceID >> ABCdef123
MQTT Password >> A599C0002BC5E5F5
Configure a new user account for your MQTT broker using the device ID as the username and the script-generated value as the password.
The html website generator makes use of js-spark-md5. You have to download it before.
German users can refer to my website for a detailed explanation in German and an online password generator.