Hi @Wolfgang_S,
thanks - that was quick and got me in the right direction, I think.
After a bit more digging, I came up with this:
rule "LimitAussenlichtMorgen"
when
// s m h d M dow y
Time cron "0 0 6 * * * *"
then
// before switching on the light, check
// that the sun has not yet risen
var day_start = (Sun_rise_StartTime.state as DateTimeType).getZonedDateTime()
if ( ( now().isBefore(day_start) ) ) {
Aussenlicht.sendCommand(ON)
}
end
I guess this should work; will see tomorrow.
Thanks a lot!
Cheers
Marco