One of the things that always bothered me with the Iris plug in module is the generic Z-Wave device or switch DTHs when all I wanted was a repeater. This shows a simple interface of online/offline and works with Health Check.
Features
Checks connectivity every 15 minutes
Only shows messages in Recently tab on status change or manual refresh (NOTE: a manual refresh will temporarily remove the health check flag if offline)
Reports after two failed attempts
No events after offline detected to force App Health Check to show correctly (will take about 35 extra minutes)
Current Version: 2.00a
NOTE: If you upgrade to 2.00 or above from an older version, you must press āForce Reconfigureā in the app. If you do not do this step, the DTH will not work correctly.
The code can be pulled from my GitHub at jhamstead/jhamstead (master) or from the GitHub link here
Change repeater device handler to new code:
Navigate to āMy Devicesā: SmartThings. Add a little smartness to your things. or SmartThings. Add a little smartness to your things.
Locate your repeater and click on the name in the first column
Click āEditā on the bottom of the page view
In the āTypeā drop-down scroll to the bottom and select āZ-Wave Repeaterā
Click āUpdateā to save changes
Iāve also updated to a 15 second delay for response verification as I saw a false positive at 10 seconds (30 seconds for offline as it checks twice). If anyone else sees this let me know. I could set this delay up to 25 seconds, there is just a longer delay after clicking refresh.
Iām not sure exactly but to possibly fix your issues I released a new version. There is now a force reconfigure button. That will make sure that the correct settings are set on install. You should only need to press that button once.
Thanks for this. Changed all three of mine to this new device handler and now two show online and one shows offline. Any idea what determines if it goes online or offline?
So online/offline is determined based on a query response for the Z-Wave repeater MSR. If it does not get a response in 30 seconds, it tries again. Two failed responses and it reports offline. I too however occasionally get offline messages even when the repeater is online. Iām not sure as to why the hub does not get a response. However with health check, I have not noticed a false alarm. In any case Iām testing some longer delays, such as 60 seconds.
Iāve started adding a force reconfigure to most of my DTHs. It is a harder refresh by resending configuration parameters. Normally configure is run on installation of the device or DTH but Iāve seen it fail for some reason. In this DTHās case, it resends health check information, then runs a normal refresh.
and thanks to your handler I figured out that all my six plugs where offā¦ now I did reconnect 3 of them, but I guess the range of the zwave repeater is really short, am I wrong?
The Iris plugs are Z-Wave Plus so they should have good range (in comparison to older Z-Wave or ZigBee). Iāve increased the response delay to 60 seconds and have been getting better online results. If my testing continues to show good results, Iāll probably release the update shortly. In reality the only change is to the runIn statement. Changed from 25 to 60.
Also the repair of zwave keeps giving me errors for the offline repeaters and one of the onlineā¦ must be related to the offline fact right (maybe the online is not really strong)
Failed to update mesh info and Failed to update route
Hmm. If you are getting offline and Z-Wave repair issues, Iād try a replace of the device. First youāll need to reset the Iris plug. To do so, hold in the button when you plug it in. Then run āAdd a Thingā to restore the ZigBee control. Then go into the repeater and click replace. Then quickly push the button on the plug 5-8 times. Hopefully that should resolve your issues.
I plan on releasing a new version this weekend. The scheduling in SmartThings has been giving me issues. This new version will do things completely differently. It will check every 30 minutes. Two failed responses and it will be marked offline.
Major new version 2.00 released. This version completely changes the algorithm for online/offline detection. It will not be as fast as the older version but is much more reliable. This version also fixes the false positive issue with Health Check.
NOTE: If you already have this installed and upgrade to this version, you must press āForce Reconfigureā in the app. If you do not do this step the DTH will not work correctly.