Is it possible to disable devices in RM?

Is it possible to disable devices with Rule Machine, or do you have to pause all the rules the device is involved with?

l see it's possible to pause Apps.

You can disable a line if thats what you mean?

On the right when editing a rule there is a X which disables that action or part of the rule. You can't disable it through another rule of that's what you want though. For that you would add a global variable and a condition to that line.

@BorrisTheCat - I think what @velvetfoot is referring to is the equivalent of the checkbox in the Devices page, where you can disable a device? Is that right @velvetfoot ?

2 Likes

This might be it:

4 Likes

Awww good point the RM through me.

@velvetfoot no there is no way to remotely 'disable' anything. If it's disabled how would you remotely re enable it? :smiley:

The disabled app and device options are for debugging etc so they fully disable the app or device.

You can pause a rule remotely because a pause is basically a overriding if condition of if paused then exit else continue.

That's new? What does it do? Would be surprised if it fully disabled the device for the device page due to message above.

Looks like it worked for a local device on the hub where the rule is running, but did not work for a meshed device from another hub. Would have been nice if there was a warning in the logs for the meshed device not being disabled.

I'd still think carefully about how you choose to achieve what you are after. I can come up with scenarios where either device disabling or app / automation disabling of some sort would be beneficial.

Do you have a particular scenario you are trying to cater for with this action?

This is the correct action to use in RM as I am using it currently.

This action basically clicks the :x: for the selected device. This has been in the platform for many releases, there is an API for it too. I use it with a wake up rule for my son because he will quickly uses his bedside Pico remote to turn off the lights after they turn on. The rule now disables the remote and then turns on the lights so he has to physically get up to turn them off. 15 minutes later I re-enable the remote device with the rule.

5 Likes

I didn't think of looking there!
Thanks!

I was thinking about it around 2:00 AM while trying to get the cars' presence sensors (zigbee) talking again to the hub, so the garage doors wouldn't open thinking we had just arrived, since the presence sensors color us absent if no signal for more than two minutes. This was in the aftermath of a somewhat lengthy late night zigbee mesh recovery following my actions when one Centralite outlet didn't work as it should.

Why have a reboot zigbee radio button if it doesn't work and only locks things up and makes it worse?

Anyway, I disabled the presence sensors from the device screen. I can having a switch I could call on, maybe with a rule, if a zigbee outage was detected. Of course, mine are usually only 7 seconds.

Key for me is not touching the reboot zigbee radio button-waste of time. Reboot, maybe power cycle the hub.

PS: I finally 'fixed' the Centralite 4200C outlet be unplugging it and plugging it back in. Could've save myself some sleep. I'm still tired.

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