Closed impulsio closed 1 year ago
Same for me. Tested on Windows with different Python Versions from 3.8 to 3.10 with 32bit and 64bit and library version 0.4.2.3 and 0.4.5.3.
Same for me... Strange enough, I updated yesterday, 19 hours ago, and it worked fine till 2 hours ago, while I clearly did not change anything between 19 hours ago and 2 hours ago...
Hi, that's a change on the Meross Cloud API that is breaking the library. I am now working to fix it.
Hi, that's a change on the Meross Cloud API that is breaking the library. I am now working to fix it.
Thank you Alberto
Thank you Alberto!
Hi, that's a change on the Meross Cloud API that is breaking the library. I am now working to fix it.
Many thanks !
@albertogeniola thanks for your good work, how do we apply the fix in Home Assistant?
Hi @dpacecca , you just have to stay tuned here. When a fix is ready for HA I'll publish that there, with corresponding instructions.
Thanks, sorry I misunderstood that this was resolved :)
For the ones using this library, you can now upgrade to v0.4.5.4, which includes the hotfix. Please let me know if that solves the issue.
Everything is now OK ! You rock !
I'm glad to hear that. We've been lucky: the Meross breaking change occurred during my holidays :)
Jokes aside, It's just too bad people must now upgrade the library version to the latest one. I know of many IoT projects relying on this library to work and I'm afraid they will need to upgrade to keep them up and running.
You're a legend, it is all working fine now, thanks!!
@albertogeniola enjoy your coffee!
Hi, I have done the update and restart but still not working, however I think it might have been something I changed trying to fix it before I realised it was a common problem
I had changed the top box to the web address for meross API could someone tell me what it should be please. Also what do people set their http/ MQTT option to.
TIA
And I know I'm an idiot for not noting down what was in the box before changing it 🤦
Hi @fletch904 ,
please note that this issue is about the MerossIot library and not about the HomeAssistant integration. For the future, please open an issue in the relative github repository (this one)
In any case, the default value is the following:
MerossHA/1.2.7
Thank you @albertogeniola!! My orchids all thank you :)
Have updated to 0.4.5.7 and all good. Thanks as always for the quick fixes.
I'm glad it worked!
Hello, I have an issue with the latest version : File "/usr/local/lib/python3.7/dist-packages/meross_iot/manager.py", line 343, in async_device_discovery http_devices = await self._http_client.async_list_devices() File "/usr/local/lib/python3.7/dist-packages/meross_iot/http_api.py", line 417, in async_list_devices return [HttpDeviceInfo.from_dict(x) for x in result] File "/usr/local/lib/python3.7/dist-packages/meross_iot/http_api.py", line 417, in
return [HttpDeviceInfo.from_dict(x) for x in result]
File "/usr/local/lib/python3.7/dist-packages/meross_iot/model/shared.py", line 27, in from_dict
obj = cls(**new_dict)
With this code (it's the call async_device_discovery that generate the error)
Could you help me ?