1 line
1.7 KiB
JSON
1 line
1.7 KiB
JSON
|
[{"id":"8253ffec.8cd4d8","type":"tab","label":"Volumio","disabled":false,"info":""},{"id":"75d9540b.869b34","type":"alexa-local","z":"8253ffec.8cd4d8","devicename":"Radio","inputtrigger":true,"x":190,"y":260,"wires":[["7e206958.a8901"]]},{"id":"7e206958.a8901","type":"function","z":"8253ffec.8cd4d8","name":"","func":"// outputs: 2\nmsg.payload = msg.bri; \nreturn msg;","outputs":1,"noerr":0,"x":370,"y":260,"wires":[["90e83b96.b26148"]]},{"id":"d981ccd8.6196a8","type":"http request","z":"8253ffec.8cd4d8","name":"Volume 20","method":"GET","ret":"txt","url":"http://192.168.1.1/api/v1/commands/?cmd=volume&volume=20","tls":"","x":790,"y":280,"wires":[[]]},{"id":"90e83b96.b26148","type":"switch","z":"8253ffec.8cd4d8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"str"},{"t":"eq","v":"10","vt":"str"},{"t":"eq","v":"20","vt":"str"},{"t":"eq","v":"25","vt":"str"},{"t":"eq","v":"30","vt":"str"},{"t":"eq","v":"35","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":530,"y":260,"wires":[[],["db9a8b6.ea3d0f8"],["d981ccd8.6196a8"],["806cc637.4ad38"],[],[]]},{"id":"db9a8b6.ea3d0f8","type":"http request","z":"8253ffec.8cd4d8","name":"Volume 10","method":"GET","ret":"txt","url":"http://192.168.1.1/api/v1/commands/?cmd=volume&volume=10","tls":"","x":790,"y":240,"wires":[[]]},{"id":"806cc637.4ad38","type":"http request","z":"8253ffec.8cd4d8","name":"Volume 25","method":"GET","ret":"txt","url":"http://192.168.1.1/api/v1/commands/?cmd=volume&volume=25","tls":"","x":790,"y":320,"wires":[[]]},{"id":"240536ec.6a1692","type":"comment","z":"8253ffec.8cd4d8","name":"Volumio Lautstärke Steuerung via Alexa","info":"","x":390,"y":120,"wires":[]}]
|