I just updated to the latest version and found that the bug around setting and loading a temperature state is still there. Is the temperature attribute supported for the set and load attribute from state?
If so, is there a specific way to call and test it? I haven’t been able to get even storing the state of a temperature sensor to work.
I am new to CoRE and would like to create a piston that send me an audio notification to my siren of my garage door is open and keep sending the audio notification every 5 or 10 minutes as long the grage door open.Please be simple as much as you can since i am new and if there is a similar piston…would really appreciate itI need to know wht kind of piston type and what if statment i have to use.Thanks
yes, if the light is off and there is motion turn on. I’ve been able to easily able to accomplish this if motion triggers the light on, but in some cases motion is not what turned the light on, but I would like lack of motion to turn it off.
I that case use something as @eric182 has said above.
If the light is already on then all it will do when motion is detected is turn it on. (it already is so it doesn’t matter).
Then if no motion is detected after 5 mins it will turn off.
More than one way to skin a cat. Here is one of mine that also uses lux. Just leave that bit out.
As a senors becomes present in your logic you get:
if any of the three presence sensors change state in the last 5 minutes - TRUE on return to the house
AND if any of them are present - TRUE since we know at least one is home
then turn Switch to on - Switch is turned on.
If you want to have a pause try:
IF any sensor changes THENIF any sensor is present ON TRUE Using Location Wait 5 Mins -> Turn Virtual Switch On ON FALSE Turn Virtual Switch Off
BTW. The TCP - Cancel on piston state change is necessary. Otherwise the light will turn off regardless of motion continuing. This option will stop the timer and start it again if motion is detected within the 5 minute window.
I’ll try this again. However, it appeared that my issue was that when the light switch was triggered “on” from another event besides motion. The light would not turn off after set time, almost like the event wasn’t “active”.
How often does the IF statement run, if nothing is triggering it or is it polling all the time?
See my note above. I forgot to put it in my original answer.
“BTW. The TCP - Cancel on piston state change is necessary. Otherwise the light will turn off regardless of motion continuing. This option will stop the timer and start it again if motion is detected within the 5 minute window”.
I have recently installed a 2gig CT-100 thermostat and have set it up it running on a schedule using RBoy’s flexible Thermostat scheduler - because I wanted to get it going quickly. I don’t work a 5-2 schedule anymore so using a standard 5-2 scheduler wouldn’t work. It was always my plan to move all of the thermostat control onto CoRE because I wanted to use Home, Away and Vacation modes, as well as change both lighting schedules (already set up) and even change my flexible work schedules as needed ( I can work my 20 hours/week whenever I want). So, here’s my CoRE planning worksheet so far:
My normal work schedule is all day Tuesday and Wednesday and mornings on Thursday. Alternate days are Monday and Friday if I need to change my schedule. So, essentially, I’m planning to set up one CoRE piston with (6) sections one for each associated time. I’m thinking of using an Else-If piston but I think I could also use a Basic piston too with when true’s.