Compare commits

...

No commits in common. "ce1851cf5a4f5fc58f19507d90fc6cd623737535" and "2e1ea0e6c6ba03e0c596b12f2a6ac43e8d0e6ba4" have entirely different histories.

20 changed files with 9 additions and 82 deletions

View File

@ -1,31 +0,0 @@
# Dimmer Switch Ruleset for Two Light Groups
This ruleset assumes two light groups inside the same room.
The on button first turns on one group and then the other.
So does the off button in reverse order.
The lights are only switched on without changing
the previously configured state.
The lights can be reset to a bright but confortable mood for the evening
when pressing the on button longer.
Pressing the brightness buttons change the brightness,
holding the brightness buttons change the color temperature.
## Devices
```sh
# IDS="s/BASENAME/xxx/g; s/GROUP1/xxx/g; s/GROUP2/xxx/g; s/DIMMER/xxx/g; s/MEM/xxx/g"
```
Install the memory sensor and note its ID before proceding.
Use the `mem.sensor.json` file, replace the `BASENAME`, and POST it to the /api/KEY/sensors URL.
* `BASENAME` Basename of the ruleset
* `GROUP1` ID of the first group to handle
* `GROUP2` ID of the second group to handle
* `DIMMER` ID of the dimmer switch
* `MEM` ID of the memory sensor

View File

@ -1,8 +0,0 @@
{
"name": "BASENAME.mem",
"type": "CLIPGenericStatus",
"modelid": "Adrium Memory",
"manufacturername": "Adrium",
"swversion": "1.0",
"uniqueid": "d0:ac:4e:d3:93:3b:7a:00-01"
}

View File

@ -16,14 +16,14 @@
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"ct_inc": 24
"ct_inc": 100
}
},
{
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"ct_inc": 24
"ct_inc": 100
}
}
]

View File

@ -16,14 +16,14 @@
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"bri_inc": -25
"bri_inc": -16
}
},
{
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"bri_inc": -25
"bri_inc": -14
}
}
]

View File

@ -27,6 +27,6 @@
"bri": 203,
"ct": 357
}
}
},
]
}

View File

@ -16,14 +16,14 @@
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"ct_inc": -24
"ct_inc": -100
}
},
{
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"ct_inc": -24
"ct_inc": -100
}
}
]

View File

@ -16,14 +16,14 @@
"address": "/groups/GROUP1/action",
"method": "PUT",
"body": {
"bri_inc": 25
"bri_inc": 16
}
},
{
"address": "/groups/GROUP2/action",
"method": "PUT",
"body": {
"bri_inc": 25
"bri_inc": 15
}
}
]

View File

@ -1,19 +0,0 @@
# Simple Motion Sensor Ruleset
This ruleset is a simple configuration that turns on a
group of lights when the motion sensor registers movement.
It does not trigger an action, if a light in the group is already switched on.
In the night, it only turns on the lights dim.
## Devices
```sh
IDS="s/BASENAME/xxx/g; s/GROUP/xxx/g; s/MOTION/xxx/g; s/AMBIENT/xxx/g"
```
* `BASENAME` Basename of the ruleset
* `GROUP` ID of the group to handle
* `MOTION` ID of the motion sensor
* `AMBIENT` ID of the ambient light sensor inside the motion sensor

View File

@ -1,15 +0,0 @@
# Simple Tap Button Ruleset
This ruleset is a simple configuration that turns on a
group of lights with an increasing brightness on the buttons.
## Devices
```sh
IDS="s/BASENAME/xxx/g; s/GROUP/xxx/g; s/TAP/xxx/g"
```
* `BASENAME` Basename of the ruleset
* `GROUP` ID of the group to handle
* `TAP` ID of the tap button