solis2mqtt
solis2mqtt copied to clipboard
pano-mqtt client issue
not sure of this project is still being developed/monitored, but if it is, there seems to be an issue with the mqtt client used.
The project uses the pago-mqtt library, and when this moved to V2 it seems tho have broken solis2mqtt, causing it to throw an mqtt client socket error when run (sorry, don’t have the exact error message)
I have fixed the issue by forcing v1.1 in the requirements.txt file using the following:
replace the line paho-mqtt with paho-mqtt==1.1
i them removed a line in the mqtt.py file: self.enable_logger() rerun the setup and the the integration is now delivering data to home assistant.
however it would b great if it could be fixed to run with paho-mqtt v2 but is a bit above my pay grade I am afraid.