Volumio-NodeRED/volumio.json

1 line
11 KiB
JSON
Raw Normal View History

2018-08-29 20:15:19 +00:00
[{"id":"5f24c18e.924a48","type":"tab","label":"Radio","disabled":false,"info":"<img src=\"123\">"},{"id":"be7e3ac9.2862e","type":"http request","z":"5f24c18e.924a48","name":"Stop","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=stop","tls":"","x":650,"y":240,"wires":[[]]},{"id":"af16ca8d.3f8f9","type":"http request","z":"5f24c18e.924a48","name":"Play","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=play","tls":"","x":650,"y":280,"wires":[[]]},{"id":"4da63411.d4be6c","type":"alexa-local","z":"5f24c18e.924a48","devicename":"Radio","inputtrigger":true,"x":310,"y":340,"wires":[["f4da5dcc.f65818","1b8080d0.ae3aaf","38e74a8d.5a903e"]]},{"id":"f4da5dcc.f65818","type":"switch","z":"5f24c18e.924a48","name":"Volumio","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"off","vt":"str"},{"t":"cont","v":"on","vt":"str"}],"checkall":"true","outputs":2,"x":480,"y":260,"wires":[["be7e3ac9.2862e"],["af16ca8d.3f8f9"]]},{"id":"ae7cd232.77dad8","type":"inject","z":"5f24c18e.924a48","name":"","topic":"","payload":"on","payloadType":"str","repeat":"","crontab":"","once":false,"x":290,"y":200,"wires":[["f4da5dcc.f65818"]]},{"id":"15b2310b.7ec35f","type":"ui_switch","z":"5f24c18e.924a48","name":"","label":"Musik","group":"630327e8.bc8788","order":12,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"fa-play","oncolor":"ffffff","offvalue":"off","offvalueType":"str","officon":"fa-music","offcolor":"ffffff","x":270,"y":260,"wires":[["f4da5dcc.f65818"]]},{"id":"a0d95a0b.26ba4","type":"ui_template","z":"5f24c18e.924a48","group":"f36be21e.0368a","name":"","order":0,"width":"6","height":"8","format":"<div ng-bind-html=\"msg.payload\"></div>\n<iframe src=\"http://192.168.10.37\" height=\"400\"></iframe>","storeOutMessages":true,"fwdInMessages":false,"templateScope":"local","x":140,"y":920,"wires":[[]]},{"id":"554d0d3.2a8a1f4","type":"switch","z":"5f24c18e.924a48","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":"30","vt":"str"},{"t":"eq","v":"40","vt":"str"},{"t":"eq","v":"50","vt":"str"}],"checkall":"true","outputs":6,"x":889,"y":734,"wires":[["6970c90.d3fbf38"],["3b800839.720b88"],["93c94cd3.47ff"],["f12cc80a.0a877"],["5c8bb17.9146fd"],["e314317.65ed55"]]},{"id":"55d6b9a3.ad5e38","type":"ui_slider","z":"5f24c18e.924a48","name":"","label":"Lautstärke","group":"f36be21e.0368a","order":0,"width":0,"height":0,"passthru":true,"topic":"","min":0,"max":"100","step":"5","x":704,"y":735,"wires":[["554d0d3.2a8a1f4"]]},{"id":"3b800839.720b88","type":"http request","z":"5f24c18e.924a48","name":"Volume 10","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=volume&volume=10","tls":"","x":1110,"y":704,"wires":[[]]},{"id":"93c94cd3.47ff","type":"http request","z":"5f24c18e.924a48","name":"Volume 20","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=volume&volume=20","tls":"","x":1113,"y":750,"wires":[[]]},{"id":"f12cc80a.0a877","type":"http request","z":"5f24c18e.924a48","name":"Volume 30","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=volume&volume=30","tls":"","x":1112,"y":798,"wires":[[]]},{"id":"5c8bb17.9146fd","type":"http request","z":"5f24c18e.924a48","name":"Volume 40","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=volume&volume=40","tls":"","x":1110,"y":844,"wires":[[]]},{"id":"e314317.65ed55","type":"http request","z":"5f24c18e.924a48","name":"Volume 50","method":"GET","ret":"txt","url":"http://volumio.local/api/v1/commands/?cmd=volume&volume=50","tls":"","x":1115,"y":890,"wires":[[]]},{"id":"59bc8def.a66384","type":"ui_button","z":"5f24c18e.924a48","name":"","group":"f36be21e.0368a","order":0,"width":0,"height":0,"passthru":false,"label":"Stumm","color":"","bgcolor":"","icon":"","payload":"0","payloadType":"str","topic":"","x":695,"y":783,"wires":[["554d0d3.2a8a1f4"]]},{"id":"6970c90.d3fbf