tikismoke / domogik-plugin-ebusd

4 stars 0 forks source link

Plugin stop listening for ebusd. #5

Open tikismoke opened 7 years ago

tikismoke commented 7 years ago

domogik-ebusd ERROR ### Error read socket for 'listen' command: 'timed out', Quitt program !

As the plugin stop but don't kill thread I can't restart it. But I do not understand why this happens.

vdomos commented 7 years ago

I you kill all thread, it can restart ? I must change leave call, this doesn't work correctly now.

"Timed out" error occurs when the communication is lost with ebusctl.

tikismoke commented 7 years ago

Yes.

I think when timeout appears, the plug-in should try to re-read=>re-listen. It will avoid my problem when i restart the pi near the boiler.

tikismoke commented 7 years ago

I commented this line to see:

self.ebusctldev.settimeout(SOCKETTIMEOUT) # Add timeout for no blocking connexion.