# Ephemerides with offset

**URL:** <https://community.gladysassistant.com/t/ephemerides-avec-offset/7288>\
**Category:** Demandes livrées\
**Tags:** scene-trigger, scene, feature-integration\
**Created:** [May 13, 2022, 8:36pm UTC](https://community.gladysassistant.com/t/ephemerides-avec-offset/7288 "2022-05-13T20:36:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabic](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/f/a698b9/32.png) [@Fabic](https://community.gladysassistant.com/u/Fabic)\
**Post date:** [May 13, 2022, 8:36pm UTC](https://community.gladysassistant.com/t/ephemerides-avec-offset/7288/1 "2022-05-13T20:36:15Z")

</div>

I suggest adding an automatic calculation of the ephemeris day/night times (sun 6° below the horizon) based on the GNSS position of the dwelling, plus the ability to apply an offset (+ or -) to both calculations to trigger before or after the theoretical time.

This feature would allow replacing light sensors for certain uses. For example, to raise and lower shutters automatically, power outdoor lighting …

Sensors are fine but are nonetheless a potential source of failure!

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [May 13, 2022, 9:07pm UTC](https://community.gladysassistant.com/t/ephemerides-avec-offset/7288/2 "2022-05-13T21:07:24Z")

</div>

We already have the sunrise and sunset based on the geolocation of your home. Is that it or are you asking for something else?

 ![Screenshot_20220513_230529](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/894b4678e0ab1a313428d50e45ac8e84305b6ec0.jpeg)  
 ![Screenshot_20220513_231126](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/89980bdfe8f7a04a89c369077b6d168d3c6f9547.jpeg)

---

<div class="post-metadata">

**Author:** ![Fabic](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/f/a698b9/32.png) [@Fabic](https://community.gladysassistant.com/u/Fabic)\
**Post date:** [May 14, 2022, 6:30am UTC](https://community.gladysassistant.com/t/ephemerides-avec-offset/7288/3 "2022-05-14T06:30:09Z")

</div>

Yes. I hadn’t seen it in the docs, sorry.

We can do everything except trigger it earlier. You can close the request.

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [May 14, 2022, 7:31am UTC](https://community.gladysassistant.com/t/ephemerides-avec-offset/7288/4 "2022-05-14T07:31:37Z")

</div>


