CoRE - Get peer assistance here with setting up Pistons

I am trying to wrap my head around core, I have some really simple pistons running to handle my mini mote,

Please help me with something simple. I have a bathroom with motion sensor, a switch for fan, a dimmer for fanlight, and a dimmer for main light.

what I want to happen is this.

when mode is “home” or “away” and bathroom motion sensor detects motion, turn on fan, fanlight (100%) and main light (100%) then turn off all after 20 minutes
when mode is “night” and bathroom motion sensor detects motion turn on fanlight (10%) and then turn off after 10 minutes

I know I should be able to figure this out, but I just have not been able to quite grasp basic, simple, etc pistons.

Thanks for any help… And may your xmas tree (if you celibate xmas) have all your home automation wishes underneath it.

I can’t get this to work… My Lights will blink, but do not change color to correct color, they just keep going red… And then do not return to original state…

Attached is what I have… I don’t know what the issue could be.

I would suggest increasing the time to 3 secs for the flash to see if it will work. Also try changing color to blue instead of transition to while testing.

I can’t get the color to change at all… No matter what color I try… Even if I set just color and nothing else in a Piston it doesn’t change… The Hue changes if I adjust that in core.

Also, are you using the app Hue B Smart app? Or the default Hue set up?

I’m using the stock hue app.

How am I able to set a Piston to check if a switch has been off for 24 hours? The max I can set is 360 minutes.

Thanks,
-Rob

How are you grouping bulbs? Are you grouping bulbs?

I’m trying to change my living room lights but they are 6 bulbs in the living room.

You are able to select all bulbs during the piston creation, so any action the tasks is supposed to do will be applied to all.

Ya but doesn’t the piston then turn on single bulbs at one time, and not all together?

I only use 2 so I don’t really notice if there is a delay.

Anyone else in here using multiple Hue Bulbs in Core? I’m going to try and switch away from Custom DTH and go to the stock one.

I changed timeOptions from 360 : 360 to 1440 : 1440. Not sure the impact of this change or if it will even work or not but that extends my available hours from 6 to 24. I would love to see the cmd_wait features here with Time and Unit with Seconds, Minutes and Hours rather than 360 minutes listed all in a row.

Regards,
-Rob

Hi,

REALLY new to CoRe. Trying to wrap my head around it but understand what it can do. I need help.

I am using PlexPlus to turn on switches and lights when Plex is playing on my Mi Box. What I would like is to have CoRe turn on that PlexPlus “room” when a specific Harmony activity is started.

I cannot seem to figure out how to get CoRe to see PlexPlus and the room profile I have it set-up.

I have 10 Hues with the stock handler. What are you hoping to do?

I’d remembered bookmarking this older @bamarayne post regarding capturing Hue bulb states to global store. Maybe it may help?

CoRE - Get peer assistance here with setting up Pistons

And regarding grouping bulbs so there’s no delay in turning on: I use virtual switches to group sets of lights through the ST Smart Lightng app.

1 Like

Lisa,

Thanks for the help… What I was trying to do is as follows.

If my doorbell rings I was trying to switch my living room lights (6 color Lights) to a different color, possibly have them flash then return to normal state.

Are you doing anything similar to this?

Right now I cannot get the state to return; or get the color to change, however I think i know why the color isn’t changing the custom DTH Hue B Smart colorchange isn’t functioning properly…

Also when using your set up, do your bulb states update?

Hi I’m look for advice to do with datetime and variables. I have the GCal smartapp. I can get the datetime of the next point the event will happen from the openTime attribute of the device. I want to perform an action 1 hour before the datetime in the openTime attribute. Can anyone advise how to set up this trigger? Thanks.

So far I have tried using variables without success and also “is equal to $now” with an offset but I don’t really understand how the offset works with a datetime.

Hmm, tried it but the condition which checks if the presence was away for atleast 5 mins shows up as false whenever the sensor becomes present. I tried a few different versions and can’t get it to only run if both presence was away for atleast 5 mins. I basically have a presence sensor on my car key and my car, and want the garage door to only open both sensors are back after being away for atleast 5 mins. It prevents false positives.

I have automatic color loops but not flashing lights. I had the same problems you’re facing when I used a custom DTH. I’d used one for the scene capability, but realized I lost the CoRE customization.

I uninstalled the custom and now using a slightly modified standard DTH that you can find here:

For scenes, I also use CoRE. It’s a bit more work to recreate them, but it’s a good tradeoff for CoRE capabilities.

Good luck!