Sunrise rule?

Fredrik Westlund shared this question 9 years ago
Answered

Do you know how to set up a rule that turns

on a lamp at six in the morning and turns it

off at sunrise? at summer time the sunrise appears before

six in the morning and at that time season the lamp should be turned off .

Replies (5)

photo
1

Hi!


Thanks! But that was not my question. Do you know how to create the senario I described above?

photo
1

Hi Milan!


Thanks for the answer! I have already done two rules like this, but it doesn´t work when sunrise appears before six a clock, then the light will turn on but never turn off. regards /Fredrik

photo
1

Thanks a lot Niels! We have this proverb in sweden too :) "En bild säger mer än tusen ord"


One more question, how do you create virtuel sensor for sunrise?


Regards


/Fredrik

photo
1

Thanks!

photo
1

Thanks a lot Niels! I will try that!

Leave a Comment
 
Attach a file