Apparently the âSpecial Timesâ have changed. Now itâs âsunset till Midnight â. I want my scene(meshbot) to trigger all night long. Is there a work around for this?
Thanks
Bill
Now the sunset option only says from âsunset till midnight â. Does that mean it stops triggering at midnight?
Bill
Hi @BillC
Your screenshot doesnât look quite right at first glance. It should be more like as @osman suggested:
⊠the above should achieve your basic goal of âon through the night and off during the dayâ.
Hi Paul,
I had an extra trigger in there. That might be causing confusion.
I have a dry contact sensor on a driveway alarm. I want the lights to turn on when the driveway alarm is tripped. But only during night time hours. Here is the entire thing. I may be confusing the whole the thing.
this is what i have now.
Hi @BillC
You need to create a group for the Datetime triggers and connect them using âORâ check our examples above.
And you connect the group with the DW sensor with âANDâ
so it will mean that either it is âsunset to midnightâ OR âmidnight to sunriseâ (which means to cover them both)
AND the sensor is closed.
OK, I have made the changes. If I hit the play button on the 'bot during the target time, will it obey the trigger or just run the 'bot regardless? trying to test without driving up and down the driveway.
I may need a new topic for this, let me know if I do. I am trying to turn the lights back off after a certain time after this 'bot is triggered. If I hit âdelayedâ, it grays out the save button. Are there some restrictions on using the âdelayedâ option?
1- When you hit the play button , it runs the bot regardless of the trigger.
2- Does the dry contact sensor comes back to open state after the alarm event finishes ?
Yes. Itâs just a momentary closure
Ok then you can use the FOLLOW function to keep the trigger state TRUE for x amount of time (how many seconds/minutes you like)
And use the FALSE side of the actions to turn the lights OFF when the sensor opens again.
Perfect!!
Thanks
Hi @BillC
Paul already showd how triggers should be
You need from âsunset to midnightâ +(OR) âfrom Start of the day until Sunriseâ = to call it a âNightâ
âFrom sunrise Until Midnightâ Intersect (AND) âFrom Start of Day Until Sunsetâ = to call it a âDayâ
Sorry for my denseness. I am sure Iâm over thinking this.
So does day mean sunrise to sunset or midnight to sunset?
I thought about sunrise to sunset. But yours can be done as well. Just use âFrom start of day Until sunsetâ alone.
Ok thank Iâm just looking for daylight hours, so Iâll go with your scheme.
Thanks
I tried just sunrise to midnight and at midnight it said it was day at midnight
I tried only using the âFrom start of day Until sunsetâ and it still called it day at midnight.
I am looking to determine basically only daylight hours
Using hard coded times, are a pain because i have to keep changing them.
what am i doing wrong? I am using the two bots, âIs it Dayâ & âIs it Nightâ
Those two set two variables to either night or day
Then, the bot âTemp Testing Daylight Triggersâ will announce the result of looking at the two variables (IsDay" & (IsNight) and trigger a notification and toggle a light based on result.
Is this where I am messing up?
Iâve changed it around so much I have confused myself
Hi @BillC ,
Here is a more detailed explanation. So lets go for only âDaylightâ time or âWithout Daylightâ time. Tell me if you want anything else.
This is what you can select as an option about âSunriseâ
This is what you can select as an option about âSunsetâ
So In order to create a combination to understand where âNO DAYLIGHTâ
You need to select two options and combine them (EITHER of them should be TRUE at any given moment). This is called âORâ operator in logic.
And In order to create a combination to understand where there is âDAYLIGHTâ
You need to select two options and make them INTERSECT (so both should be TRUE at the same time at all times) . This is called âANDâ operator in logic.
So these can be separate meshbots to set variables about day /night time.
However, you can just select one scenario and put the setting of the oppposite variable in the âFALSEâ section of the meshbot
Like: