Enable/Disable radio(s)

I’m wondering if there’s a way to call a radio off/on via an API call or direct URL to the hub.

Does anyone know if that is possible?

Officially, as in via a supported API, no.

Unofficially, if you really want to try, I'm sure you can use the network inspector in your browser to see what kind of (presumably) POST it's doing when you click the buttons, but you'll need extra work for that if you have hub login security enabled, and there's no guarantee it won't break or perhaps be different on models with different Zigbee or Z-Wave hardware.

2 Likes

Wrote this a while back for someone: https://raw.githubusercontent.com/thebearmay/hubitat/main/zbZwToggle.groovy

4 Likes

If all else fails... @thebearmay can source the "good-stuff".... :wink:

3 Likes

Oh this will do just fine via MakerAPI

THANK YOU.

1 Like

You don’t have one to invoke shut down/reboot, correct?

Not separate but the Hub Information Driver v3 has a reboot and a shutdown command. Wouldn't be hard to pull it out into a separate function.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.