Closed mail4reset closed 6 months ago
Hi @mail4reset , good catch. This is an error on the low MerossIot library, which missed the correct dependency import within setup.py. I'll check on that and report back when a newer beta version is ready for you to test.
Hi @mail4reset ,
v1.3.1 should fix the issue. Can you please test it and report if working as expected now?
Hi Alberto, v1.3.1 solved the issue. Thank you very much for your quick answer!
After upgrading from v1.2.13 (meross_iot==0.4.6.2) to v.1.3.0 (meross_iot==0.4.7.0) the integration stops working with the error detailed in the log. After googling for a while I found the Crypto package seems to be deprecated. I checked in my venv and found:
So I managed to bypass this problem by changing the line 4 of the file /srv/homeassistant/lib/python3.12/site-packages/meross_iot/controller/mixins/encryption.py from
from Crypto.Cipher import AES
tofrom Cryptodome.Cipher import AES
. Now the integration is working fine.Your environment HomeAssistant version: Core 2024.4.3 - Frontend 20240404.2 Hardware environment: Raspberry Pi 4
Logs taken when the issue happened