nugget / python-insteonplm

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

Get Next All-Link Record returns NAK too early #57

Closed teharris1 closed 6 years ago

teharris1 commented 6 years ago

There is a fundamental issue in Insteon where the indication of the last PLM ALDB record is a NAK message. However, the NAK message can occur simply because the PLM is not ready rather than actually reaching the last record. When this occurs there is no way to tell the difference.

Temporary solution is to allow devices to be added from the saved device file or from the device override option. This will ensure devices are found every time. The downside of this approach is that a device that is not in the ALDB could be added this way and appear to work when it does not. This may cause user confusion. A better approach needs to be found but this option is better than not finding the device at all.

teharris1 commented 6 years ago

The workaround has been created in 0.8.6. Still looking for a permanent solution.

teharris1 commented 6 years ago

Fixed in 0.12.1