Sofar_LSW3 icon indicating copy to clipboard operation
Sofar_LSW3 copied to clipboard

Unsupported callback

Open fgrijze opened this issue 5 months ago • 0 comments

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).

fgrijze avatar Sep 23 '24 08:09 fgrijze