krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
387 stars 46 forks source link

how to see if it's not connecting to the cloud anymore? #443

Closed 1mfaasj closed 1 month ago

1mfaasj commented 1 month ago

Hi, is there a way that I can confirm that there is no meross cloud activity anymore? I've followed the instructions from this page: https://github.com/krahabb/meross_lan/discussions/63 so my meross device is re-configured.

This looks OK from the mqtt broker logs:

1716808832: New connection from 192.168.2.191:52084 on port 8883.
1716808832: New client connected from 192.168.2.191:52084 as auto-E14C77A1-F212-D393-D3D0-642F4B06D777 (p2, c1, k60).

at the setup of your integration in HA: the device host address was filled in already with the correct IP address. I left the device key empty.

It looks like everything works in HA but how to know if it's not connecting to the cloud anymore? image

I see that the official meross (homekit) is also still appearing in HA, is this a sign that's still doing something to the cloud? Thanks

krahabb commented 1 month ago

By the look of it, it appears as just working locally. homekit is a local protocol so no cloud for that too (devices get discovered and managed only on LAN)

If you don't configure any 'Meross cloud profile' in meross_lan then the component itself, for sure, will not connect to any 'outside' service whatsoever.

From shared knowledge, the devices, at this point, once connected to your private mqtt, are not reaching out to any cloud service except for their queries for NTP (internet time) that are needed to synchronize their time.

If you want to be sure you could just block their 'internet bound' traffic at your router so to be 'safer' At that point, their need for NTP servers query will fail unless you setup some 'maskerade' or 'spoofing' of their intended internet traffic to be directed to your private NTP (some users were able to setup this kind of environment)

1mfaasj commented 1 month ago

Thanks for the quick reply and clarification! Hmm I would expect to see "active" here at the mqtt, is that true? image

I guess that has something to do with: image A good test would be to switch to mqtt right? and then see if I still can control the entities in HA.

Update: when I try to change it to mqtt it gives me this error: image

the error log in HA: image it looks like it tries to connect to port 1883 ?!

the Reconfigure page: image

I don't now if it's related but I've got one MQTT integration and this one is configured with 1883: image Only one MQTT integration is possible in HA...

1mfaasj commented 1 month ago

ok I've got it working on mqtt now. thanks anyway!