We have moved at community.getvera.com

Author Topic: Sunset / sunrise possible  (Read 1115 times)

Offline DavidDeSloovere

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Sunset / sunrise possible
« on: December 05, 2014, 12:10:35 pm »
Hi guys,
Is there any way to trigger things on sunset/sunrise?

Offline Z-Waver

  • Master Member
  • *******
  • Posts: 4437
  • Karma: +249/-120
Re: Sunset / sunrise possible
« Reply #1 on: December 08, 2014, 08:11:13 am »
Yes, there is. Have a look at scheduling scenes.

You may also be interested in the LUUP function luup.is_night. It's discussed pretty comprehensively on this forum.

Offline djrakso

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +1/-0
Re: Sunset / sunrise possible
« Reply #2 on: December 23, 2014, 11:20:33 am »
Yes, there is. Have a look at scheduling scenes.

You may also be interested in the LUUP function luup.is_night. It's discussed pretty comprehensively on this forum.

My motion sensors are set up that after sunset the lights will turn on if there is movement. However, what I noticed that the default UI7 setting schedule to after sunset does not work. It still functions after sunrise....
If I install this Day or Night plugin or append this LUUP function mentioned above, will this not allow the lights to turn on when there is movement during the day time?

Offline RexBeckett

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3891
  • Karma: +483/-12
Re: Sunset / sunrise possible
« Reply #3 on: December 23, 2014, 02:26:37 pm »
Quote
If I install this Day or Night plugin or append this LUUP function mentioned above, will this not allow the lights to turn on when there is movement during the day time?

You don't need to install the Day or Night plugin to use the luup.is_night() function. There is more explanation in Conditional Scene Execution.