krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
445 stars 47 forks source link

Cannot pair MSS315 via MQTT #346

Closed fuomag9 closed 8 months ago

fuomag9 commented 11 months ago

Version of the custom_component

Latest

Describe the bug

After seeing this issue https://github.com/bytespider/Meross/issues/72 I cannot pair the MSS315 on either a local broker and the meross lan add-on. The android pairing app does not work (I have to use matter for setting up the wifi) and when running the command below the device fails to connect (see logs) and then resets itself

npx meross setup --gateway 192.168.X.Y --wifi-ssid ssid --wifi-pass password --mqtt mqtts://hass:2001 --wifi-cipher 3 --wifi-encryption 6 --wifi-channel 1 --verbose --key keyigotfromtheandroidapp

Debug log


2023-12-11 16:40:47.635929141 DEBUG:Broker reported client (null) (username: censoredmac, ip: 192.168.X.Y) disconnected for reason -1
2023-12-11 16:40:47.635707088 DEBUG:Local MQTT: received message on topic $SYS/client-disconnections: b'{"event": "disconnect", "data":{"client_id":"(null)","username":"censoredmac","address":"192.168.X.Y", "reason":-1}}'