Crypto package not found #497
Labels
bug
Something isn't working
Critical
The bug is disruptive and requires immediate fix
waiting validation
Waiting for user's test/validation
Milestone
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
The text was updated successfully, but these errors were encountered: