Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node without name #42

Open
steven52880 opened this issue Jan 30, 2022 · 1 comment
Open

Node without name #42

steven52880 opened this issue Jan 30, 2022 · 1 comment

Comments

@steven52880
Copy link
Contributor

When I put a node far away from the gateway, HASS often shows that the node is offline.

I checked /api/gw/nodes, it shows {"nodeId":2,"address":"ac:0b:fb:c1:89:1c"}.
I checked mqtt messages in esp/#

Topic: esp/AC:0B:FB:C1:89:1C/data
{"temp":13.32533,"humidity":56.04333}
2022-01-31 01:38:56

Topic: esp/AC:0B:FB:C1:89:1C/debug/lostmessages
{"lostMessages":1}
2022-01-31 01:38:56

Topic: esp/AC:0B:FB:C1:89:1C/status
{"per":2.136862e-01,"lostmessages":331,"totalmessages":1880,"packetshour":20.48}
2022-01-31 01:38:56

I guess that the data package with the node name was lost during re registration. So the gateway send the message in a topic with MAC address instead of the topic with a node name.

@dgcasana
Copy link

I have also suffered the same case, message only with the MAC of the node.
In my case, it is not far from the gateway, but I suffer power outages that cause the gateway to start up before the Wi-Fi router, (I think that is my problem, but maybe not).
At the moment I have a delay of 4 minutes in the setup() of the gateway. I will see if it solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants