Hi, here is a driver for the "Ring Alarm Range Extender" found here and here. The Z-Wave alliance listing is here and and for 2nd gen is not listed yet. Before you tell me there is no reason for this to exist because... "Why would you buy an extender instead of a Z-Wave outlet or plug that extends and is also an outlet or plug?" This has a battery backup so it can be used to detect power outages. It reports change in AC status. Also, because I had an extra that I didn't need to connect to my alarm hub. And, also, just because I can.
Do not confuse this with the unofficial Ring integration I have also written. That integration also includes an extender driver but that driver is for when the extender is connected to the Ring alarm hub and the alarm hub is connected to HE via a websocket. This driver is for when the extender is connected directly to the HE hub and connected via Z-Wave.
The driver supports:
- Configuring the battery reporting interval
- Battery Level
- AC Status
- Battery Status
- Power Source
Inclusion Gen 1:
- Create a new device driver with the code below
- Put the HE hub in inclusion mode
- Supply power to the Range Extender to begin Smart Start (inclusion) mode. The device will enter inclusion mode indefinitely and the LED Indicator will blink slowly until itβs included in a system.
- If the light does not begin blinking after power is supplied exclude the device first and then try again.
Inclusion Gen 2:
- You may need to re-exclude the extender from HE so you're working from a fresh slate
- Plug it in. It will start smart inclusion.
- Start inclusion on Hubitat.
- Hold the button for 3 to 5 seconds on the Extender Gen 2
- At this point classic pairing will start. The device will be discovered by HE and HE will be happy.
- At this point the LED around the button on the extender will switch from 3 green pulses and a wait to more rapid constant green pulses.
- Eventually, the device gives up waiting for what it wants and shows a solid red LED for a short period of time. This means it failed inclusion. (In this state it won't send notifications and it responds to very little if anything. It needs S2 but we're going to force it to fall back or put it into a weird limbo mode without S2. Don't stop here.)
- Then, remove it from mains. You have to have some charge in the battery for this part to work.
- Hit the pinhole (setup) button once. The duration should be short.
- Send configuration a few times.
- Test the button to see if it sends the button event. If it doesn't, keep trying these last three steps until you succeed. Once the button event is sent it will also send power events. You can plug it back in at this point and you're good to go.
Let me know how it goes.
https://github.com/codahq/hubitat_codahq/blob/master/devicestypes/ring-alarm-range-extender.groovy