Simple rule not Triggering

I am having a heck of a time getting a simple rule to trigger. The event trigger is a change in status of a Denon receiver's power. I can see the changes in Hubitat so it is getting the amps status. If I hit the "Run Actions" button in the Rule, everything works as it should. But, if I turn the Denon on or off, the rule simply will not fire. The actions (again, they work when I "Run Actions") are just a simple IF-THEN-ELSE conditional.

Thanks.

You need to turn on the logging in the rule for Events, Triggers and Actions. There is some reason the event is not being seen. Did you hit Install or Done in the rule?

You can look at the rule's Event Subscriptions on its App Status page (gear icon). You can see what event it is looking for there. Compare that with the Events for the device from its device page Events button.

1 Like

Yep, Hit Done in the rule. Event subscription matches. Even started from scratch and remade the rule. I don't think the Hubitat is recognizing that the Denon switch parameter is changing, even though it is and I can see it in the device status.

  1. Post a screenshot of your Rule.
  2. As @bravenel indicated, turn on the logging in the rule for Events, Triggers and Actions.
  3. Open live logs, and trigger the rule by changing the state of your Denon switch (I would also turn on descriptionText logging for this switch).
  4. Post screenshots of the live logs indicating the Rule doesn't run.

Here is the Rule:

Here is the log after turning the Denon on and off:

Here is the log when I turn the amp on and manually hit the "Run Actions" Button

Show the Event Subscriptions from the App Status page (gear icon).

Here you go:

Why are you using Custom Attribute? As opposed to just using the Office Denon as a switch? I'm referring to the trigger definition.

I believe I was having issues with that as well so I thought it needed to be a custom thing. I'll try it again when I get home.

What driver is this Denon using?

The standard Denon driver from Hubitat.

I don't understand why it's not working. My suggestion would be to remove this instance of Rule 5.1, and create a new one. Something's not right, but everything appears right...

And just use a regular switch trigger...

I created a "Simple Automation Rule" using the switch info of the Denon to control the amp switch and that seems to be working fine. Someone might check deeper to see why the rule machine isn't responding to that particular change state, but for now, using the "Simple Automation Rule" seems to be my solution.

Thanks!

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