bmercier Posted February 11 Share Posted February 11 Paho-mqtt now has a new version 2.x of their library which is breaking plugins. You will see this error in the log: ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md Traceback (most recent call last): File "/var/polyglot/pg3/ns/0021b902606d30/hunterdouglas-poly.py", line 77, in <module> polyglot = udiinterface.Interface([]) File "/var/polyglot/pg3/ns/0021b902606d_30/.local/lib/python3.9/site-packages/udi_interface/interface.py", line 253, in __init self.mqttc = mqtt.Client(self.id, True) File "/var/polyglot/pg3/ns/0021b902606d30/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 766, in __init raise ValueError( ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md This impacts new installation of plugins. Plugins already installed will continue to work as long as they are not reinstalled. On monday a new UDI interface will be release to fix this. Stay tuned. 1 2 Quote Link to comment
bmercier Posted February 12 Author Share Posted February 12 The fix to the interface is implemented. If you have a plugin with the error, delete and reinstall the plugin. 1 1 Quote Link to comment
bmercier Posted February 12 Author Share Posted February 12 Please be aware of these changes in the new interface: Quote Link to comment
mdfled Posted June 12 Share Posted June 12 I opened a ticket on this error as my YoLink devices aren't working any longer after I did the latest updates. I've checked all the logs, and the error you posed above is the error I'm seeing in the YoLink node log when I restart the node server. Can you please tell me how to fix this? Quote Link to comment
gzahar Posted June 13 Share Posted June 13 4 hours ago, mdfled said: I opened a ticket on this error as my YoLink devices aren't working any longer after I did the latest updates. I've checked all the logs, and the error you posed above is the error I'm seeing in the YoLink node log when I restart the node server. Can you please tell me how to fix this? If you have a plugin with the error, delete and reinstall the plugin. 1 Quote Link to comment
mdfled Posted June 13 Share Posted June 13 Thanks gzahar, after trying other things, I did delete and recreate the NS plugin and it fixed most of the problem. I still had to go in and correct some of my IF statements related to the YoLink devices, but the deletion and recreation solved most of the issue. Thanks again! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.