Volumio-NodeRED/volumio.json
Joachim Hummel e4cee49227
2018-08-28 19:46:17 +02:00

1 line
1.9 KiB
JSON

[{"id":"8253ffec.8cd4d8","type":"tab","label":"Volumio1","disabled":false,"info":""},{"id":"75d9540b.869b34","type":"alexa-local","z":"8253ffec.8cd4d8","devicename":"Radio","inputtrigger":true,"x":190,"y":260,"wires":[["7e206958.a8901","eaf6bc87.cbcd78"]]},{"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://volumio.local/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://volumio.local/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://volumio.local/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":[]},{"id":"eaf6bc87.cbcd78","type":"debug","z":"8253ffec.8cd4d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":420,"y":340,"wires":[]}]