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

Incompatibility with paho-mqtt==2.1.0 in Home Assistant #419

Closed
alexruperez opened this issue Mar 5, 2025 · 3 comments
Closed

Incompatibility with paho-mqtt==2.1.0 in Home Assistant #419

alexruperez opened this issue Mar 5, 2025 · 3 comments

Comments

@alexruperez
Copy link

🛑 Issue: Incompatibility with paho-mqtt==2.1.0 in Home Assistant

Description

The meross_cloud custom integration for Home Assistant is currently unable to install because meross_iot has a strict dependency on paho-mqtt versions <2.0.0, while Home Assistant has already upgraded to paho-mqtt==2.1.0. As a result, Home Assistant OS users cannot install meross_iot, causing meross_cloud to fail.

Error log from Home Assistant

Unable to install package meross_iot==0.4.8.0: × No solution found when resolving dependencies: ╰─▶ Because meross-iot==0.4.8.0 depends on paho-mqtt>=1.5.0,<2.0.0 and paho-mqtt==2.1.0, we can conclude that meross-iot==0.4.8.0 cannot be used. And because you require meross-iot==0.4.8.0, we can conclude that your requirements are unsatisfiable.

Steps to Reproduce

  1. Install meross_cloud via HACS or manually in Home Assistant OS.
  2. Restart Home Assistant.
  3. Observe the error in the logs indicating that meross_iot cannot be installed.

Expected Behavior

meross_iot should support paho-mqtt>=2.0.0 to be compatible with Home Assistant's latest dependencies.

Proposed Solution

  • Update meross_iot to support paho-mqtt==2.1.0 or newer.
  • Allow more flexible versioning for paho-mqtt in meross_iot dependencies.

Home Assistant Version

  • Home Assistant OS (latest stable release)
  • paho-mqtt==2.1.0 installed by default

Additional Context

Many Home Assistant users rely on meross_cloud, but it is currently broken due to this dependency issue. Could you please update meross_iot to support the latest paho-mqtt version?

Thank you for your work on this project!

@donations-bot-prod
Copy link

Donation bot here. Supporters can mark their interest in this issue by adding a comment
starting with "+1" (without quotes) or adding the "#supporter_sponsor" keyword
(without quotes) in their comments.

You can become a donor by subscribing as Sponsor from the GitHub sponsorship page or from the BuyMeACoffee page.

Issues marked by donors will be labeled accordingly and handled with special care

@alexruperez
Copy link
Author

Should be fixed with #413.

@alexruperez
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant