I want to change the color of the light bulb with time.
For example, if it’s 6 o’clock in the evening, the light color is red, if it’s 7 o’clock in the evening, the light color is blue…
I think it will be done with scripts.
How to doit?
Create a new rule, that’s triggered by time and set the color accordingly
Is rule triggered by the time everyday?
I want to know how to write the rule about the time of date, and gradually changing the color.
thank you.
Please have a look into the documentation and try to setup a rule via the user interface, this would answer most of the basic questions
Rules | openHAB
The easiest is to use Blocklies: Rules Blockly | openHAB
see Getting started with Blockly
This can be done within 2 minutes:
When creating the rule use “Time Event”
and then at a fixed time of the day
and then create this blockly rule (note that you need to be on 3.3 to use the HSB-Block)
thank you!
this is my answer needed!