ioBroker/ioBroker.mysensors

mySensors connects/disconnects all the time

Closed this issue · 7 comments

mySensors instance continuously connects/disconnects every few seconds, as can be seen below. I have all latest updates installed - Linux, Node.js, adapter, controller, etc.

mySensors nodes and serial gateway are based on latest 2.3.2 code

I was thinking that it could be normal when instance times out and gets disconnected when no nodes are reporting status change. I modified one of the nodes, forcing it to send update every 2 seconds, but adapter still keeps connecting and disconnecting every few seconds leading to loss of data.

2020-07-17 17:11:24.965 - info: mysensors.0 (19106) Connected
2020-07-17 17:11:32.981 - info: mysensors.0 (19106) disconnected
2020-07-17 17:11:33.291 - info: mysensors.0 (19106) Connected
2020-07-17 17:11:45.418 - info: mysensors.0 (19106) disconnected
2020-07-17 17:11:46.990 - info: mysensors.0 (19106) Connected
2020-07-17 17:12:09.659 - info: mysensors.0 (19106) disconnected
2020-07-17 17:12:09.748 - info: mysensors.0 (19106) Connected
2020-07-17 17:12:23.381 - info: mysensors.0 (19106) disconnected
2020-07-17 17:12:23.453 - info: mysensors.0 (19106) Connected
2020-07-17 17:12:29.454 - info: mysensors.0 (19106) disconnected
2020-07-17 17:12:32.527 - info: mysensors.0 (19106) Connected
2020-07-17 17:12:43.093 - info: mysensors.0 (19106) disconnected
2020-07-17 17:12:46.217 - info: mysensors.0 (19106) Connected
2020-07-17 17:12:49.004 - info: mysensors.0 (19106) Received INTERNAL message: I_DISCOVER_RESPONSE: 0
2020-07-17 17:12:53.717 - info: mysensors.0 (19106) disconnected
2020-07-17 17:12:57.241 - info: mysensors.0 (19106) Connected
2020-07-17 17:13:12.391 - info: mysensors.0 (19106) disconnected
2020-07-17 17:13:12.400 - info: mysensors.0 (19106) Connected
2020-07-17 17:13:19.915 - info: mysensors.0 (19106) disconnected
2020-07-17 17:13:19.950 - info: mysensors.0 (19106) Connected
2020-07-17 17:13:31.980 - info: mysensors.0 (19106) disconnected
2020-07-17 17:13:35.051 - info: mysensors.0 (19106) Connected
2020-07-17 17:13:41.052 - info: mysensors.0 (19106) disconnected
2020-07-17 17:13:42.610 - info: mysensors.0 (19106) Connected
2020-07-17 17:13:48.609 - info: mysensors.0 (19106) disconnected
2020-07-17 17:13:50.150 - info: mysensors.0 (19106) Connected
2020-07-17 17:14:15.846 - info: mysensors.0 (19106) disconnected
2020-07-17 17:14:15.876 - info: mysensors.0 (19106) Connected

Bitte mal Debug log aktivieren und posten

Bitte mal Debug log aktivieren und posten

Please let me know how to activate the debug log. Thank you.

Admin ... Instances - expert mode - column "Log level" ... set to "debug" on respective instance

@Apollon77 Please see debug log. Be aware that mySensors Node #9 behavior is normal, this node gets disconnected when no power is present, this is done intentionally.

7-20-20 debug log.txt

It seems that the"connection Timeout" is also used to check if connection got stuck. What you have set there? The normal default value is 60s ... maybe you only have set 6seconds there (because always after exactly 6s after last message he things he is disconnected?

Thank you! Yes, the timeout was set to 6 sec, I changed it to 60. Let me monitor it for a while and I will get back to you.

Adapter works as expected, thank you!