Gisle Aune
3 years ago
20 changed files with 313 additions and 74 deletions
-
75app/api/devices.go
-
19app/client/client.go
-
2app/client/handler.go
-
10app/services/bridges.go
-
9app/services/events.go
-
17app/services/publisher/publisher.go
-
14app/services/publisher/scene.go
-
12cmd/lucy/command.go
-
10cmd/lucy/handlercmd.go
-
18cmd/lucy/scenecmd.go
-
31cmd/lucy/tables.go
-
4models/colorvalue.go
-
3models/device.go
-
23models/eventhandler.go
-
8models/scene.go
-
6scene-examples/evening.yaml
-
17scene-examples/flash.yaml
-
23scene-examples/late.yaml
-
4scene-examples/morning.yaml
-
42scene-examples/saturday.yaml
@ -1,9 +1,26 @@ |
|||||
name: Flash |
name: Flash |
||||
interval: 0 |
interval: 0 |
||||
roles: |
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 |
- effect: Static |
||||
power_mode: Device |
power_mode: Device |
||||
target_kind: All |
target_kind: All |
||||
target_value: "" |
target_value: "" |
||||
states: |
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