Thank you so much!
I have expirmented a little bit with the Daylight sensor and want to share some insights before releasing the update.
- you can add the daylight sensor to an automation and use 2 states to trigger an automation: day and night
- the automation only triggers when the state changes. So if you create an automation at day that should trigger at daytime it will not trigger immediatly but on the next change night → day
- you can switch your lights off manually after the automation triggered (what is not possible when you use other sensors in automations because the lights will allways switch on again when the trigger conditions are met)
- The automation that only contains the Daylight sensor will not trigger when an active time segment changes (the time segments only determine when an automation is active and when not.)
- you could combine the automation with a schedule to e.g. put all lights off at a certain time
This sounds very promising - thank you so much!
There is one thing that I have not fully understood: Here we are talking about the Phoscon app. Will this also be available in the browser-based GUI?
Anyway, I am looking forward to testing the daylight sensor with automations, e.g. switch lights on in the evening and off in the morning, both depending on changing daylight across the year. As it changes only by approx. 2 minutes per day, I will have a closer look.
The Phoscon App exists as a native app for iOS and Android and as a web app for browsers. It is basically the same although there can be slightly differences in which version is the current one.
I will make a new release for Android this week. iOS will follow. And the browser app which is shipped with deCONZ will have to wait for the next deCONZ beta release.
Hello Community,
after reading some Topics related to day times i ran into the exactly Problem BEJacobsen had.
But if i can, i will help to fix this issue.
My struggling setup consists of a ConBee II with actual Firmware and deconz/phoscon 2.28.1 running just fine on Ubuntu execpt the day times beavior.
With the older Deconz an Sensorsteuerung the exact Setup works as fine for years.
The Callenge is as follow:
3 Zigbee Lamps in different Groups for different constellations.
My Automations as follow
Flur Morgens → all three Lamps in Group
(dim 80% for 5min → 50% → then off Active Times “Morning”)
Flur Tagsüber → 1 Lamp in Group (dim 20% → after delay off , Active times “Afternoon”
Flur Nachts → all three Lamps in Group
( dim 5% → after Delay Dim1 → then off , Active Times evening , night)
As Trigger there is an Philips Motion Sensor installed an Triggers all automations (perhaps this is the glitch? )
Maybe i misunderstand the concept of the Automations trigger but it works independent of each other.
If i deselect all Times no Automation kicks in → as expected.
If i select only one Automation in Active Times it works
But if i select the given Automations to the given Times i can see that for e.g. the Active Time is Evening , so that “Flur Nachts” shuold be Active.
So when i watch then the Automation for “Flur Morgens” i can clearly see, that this Automation ist triggered too. This leading to , Blinking Lamps because of the rapidly fight of the 80% Dim from “Morning” vs. the 5% dim from the “Nachts” .
Sorry for the Long text an explanation but i would provide as much as information to fiddle out whats going wrong.
Greets
Michael
I am also interested to learn how this is supposed to work.
I fiddled around with the new automations to have various light scene switches during the day
- A bit dimmed yellow in the morning
- Bright yellow before noon
- Bright white till afternoon
- Yellow in the evening
- Off during night
I have given up, because I have not understood what to do to make it work, and went back to the old way of controlling scenes. However, these times are fixed, so I have to adjust them over the year with the changing sunrise and sunset times. This is indeed a bit frustrating, knowing that there is a virtual sun sensor and that there are automations - but I cannot see how they could help me. Is it just me?
No hints for us users who struggle with this concept of automations and simply want to change (light) scenes during the day depending on season/sun state?
Hello!
Is there a user/expert of deCONZ/Phoscon, who can share their thoughts about how to control light scenes depending on (shifting) daylight times? Thank you so much!
Hi sry, I missed the new contributions to this thread.
So here’s a short explanation:
I added the daylight sensor to the automations page so it can trigger the automation at two different time points: dawn and sunset.
These are the two triggers that you can select when choosing the daylight sensor at the automations page. Please note that ont the next tab all time slots must be checked. So that the automation is always active. It will just trigger when the sensor trigger changes (at dawn and at sunset).
I found out that there is a better solution to implement a time based automation. That is not using the daylight sensor but the 4 time segments could be used to trigger the automation. But it needs a little bit more work and I will presumably implement it start of the next year.
@ChrisHae
Are we bound to the 4 time segments? Would it be possible to adjust (lights scenes) schedules just continuously (“follow the sun”), i.e. without a need to check into which day/time segment the scheduled scene falls into?
In other words: Could we tune lights (e.g. tunable white) “physiologically”, i.e. switch on in a dimmed yellow mode with sunset (or sunset +/- some user-customized offset) and then gradually increasing dim to 100% (or a user-customized maximum) and color temperature to e.g. 6500 K (or a user-customized maximum) and then ramp that gradually down again towards sunset, and then switch off at a user-customized time?
I hope that it makes sense to you (and others) what I have on my mind. If it is possible, is another question, of course. Maybe too complicated? Then the approach with 4 time segments would already help a lot.
Anyway, thank you so much for your time and support!
This is a little bit off-limit of the whole daily schedules/ automations thing. This sounds more like some experimental daylight temperature sensor stuff. But it is not something we are working on in the nearby future.
But I could add the option to let the user create more time segments in between the standard 4.
Thats something I could also add sometime next year.
That sounds good, too - thank you for considering more periods.
Meanwhile, I will experiment with Home Assistant, where I have the deCONZ integration running. Maybe it is also possible with HA automations, as they have some virtual daylight sensor, too (sun entity).