Rule Machine conversion - what am I doing wrong here?

I'm trying to convert the following Simple Automation Rule into Rule Machine 5.1. I created i with Rule Machine 5.1, but the RM 5.1 version doesn't work at all.

I know, I know, you'll probably ask me why I'm bothering with this. I have my reasons. Mostly I just want all my rules in one place. Which may or may not be rational. But in any case, I created it in RM 5.1 and I'm not sure why that version doesn't work.

Can anyone tell me what I'm doing wrong? Screenshots below:

Have you updated to latest .115 firmware? Should cure the problem.

My best guess is that you chose "digital on" as your trigger, whereas Simple Automation Rules won't make that distinction. If that wasn't intentional, just use the regular "Switch" capability for your trigger, and trigger with "on" instead.

But to really see, logs are your friend. I'd suggest turning on trigger and action logging as a minimum (but whatever more you want won't hurt), then you should see in "Logs" what does (or doesn't) happen when, which should give you better ideas for troubleshooting.

2 Likes

I think that's it. What is the difference between "digital switch," "physical switch," and "switch" as far as these rules are concerned? If digital switch refers to the virtual switches, why would it list all these non-virtual switches when I selected digital switch? Anyway, I'm trying "switch" now to see if that works.

1 Like

Yup, that was it! Thanks!

Digital events are the events resulting from commands that originated from the hub, like On or Off. Physical is in response to something on the device itself, like a tap of the paddle. The "regular" switch event will capture either. Many drivers also don't distinguish, or at least not reliably, so you sometimes either won't see this at all or at least not all the time (you can at the event history on the device to see the source, which if listed, should be one of these; log entries often also say).

2 Likes

Oh, had to put a test in of BOTH in order to figure this out. Sat there watching live log after just PUSHING the button on an outlet only to see the live log say it was just digitally turned on.

Thanks for your post which I found afterwards to understand what I was seeing !