Action Group won’t stay on

Posted on
Fri Apr 23, 2021 2:22 pm
mikejandreau offline
Posts: 78
Joined: Jul 07, 2016

Action Group won’t stay on

Our new Sleep Number bed just arrived. I’m using the SleepyIQ plugin to control it from within Indigo.

Since there’s no HomeKit support, I wanted to add it myself through Homebridge.

I set up an Action group that changes the bed position to Watch TV and another Action Group that sets the bed to Lay Flat.

Then I added a Virtual on/off Device that sets on Action Group for On and the other for Off.

Then added that Virtual Device to HomeKit.

It works for “on” but won’t stay on. I press it, it switches the bed to position 1, but then turns off in the Home app, so I can’t turn it “off” to go back to the other position.

Any help would be appreciated.

Posted on
Sat Apr 24, 2021 1:58 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action Group won’t stay on

You either need to add a status variable and update the variable in each of the action groups, or add an action to each group to actually turn the device on/off using the Set Virtual On/Off Device State action.

Virtual On/Off devices don't automatically maintain their state, you have to do it yourself in the action groups.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Jul 25, 2021 4:11 am
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Action Group won’t stay on

Maybe I have a similar issue: I've python script I would like to start using a HomeKit button. It should stay "switched on" the time the script is running. Where can I update the status of this HomeKit button?

Best regards

Bildhauer

Posted on
Sun Jul 25, 2021 11:31 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action Group won’t stay on

Whatever Indigo device is being presented as the HomeKit button needs to have its status updated. If it's a Virtual On/Off device (as specified in the OP) then you need to update the state as specified in my post above.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Jul 25, 2021 12:56 pm
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Action Group won’t stay on

Do you have an example how to "to do it yourself in the action groups."?

Thanks in advance!

Bildhauer

Posted on
Sun Jul 25, 2021 2:46 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action Group won’t stay on

It's the first sentence of that post - add the action to set the state to your action groups...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Jul 25, 2021 4:50 pm
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Action Group won’t stay on

Please give an example. I do not understand what you mean!

Posted on
Mon Jul 26, 2021 9:23 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action Group won’t stay on

You Add a new Action to one of your action groups. For the Type of the action select Device Actions->Virtual Device Controls->Set Virtual On/Off Device State. Select your virtual device from the Device popup and in the action settings specify on or off as the new state.

You might want to review the documentation as it will give you the basics of Indigo operations like this.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests