Ultercocker needs some help

Posted on
Tue Sep 06, 2022 3:35 pm
dfiedler offline
Posts: 63
Joined: Mar 19, 2006

Ultercocker needs some help

Need to program z-wave device to be on or off if two other devices are on or off.

It either A or B is on then C is on.

If both A and B are off then C is off

Posted on
Tue Sep 06, 2022 6:11 pm
Different Computers offline
User avatar
Posts: 2549
Joined: Jan 02, 2016
Location: East Coast

Re: Ultercocker needs some help

Is this about when A and B TURN on, or any time both ARE on? The former is easy to catch, the latter not so much.

Depending on what C is and whether or not it reports its status to Indigo, I’d do two triggers for the first part, assuming it DOES report:

Trigger 1: When A turns on, turn on C, IF C is not on.

Trigger : When B turns on, turn on C, IF C is not on.

Trigger 3: if A turns off, AND B is off, turn off C

Trigger 4: if B turns off, AND A is off, turn off C

The “AND” parts are conditions on the trigger

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Wed Sep 07, 2022 6:55 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Ultercocker needs some help

I've had good luck creating Indigo Virtual Devices of the "Model" type "Device Group" which allows you to add multiple other devices to create a single, virtual device. It also has an option that the Virtual Device will be "On" when either all of the underlying devices are On or when just one of them is On.

So, it might work for you to create a Virtual Device using A and B, then set the On status of the Virtual device to "When Any Device is On". Then, just create a trigger based on the Virtual Device's status because it will be On if either A or B is On, but will be Off is both are Off.

Posted on
Wed Sep 07, 2022 3:04 pm
Different Computers offline
User avatar
Posts: 2549
Joined: Jan 02, 2016
Location: East Coast

Re: Ultercocker needs some help

Ohh, yeah! Virtual devices is a much better idea!

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests