You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
glowmarkt-mqtt -u 'username' -p 'password' --host 192.x.x.x
Exception ignored in: <function Client.del at 0x75e07928>
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 874, in del
self._reset_sockets()
File "/home/pi/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1133, in _reset_sockets
self._sock_close()
File "/home/pi/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1119, in _sock_close
if not self._sock:
AttributeError: 'Client' object has no attribute '_sock' init() missing 1 required positional argument: 'callback_api_version'
A bit of investigation revealed that some things have stopped working with the update of paho-mqtt and your utility (currently) needs an older version.
Use: pip3 uninstall paho-mqtt to uninstall v2 and pip3 install "paho-mqtt<2.0.0" (quotes are needed around the package name)
After this glowmarkt-mqtt now works.
The text was updated successfully, but these errors were encountered:
Hello, thanks for this great utility.
Initially I could not get it to work:
A bit of investigation revealed that some things have stopped working with the update of paho-mqtt and your utility (currently) needs an older version.
Use:
pip3 uninstall paho-mqtt to uninstall v2
andpip3 install "paho-mqtt<2.0.0"
(quotes are needed around the package name)After this glowmarkt-mqtt now works.
The text was updated successfully, but these errors were encountered: