Gisle Aune
3 years ago
20 changed files with 313 additions and 74 deletions
-
79app/api/devices.go
-
19app/client/client.go
-
2app/client/handler.go
-
10app/services/bridges.go
-
9app/services/events.go
-
19app/services/publisher/publisher.go
-
26app/services/publisher/scene.go
-
12cmd/lucy/command.go
-
10cmd/lucy/handlercmd.go
-
18cmd/lucy/scenecmd.go
-
37cmd/lucy/tables.go
-
4models/colorvalue.go
-
3models/device.go
-
35models/eventhandler.go
-
10models/scene.go
-
6scene-examples/evening.yaml
-
19scene-examples/flash.yaml
-
23scene-examples/late.yaml
-
4scene-examples/morning.yaml
-
42scene-examples/saturday.yaml
@ -1,9 +1,26 @@ |
|||
name: Flash |
|||
interval: 0 |
|||
roles: |
|||
- effect: Static |
|||
power_mode: Device |
|||
target_kind: Tag |
|||
target_value: Nanoleaf |
|||
states: |
|||
- intensity: 1 |
|||
color: hs:220,0.1 |
|||
|
|||
- effect: Static |
|||
power_mode: Device |
|||
target_kind: Tag |
|||
target_value: Hue |
|||
states: |
|||
- intensity: 1 |
|||
color: k:6500 |
|||
|
|||
- effect: Static |
|||
power_mode: Device |
|||
target_kind: All |
|||
target_value: "" |
|||
states: |
|||
- intensity: 1 |
|||
- intensity: 1 |
|||
color: hs:0,0 |
@ -0,0 +1,42 @@ |
|||
name: Saturday |
|||
interval: 700 |
|||
roles: |
|||
- effect: WalkingGradient |
|||
power_mode: Device |
|||
target_kind: Tag |
|||
target_value: Hexagon |
|||
interpolate: true |
|||
relative: false |
|||
order: +name |
|||
states: |
|||
- color: 'hs:220,0.5' |
|||
intensity: 0.25 |
|||
- color: 'hs:220,0.5' |
|||
intensity: 0.30 |
|||
|
|||
- effect: Random |
|||
power_mode: Device |
|||
target_kind: Tag |
|||
target_value: Square |
|||
interpolate: true |
|||
relative: false |
|||
order: +name |
|||
states: |
|||
- color: 'hs:220,0.6' |
|||
intensity: 0.15 |
|||
- color: 'hs:220,0.55' |
|||
intensity: 0.16 |
|||
- color: 'hs:220,0.5' |
|||
intensity: 0.20 |
|||
|
|||
- effect: Static |
|||
power_mode: Device |
|||
target_kind: All |
|||
target_value: '' |
|||
interpolate: true |
|||
relative: false |
|||
order: +name |
|||
states: |
|||
- color: 'hs:250,0.7' |
|||
intensity: 0.3 |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue