Automation Issue: IR Remote Commands Not Executing Properly in Rule Machine

Hi everyone:

I've successfully created virtual buttons for each key on my OPPO remote using the Broadlink Remote. They all work fine individually.

To play music stored on my SYNOLOGY MEDIASERVER via the OPPO UDP-205, I need to turn on the OPPO, press the right button 4 times to reach "Network," press "OK" 3 times to navigate into the music folder, and finally press "Play" to start the music.

However, when I try to automate these steps using Rule Machine, the music doesn't play correctly. I've tried adding delays and waits between the actions to give the OPPO time to process each command, but it still doesn't work.

I checked the logs and noticed that no matter how long I set the delays or waits, Hubitat sends all the commands immediately without pausing.

Can you please edit your post and remove the

Preformatted text?

It’s the ` symbols that are surrounding the text you wrote. It can be helpful for pasting large blocks of code into a forum post but in this case it’s just making what you write more difficult to read.

4 Likes

Sorry & Thanks.

I just made the correction and posted the code screen dump.

1 Like

Have you explored the "sequence" capability of @tomw's Broadlink integration?

A quick search for the term "sequence" within that topic thread yields several hits -- this seems like a good intro result, but I'd encourage you to check out other sequence-related posts within that main topic thread too.

2 Likes

Be aware that all those "delayed: 0:00:02" will all be schedule to run at the same time 2 seconds later. They are not inserting a delay between each command.

3 Likes

Maybe delay would be preferable here. As the name imply, WAIT would wait for a condition as DELAY will not. Same action choice though:

2 Likes

I followed tomw's instructions and got it working. Here's the updated screen dump

Thanks a lot !

4 Likes

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