How I reboot my Z-Wave radio remotely (Since the Hubitat lacks this capability)

Maybe someone will find this helpful. The Z-Wave radio on my Hubitat C8 Pro fails once a month on average. It does this without any logs showing that it is down. There is no way to reboot the radio without power cycling the Hubitat. I think this is just a terrible oversight in the design of this product, but that discussion is for another day.

My solution: I installed Hubitat Hub Controller (you can find it in package manager). I purchased a wifi smart powerstrip that connects to Alexa directly via WiFi. I then created a virtual switch on the Hubitat which Alexa can control. I wrote a simple Rule Machine rule that is triggered if the virtual switch turns on. That rule then sends a shutdown command to the Hubitat Hub Controller. I had set the switch to automatically turn itself back off after 1 second, but this doesn't seem to work after the hubitat gets the shutdown command, so instead I wrote another rule that turns that switch off when the hubitat boots up. I'm sure there's a more elegant way to do this. I then created the following routine in the Amazon Alexa app:


I deliberately obfuscated the name of the switch in the Alexa app so that it can't be accidentally triggered if Alexa mis-understands something (this has been a problem in the past).

3 Likes

I got around the switch reset thing by just telling the rule to wait for it to turn back off. My rule is a little bit different though because I have a multi-hub setup, so this is installed on my C-7.

2 Likes

Brilliant! Thank you, I am going to implement that.

1 Like

I think you can also use the location event: Z-Wave Crashed to trigger your rule.

I am planning to setup a rule that will do this, and then my main hub will pick-up the virtual switch to reboot the Radios hub. The first half is done, and I will likely implement a copy of your rule for the second…:

1 Like

This is another great idea, thanks. The only potential issue there (in my case anyway) is that very often my mesh will go down, but the Hubitat will pretend that it didn't :stuck_out_tongue_winking_eye:. I'm not sure if the blame for that goes to my mesh, the Z-wave standard, or Hubitat.

1 Like

That might be a problem then! I wonder if @thebearmay’s Hub Information Driver would detect it if that happens?

Will be giving this a try… Note that I didn’t enable the automatic reboot yet - will first want to see if and how this works. :blush:

2 Likes

These are great suggestions. I have a matter smart plug inside Apple Home but was doing this in two steps (manually shutting down Hubitat and then manually power cycling the smart plug). This is so much better. Although in my case I had to split the automation into 2 (the Hubitat shutdown sequence in Rule Machine and then a power cycle automation in Apple Home) but it works.