-
Notifications
You must be signed in to change notification settings - Fork 53
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
Failed to set up: Unsupported callback API version #531
Comments
can confirm, also seeing with freshly installed 2025.3.0b0 |
Initial guess is that the version bump of paho-mqtt to 2.1.0 affected deprecated APIs and merross_lan needs to be brought up to use the current API. The docs on what needs to be done are at: https://github.com/eclipse-paho/paho.mqtt.python/blob/master/docs/migrations.rst |
I'm not in a position to write and test a pull request right now, but the fix is in mqttclient.py in _MerossMQTTClient:
becomes
or better yet consider something like:
Please note this is the minimum change to make it work with both newer and older code, but API version 1 is deprecated. Better yet, kill off a future problem before it happens and read migrations.rst and clean up our API usage to ensure we can raise this to v2. |
Same issue here, struggling to get the code working @pleasantone that you posted |
The same here, I hope for a quick fix. |
Hello, thank you all for your quick raising of this issue...I'm pretty off in latest months so I'm not very up to date with code and this issue is much needed to quickly fix this! I'm going to fix this asap..likely before 2025.3 hits the public! EDIT: |
Nice code @krahabb , thank you! |
hello everyone, I recently updated the Meross Lan integration and since then it no longer works for the same reason. I tried to modify the code in /meross_lan/merossclient/mqttclient.py but still I did not solve anything. Maybe because I wrote the correction wrong? I ask you for help |
I'd ask for comments from people who where experiencing the issue and see if they still have problems with latest meross_lan v5.4.2 I've still haven't installed HA core 2025.3 in my production env but tests in develop were succesful iusing meross_lan v5.4.2 in both HA core 2025.2 and now 2025.3 |
Works great for me both on 2025.2 and 2025.3
…On Mar 8, 2025 at 11:21 AM -0800, krahabb ***@***.***>, wrote:
I'd ask for comments from people who where experiencing the issue and see if they still have problems with latest meross_lan v5.4.2
I've still haven't installed HA core 2025.3 in my production env but tests in develop were succesful iusing meross_lan v5.4.2 in both HA core 2025.2 and now 2025.3
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
krahabb left a comment (krahabb/meross_lan#531)
I'd ask for comments from people who where experiencing the issue and see if they still have problems with latest meross_lan v5.4.2
I've still haven't installed HA core 2025.3 in my production env but tests in develop were succesful iusing meross_lan v5.4.2 in both HA core 2025.2 and now 2025.3
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
ah ok. could you please tell me the steps to solve it? |
It just worked? No change just upgrade to the current version that has been published?
…On Mar 8, 2025 at 1:19 PM -0800, massida06 ***@***.***>, wrote:
> Funziona alla grande per me sia su 2025.2 che su 2025.3
> ...
ah ok. could you please tell me the steps to solve it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
massida06 left a comment (krahabb/meross_lan#531)
> Funziona alla grande per me sia su 2025.2 che su 2025.3
> ...
ah ok. could you please tell me the steps to solve it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Maybe download it again in case something went wrong with the downloading. |
@krahabb I forced a download of Meross LAN v5.4.2 via HACS, and once installed the issue appears to be fixed. Core: 2025.3.1 |
I can't even see Meross LAN under HACS anymore. I'm on Meross LAN v5.4.1 and can't upgrade to v.5.4.2... |
Download Version 5.4.2 -> restart Home Assistant = Problem fixed Core |
sorry stupid question, i have this problem. how do you update meross lan ? thanks |
update, did both and its back in action. thanks :-) |
Version of the custom_component
5.4.1
Configuration
Describe the bug
Add-on stopped working in the last 24 hours with the following error. Issue persists after reboots and clean installs:
Debug log
The text was updated successfully, but these errors were encountered: