tobof / openhab-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
39 stars 30 forks source link

Node request ID are never answered ? #93

Closed Adesin-fr closed 6 years ago

Adesin-fr commented 6 years ago

I've plugged a new node with auto-id attribution.

The logs in server shows that node ask for a node ID, but the binding doesn't seems to answer :

2017-09-18 21:49:58.466 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;247;3;0;3;
2017-09-18 21:50:00.452 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;219;3;0;3;
2017-09-18 21:51:05.281 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;241;3;0;3;
2017-09-18 21:51:07.271 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;215;3;0;3;
2017-09-18 21:51:09.245 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;186;3;0;3;
2017-09-18 21:51:11.235 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;157;3;0;3;
2017-09-18 21:52:14.077 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;212;3;0;3;
2017-09-18 21:52:16.054 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;184;3;0;3;
2017-09-18 21:52:18.042 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;155;3;0;3;
2017-09-18 21:52:20.021 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 255;129;3;0;3

Is there a configuration to to set to enable auto node id attribution ?

tobof commented 6 years ago

No, there is no such option. I suppose the binding is not answering because the client id is not 255. It looks random to me. Maybe has something to do with the new algorithm for id request in current beta. I'll look at it after my vacation.

Adesin-fr commented 6 years ago

Yes, it seems that the child ID is randomly set on each request. I'm using Mysensors 2.2.0 beta.