I have a very simple question. When is vera in day and when in night? In other words, how van I see when (at what time) the day or the night will “kick” in.
Also in order for the day or night plugin to work I would like to know the time the day or night will start.
Where can I see that?
Aditionally: I remember my Vera showing blue top border when day and something else at night. But now the day and night pluging is showing “night” and the bar is blue… Did I mis something here?
The Day or Night plugin allows offsets (in either direction) from sunrise/sunset as determined by the location you set up under Setup->Location. The default Vera function is sunrise/sunset without offsets.
Ih8gates that is not an answer to the question at all. The question is when will it will be day (what time) amd and when it will be night (what time). After that I can offset those if needed.
Vera’s concept of day and night loop.is_night() is based on night being from sunset to sunrise. The sunset and sunrise times change near daily. They are calculated for the location that you configured on your Vera, which is why you enter a city or Lat. Lon. coordinates.
Vera does not display this time anywhere in the GUI. However, your local sunset and sunrise times are typically reported by your local television news, newspapers, or you can lookup the time for any area at places this website. There are also many software packages and hardware weather stations that display this information.
It’s a pity that the day and/or noght time isn’t shown anywhere… just “to know” when a scene will kick in and how many exact minutes to “offset” the day or night plugin.
Maybe something for Richard T to add in to the plugin!?
The scene will kick in at sunset. Knowing that sunset is at 5:30 today isn’t really relevant when creating a scene because sunset will be at 5:38 by week’s end. You know, Earth orbit, axial tilt, and all that.
The actual time of sunset changes every day, though with Vera’s one minute precision it might seem like a couple of days between changes in sunset time. If you need a specific time for your scene, then use a schedule instead of day/night. Day/night(sunrise/sunset) are continually variable.
You can check it on the dashboard in the overview pane. At the bottom it shows the upcoming schedules. Whatever scene you have using the sunset/Sunrise will show the exact time.
Try creating a scene that is scheduled to go at sunset and sunrise. You can leave the devices empty.
After you create it, if you go to the ‘automations’ tab and select ‘schedules’ the scenes appear with the last time run and their next scheduled time to run.
If this Upcoming schedules pane is not shown you can use the configuration button at the bottom of the overview to customize it and select the upcoming schedules to be displayed. it will show the exact time of any scene using Sunrise / sunset. Seen enclosed example