Button + (Release 0.7.21, Test 0.7.22)

Hi Adrian, and others reading this :blush:.

I have an advanced flow where I’m struggeling to use the Button+ (v1) properly, and I was wondering if you or anyone else can help me in the right direction.

To simplify:

1 trigger is monitoring my TVs power state, if powered on then set variable “TV on” to yes.

1 trigger monitor the left button on configuration 2 page 1, if turned on then set the same variable (TV on) to yes.

A variable change triggers another part of the flow, TV On is set to yes and stuff happen.

1 more trigger is monitoring my TVs power state, if powered off then set variable “TV on” to no.

1 more trigger monitor the left button on configuration 2 page 1, if turned off then set the same variable (TV on) to no.

Why multiple triggers you ask? Because the TV is sometimes started via remote control, sometimes via homey, sometimes via Button+ etc.

The problem is:

The Button+ button press creates a loop where the button switches from an off state to an on state (the TV turns on), but then the button immediately turns itself off, and then back on again.

How would you suggest setting this up to avoid this loop? Ideally, I’d like to be able to press the button on Button+ to power it on, and then either turn it back off a while later, or turn it off using the remote (and then the button should update its status to off).

Edit: Here’s a video showing the issue:

And here’s a few images showing the advanced flow:

Powering on:

Google Photos

Powering off:

Google Photos

Actions based on whether a power on, or power off action was triggered at the image below. The red icons at the far right that were cut off are the last cards in the chain, they send a command to the TV to set a specific HDMI input.

Google Photos

I’m also seeing a lot of these errors in the diagnostics log:

Google Photos

Could you open the app settings, change the Show Options For to Import and Export, Tap on Export and then copy the contents of the output and paste it into a text document. Then send it to me at ady@rockalls.uk

1 Like