Sofar_LSW3
Sofar_LSW3 copied to clipboard
Unsupported callback
When enabling MQTT, I'm getting the following error:
File "/home/frank/Sofar_LSW3-main/InverterData.py", line 315, in <module>
client=paho.Client("inverter")
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 772, in __init__
raise ValueError(
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see docs/migrations.rst for details
More information about the migration is on https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html (but I'm not familiar with Python, so I can't solve this issue).