-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add-on doesn't start #33
Comments
Hi, |
And the debug log shows this : Package Versions
Python
Operating System
ConfigurationFile: /root/theengsgw.conf
Bluetooth adaptersDefault adapter: hci0 hci0
hci1
|
To answer : yes, MQTT server IP, user and password specified, too... |
After some research, this could have to do with Paho MQTT | 2.0.0 : |
I'm going to update the addon, hopefully this week. This will fix the issue |
Nice, thanks! |
Addon updated |
Many thanks, it works! |
Hi,
I just installed the new version of the add-on on my rpi4 running hass. Theengs doesn't start, and the log outputs what follows.
Anything I can do?
Thanks. Laurent
[21:57:28] INFO: Creating TheengsGateway configuration...
[21:57:33] INFO: IDENTITIES:
[21:57:33] INFO: BINDKEYS:
[21:57:33] INFO: Starting TheengsGateway...
Exception ignored in: <function Client.del at 0x7fa7a89ee0>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 874, in del
self._reset_sockets()
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1133, in _reset_sockets
self._sock_close()
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1119, in _sock_close
if not self._sock:
AttributeError: 'Client' object has no attribute '_sock'
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/main.py", line 5, in
main()
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/init.py", line 55, in main
run(configuration, config_path)
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/ble_gateway.py", line 648, in run
gw.connect_mqtt()
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/ble_gateway.py", line 162, in connect_mqtt
self.client = mqtt_client.Client()
TypeError: init() missing 1 required positional argument: 'callback_api_version'
The text was updated successfully, but these errors were encountered: