You can also try to disable the command optimization or just keep the wait you have if your happy. It does seem like timing as you have mentioned. Does the second block of your piston change the mode when the time trigger happens?
[/quote]
Yes, the second block does change the mode just fine. Thanks
I set this up last week while I was out of town and it worked really well.
One thing I did notice when I got back was that a few lights continued to come on and go off - even after I returned and set the mode to home, not “away”
I checked my notifications to make certain that the mode was set correctly - SHM is dependent on this too.
Is there something in the piston that making it continue to run once activated, even if the mode is changed? Any ideas on how I can fix it to stop running once I’m home?
Hello everyone, just came over from being a longtime Vera user. I’ve been able to wrap my head around most everything so far, but I’ve got a piston I’ve tried to create with no luck. I’m trying to turn my harmony hub controlled TV on automatically under certain condition
Basic piston
If basement motion is active
AND
either me or gf present
AND
time between 3pm and 4 pm, but only Mon,tues,wed,thurs,fri
AND
Harmony hub currentActivity is not {[Harmony Hub’s activities]}. (this apparently works when the hub has no activity going. It results true when simulating and everything off)
THEN
Using Harmony Hub
Start activity"Watch TV"
Here’s the problem, it doesn’t ever start Watch TV. Now when I get to the THEN portion, the Harmony hub is a choice which I select. Start activity is a function of the hub which I select, but I have to manually type Watch TV into the activity. That is the exact name of the activity. Even confirmed when simulating as it pulls the hub’s activities to compare them and states “Watch TV” as the name. I did notice that each of my activities lists an ID as a number, then the name, but Activity OFF lists ID “off”. Should I use the ID instead of the name?
Sorry for the info overload there, just wanted to give as much as I could to see if I missed something. I’d there some other way I should be getting CoRE to activate a harmony activity?
I have trouble getting my head around how to write pistons with complex (that is, non-trivial) logic conditions. I can easily lay out the logic of what I want to do but then I have trouble translating that into an appropriate piston type and setting up the conditions. Here’s a specific case.
When mode is AWAY (I know how to set the piston to run only in "away" mode),
IF Time is between 7am and 10pm
IF Illumination Sensor is <= 400
IF Living Room Light is OFF
Turn Living Room Light ON
END IF
ELSE IF Illumination Sensor is >= 600
IF Living Room Light is ON
Turn Living Room Light OFF
END IF
END IF
ELSE /* time is not between 7am and 10pm */
IF Living Room Light is ON
Turn Living Room Light OFF
END IF
END IF
Or, in English:
Between 7am and 10pm, if it’s dark out and the light is OFF, turn it ON.
Between 7am and 10pm, if it’s bright out and the light is ON, turn it OFF.
Between 10pm and 7am, if the light is ON, turn it OFF.
I just found the “Only execute during this time interval” restriction, maybe that will take care of most of it for me. But it still seems like I’ll have to have two pistons (7-10 and 10-7) when it seems like I ought to be able to do it all in one.
You can try to create an ELSE-IF piston
Add 2 conditions for the IF section
Time is between 7am and 10pm
illuminance sensor is less than or equal to 400lux
Then using Living Room Light add task Turn On, turn on Action restrictions Only execute when these switches are all off, choose Living Room Light
The rest of the piston just needs to follow your logic with similar configuration.
You should be able to put this is one piston. The Action restrictions helps to reduce a layer of IF
For the THEN part, don’t use the Harmony Hub, just choose Control lights, relays, or switches and choose the Harmony activity you want to turn on or off from the list.
I am trying to find/create a “Dim with Me” type app that would allow me to dim a Hue bulb using a Home Seer WD100+ dimmer. I have tried Dim with Me, Trendsetter, etc, but these apps have not worked. Any tips?
One a little crazy with creating pistons. This is really making my home a smart home. There is one piston I would like to create that does the following:
My presnse sensor changes to present
If there is movement on a motion sensor [Basement] within 10 mins then turn on a switch called Speakers and turn on several Hue light bulbs
if there is no motion within the first 10 mins then just turn on the Hue lights.
This should only be running Monday through Friday from 8 am to 5 pm
Basically I have a piston that does everything but the 10 minutes window period that will turn on the speakers if there is motion. That is the part I am struggling with. Any help would be aprreciated!
Hi All,
I’m needing help with this as it is not firing and I do not know why.
When the piston becomes true it seems to jump straight to the bottom of the piston in that I can see the timer running at the bottom, but I do not see anything against the other timers.
I have tried with and without the “0nly execute on codition state change” and also TCP.
Any ideas.
I don’t know if this is the please for feature requests. It would be nice to have among the RGB/W color presets the basic Philips Hue ones, namely “Relax”, “Read”, “Concentrate”, “Energize”, “Bright”, “Dimmed” and “Nightlight”. It would make it easy to automate things that matches what people manually do through the app. I don’t know if that is copyrighted or something…
Thanks
What type of piston is your current one?
You might want to change it to AND IF type, and add " If there is movement on a motion sensor [Basement] within 10 mins then turn on a switch called Speakers" to the And If part.
Been working with CoRE for the last few days and it’s been everything I wanted! Great work! My question though is, my dashboard stopped working. Was fine, tried rebooting. Tried resetting the security token or oauth, also tried the rebuild all pistons. All that seemed to do is break all my pistons, had to go back in and rebuild each of them individually. Any suggestions?