Adrian 6c48eeaf7f | ||
---|---|---|
.. | ||
README.md | ||
dn-0-hold-ct.rule.json | ||
dn-0-short-bri.rule.json | ||
dn-1-hold-hue.rule.json | ||
dn-1-short-sat.rule.json | ||
mem.sensor.json | ||
off-short.rule.json | ||
on-0-long.rule.json | ||
on-1-long.rule.json | ||
on-short.rule.json | ||
up-0-hold-ct.rule.json | ||
up-0-short-bri.rule.json | ||
up-1-hold-hue.rule.json | ||
up-1-short-sat.rule.json |
README.md
Dimmer Switch Ruleset for Color Control
This ruleset is a configuration that can change color and brightness for a group of lights. This may be the case in the bedroom.
The on and off buttons work as expected.
Pressing the on button longer (check indicator light) changes the mode of the brightness buttons:
- Mode 1:
- Short Up/Down: brightness
- Long Up/Down: color temperature
- Mode 2:
- Short Up/Down: saturisation
- Long Up/Down: hue
Devices
Install the memory sensor before proceding.
IDS="s/BASENAME/xxx/g; s/GROUP/xxx/g; s/DIMMER/xxx/g; s/MEMORY/xxx/g"
BASENAME
Basename of the rulesetGROUP
ID of the group to handleDIMMER
ID of the dimmer switchMEMORY
ID of the memory sensor