Skip to content
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

Incompability to paho-mqtt-2.0.0 #632

Open
AAPohl opened this issue Feb 23, 2024 · 1 comment
Open

Incompability to paho-mqtt-2.0.0 #632

AAPohl opened this issue Feb 23, 2024 · 1 comment
Labels
core Issue relates to the core of SmartomeNG
Milestone

Comments

@AAPohl
Copy link

AAPohl commented Feb 23, 2024

I tried to build smarthomeNG with paho-mqtt-2.0.0 (10.02.2024) as latest.
Activating mqtt module fails

File "/usr/local/smarthome/modules/mqtt/init.py", line 220, in _connect_to_broker
self._client = mqtt.Client(client_id=clientname)
TypeError: Client.init() missing 1 required positional argument: 'callback_api_version'

See: https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html

@msinn
Copy link
Member

msinn commented Feb 24, 2024

Thanks for the info.

For the moment i changed the requirements in the develop branch to install only paho clients with version below 2.0.0

@Morg42 Morg42 added the core Issue relates to the core of SmartomeNG label Dec 8, 2024
@Morg42 Morg42 added this to the Version 1.12 milestone Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issue relates to the core of SmartomeNG
Projects
None yet
Development

No branches or pull requests

3 participants