CoRE - Get peer assistance here with setting up Pistons

Ok. got it. I have played around with double tap but with that I cant control the color / color temperature of the bulbs. Therefore I wanted to move to Core for my usecase to make lights go to some default color.

Any idea with my second issue ? It is driving me insane.

  1. most of the times, 1 of the 2 bulbs changes the color. in smart things UI, the device says it has the new color but actually it is not. (it is the previous dimmed color setting when I turned off the lights). I split out the bulbs into individual actions, but still same issue

You would need to follow @eibyer comment and check live logs to see that if the bulb is already on and you click on again if it sends the command again.

I currently have an audio device that will play different tracks when SHM changes to a certain state-- “Security system is now disarmed”, “Security system is now armed and away”, “Security system is now armed and home”. That’s basically triggered any time SHM changes to one of those states. I’m using CoRE for this and it works great.

I have a keypad, that when used to arm the system, will delay the arming 40 seconds. If you watch the keypad device in STs after it’s been used to arm, you’ll see it change its status to “DelayedArmed”. The keypad then beeps for 40 seconds, then it arms SHM. My goal is to create another audio alert that would fire when this change happens to DelayedArmed, that would announce “Security system will arm in 40 seconds. Please exit now.”

My thought was when the keypad receives the command “setExitDelay” that I could trigger an action to play that track from my audio devices. But I’m not sure how I’d go about doing that. I can see different Events happening on that device, so is there a way to create a piston that executes something when device receives a specific command? Any help would be greatly appreciated. I’m really close to the wife being happy with how this all operates. :slight_smile:

What device handler does your keypad use? Maybe that will be able to give a clue as to what event to watch for :slight_smile:

It’s this device, and device handler:

I got that, I am talking about the other issue where 1 of the 2 bulbs randomly does not change the color (even though the device in smart things ide shows as having the correct color.

Thanks, create a basic piston like this one to see if you get the value setExitDelay in the push message.

IF
● Keypad lastUpdate changes
When true…
Using location…
► Send Push notification ‘Keypad lastUpdate value: {$currentEventValue}’

What capability would I be selecting in the condition?

Oops, I deleted my original text. Use “Sensor”, attribute “lastUpdate”.

See, now I’m running into the same issue I was having in the other thread. I don’t have the option of “attribute”. What am I missing here? I’m using iOS.

Strange, I just loaded the dh from the link you gave me. I’m on Android. Hmm

What could be causing this? Can someone with iOS confirm that they have the Attribute option?

Hmm, wait, when you click Comparison, what do you get?

I’m stumped :slight_smile: After I select Comparison, Attribute shows above it where I select the attribute Current version of CoRE?

So strange. Are you using CoRE Version v0.3.169.20170104

Yep, same one. I thought we’d be able to figure out the initial issue but this has me scratching my head lol. I’d say ditch iOS but that’s too extreme :stuck_out_tongue_closed_eyes:

Edit: Enable Expert Mode was our issue for the curious :smiley:

Well, I’ve got an Android device sitting right here. Let’s take a look…

1 Like

I have a bunch of setting like chimes and welcome home phrases but notice that they sometimes are delay by minutes. Is there a way to stop the piston so they don’t do that. An example would be that my door chimes when you open it but sometimes is delay. Would want it to cancel the chime if I close the door behind me.

I created a piston that will flash my lights when one of my presence sensors changes to Present. This works, but I also have an I’m back routine that will run automatically whenever someone arrives.

The piston is firing when it’s supposed to, but the routine doesn’t seem to be going off according to my notifications. Any idea what I’m doing wrong or if I can set it up differently?