If you are experiencing the 'usb disconnect' issue with your ad2usb and homeseer, please give this a try.
I have integrated the FTDI .Net library into the plugin. All comm operations between the plugin and the ad2usb now use this library. This library also provides the ability to recover when the usb disconnect issue occurs.
So the plugin now monitors the time between received messages, and if the plugin doesn't receive a new message after 1 minute, it assumes a disconnect, and starts the recovery process.
I add a few triggers under the name "Vista Alarm Interface Connection" so you can monitor the connection
1. Disconnected - fired when the connection breaks
2. Reconnected - fired when the plugin recovers the connection
3. Non Operational - fires when the plugin can't recover within 2 minutes and shutdowns
In my own testing with a v2.0 and v2.2 board I have been able to recover after a disconnect and even when the virtual com port disappears from the windows device manager. I've been using an old fluorescent light to generate noise to the panel and ad2usb and the plugin is able to recover. I have not tested this with an original v1.0 board. I have mine sitting in my HA museum
Installation for existing users:
- You must copy both dll files from the zip into your homeseer folder.
Installation for new users:
- Install the current version in the Updater and then follow the above installation
Please report your finders, and perferably post a debug log
I hope this helps eliminate the need to complete restart HS or your box.
V1.2.11.0 - added custom values/graphics to RF Devices
I have integrated the FTDI .Net library into the plugin. All comm operations between the plugin and the ad2usb now use this library. This library also provides the ability to recover when the usb disconnect issue occurs.
So the plugin now monitors the time between received messages, and if the plugin doesn't receive a new message after 1 minute, it assumes a disconnect, and starts the recovery process.
I add a few triggers under the name "Vista Alarm Interface Connection" so you can monitor the connection
1. Disconnected - fired when the connection breaks
2. Reconnected - fired when the plugin recovers the connection
3. Non Operational - fires when the plugin can't recover within 2 minutes and shutdowns
In my own testing with a v2.0 and v2.2 board I have been able to recover after a disconnect and even when the virtual com port disappears from the windows device manager. I've been using an old fluorescent light to generate noise to the panel and ad2usb and the plugin is able to recover. I have not tested this with an original v1.0 board. I have mine sitting in my HA museum
Installation for existing users:
- You must copy both dll files from the zip into your homeseer folder.
Installation for new users:
- Install the current version in the Updater and then follow the above installation
Please report your finders, and perferably post a debug log
I hope this helps eliminate the need to complete restart HS or your box.
V1.2.11.0 - added custom values/graphics to RF Devices
Comment