nugget / python-insteonplm

Python 3 asyncio module for interfacing with Insteon Powerline modems
MIT License
33 stars 19 forks source link

Fix rare issue where the a device stop responding #74

Closed teharris1 closed 6 years ago

teharris1 commented 6 years ago

In a rare issue where the PLM does not return an ACK/NAK message and a direct ACK is expected, the device can hang were no other messages can be sent to the PLM for that device. This change adds a timeout waiting for the ACK/NAK response from the PLM. If it is not received, the message is resent to the PLM.