Files
fresh-home/components/rest_commands/emmett_wled_presets.yaml
T
2024-04-14 14:08:56 -04:00

59 lines
3.7 KiB
YAML

emmett_clear:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 255, "seg": [ { "id": 0, "start": 2, "stop": 1}]}'
emmett_on:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 255, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 0, 0, 0, 255 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] ], "fx": 0, "sx": 128, "ix": 128, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'
emmett_ceiling_on:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 255, "seg": [ { "id": 0, "start": 142, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 0, 0, 0, 255 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] ], "fx": 0, "sx": 128, "ix": 128, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'
emmett_dim_read:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 20, "seg": [ { "id": 0, "start": 42, "stop": 141, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 0, 0, 0, 255 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] ], "fx": 0, "sx": 128, "ix": 128, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'
emmett_bedtime:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 1, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 255, 160, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] ], "fx": 115, "sx": 55, "ix": 206, "pal": 13, "sel": true, "rev": false, "mi": false } ] }'
emmett_bouncing_balls:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 126, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 255, 160, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] ], "fx": 91, "sx": 128, "ix": 128, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'
emmett_fireworks:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 2, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 255, 160, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] ], "fx": 90, "sx": 128, "ix": 1, "pal": 6, "sel": true, "rev": false, "mi": false } ] }'
emmett_meteor:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 21, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 255, 160, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ] ], "fx": 77, "sx": 32, "ix": 0, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'
emmett_twinkle:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": true, "bri": 39, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": true, "bri": 255, "col": [ [ 255, 160, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ] ], "fx": 81, "sx": 55, "ix": 206, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'
emmett_off:
url: "http://192.168.1.236/json/state"
method: POST
content_type: 'application/json; charset=utf-8'
payload: '{ "on": false, "bri": 0, "seg": [ { "id": 0, "start": 1, "stop": 273, "grp": 1, "spc": 0, "on": false, "bri": 0, "col": [ [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ] ], "fx": 0, "sx": 0, "ix": 0, "pal": 0, "sel": true, "rev": false, "mi": false } ] }'