Steuerung einer Digital Kamera mit NodeRED
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 lines
12 KiB

[{"id":"89df788d.f701b8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"7ac26311.745f2c","type":"inject","z":"89df788d.f701b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":420,"y":80,"wires":[["22c2b4c4.64b344"]]},{"id":"22c2b4c4.64b344","type":"exec","z":"89df788d.f701b8","command":"/home/pi/bin/cam.sh","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Einzelbild","x":660,"y":120,"wires":[[],[],[]]},{"id":"664cca92.518164","type":"exec","z":"89df788d.f701b8","command":"/home/pi/bin/cam1.sh","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"5 * Bilder alle 5/Sek","x":710,"y":300,"wires":[[],[],[]]},{"id":"225d8364.704a1c","type":"inject","z":"89df788d.f701b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":480,"y":260,"wires":[["664cca92.518164"]]},{"id":"606762e.f19a19c","type":"ui_button","z":"89df788d.f701b8","name":"","group":"8cca971.d0553e8","order":1,"width":0,"height":0,"passthru":false,"label":"1 * Bild","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":380,"y":120,"wires":[["22c2b4c4.64b344"]]},{"id":"cbba8000.5fc598","type":"ui_button","z":"89df788d.f701b8","name":"","group":"8cca971.d0553e8","order":3,"width":0,"height":0,"passthru":false,"label":"5 * Bilder alle 5 Sekunden","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":370,"y":300,"wires":[["664cca92.518164"]]},{"id":"205c1747.3e045","type":"watch","z":"89df788d.f701b8","name":"","files":"/home/pi/gphoto2/","recursive":"","x":230,"y":460,"wires":[["2e2af8bd.b1c878"]]},{"id":"2e2af8bd.b1c878","type":"change","z":"89df788d.f701b8","name":"pay to msg.filename","rules":[{"t":"move","p":"payload","pt":"msg","to":"filename","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":460,"wires":[["3f80444b.0a09ec"]]},{"id":"3f80444b.0a09ec","type":"file in","z":"89df788d.f701b8","name":"","filename":"","format":"","chunk":false,"sendError":false,"encoding":"none","x":640,"y":460,"wires":[["b8831ac7.2935e8"]]},{"id":"b8831ac7.2935e8","type":"base64","z":"89df788d.f701b8","name":"","action":"str","property":"payload","x":810,"y":460,"wires":[["d520d1c8.857148","4c6a6df9.473fbc"]]},{"id":"d520d1c8.857148","type":"ui_template","z":"89df788d.f701b8","group":"8cca971.d0553e8","name":"Snapshot","order":4,"width":"10","height":"8","format":"<div style=\"text-align:center\">Vorschaubild Kamera</div>\n \n <img width=\"100%\" height=\"100%\" alt=\"Image not found\" src=\"data:image/png;base64,{{msg.payload}}\" />\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","x":990,"y":460,"wires":[[]]},{"id":"4c6a6df9.473fbc","type":"ui_template","z":"89df788d.f701b8","group":"7105c152.4eb7b","name":"Snapshot Mobile","order":3,"width":"6","height":"5","format":"<div style=\"text-align:center\">Vorschaubild Kamera</div>\n \n <img width=\"100%\" height=\"100%\" alt=\"Image not found\" src=\"data:image/png;base64,{{msg.payload}}\" />\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","x":1030,"y":400,"wires":[[]]},{"id":"a1670c20.01d52","type":"ui_button","z":"89df788d.f701b8","name":"","group":"7105c152.4eb7b","order":2,"width":0,"height":0,"passthru":false,"label":"5 * Bilder alle 5 Sekunden -Mobile","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":400,"y":340,"wires":[["664cca92.518164"]]},{"id":"c67fc162.81eab8","type":"ui_button","z":"89df788d.f701b8","name":"","group":"7105c152.4eb7b","order":1,"width":0,"height":0,"passthru":false,"label":"1 * Bild - Mobile","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":400,"y":160,"wires":[["22c2b4c4.64b344"]]},{"id":"efbe755.bcf4408","type":"ui_button","z":"89df788d.f701b8","name":"","group":"2c0af4d2.9679dc","order":3,"width":0,"height":0,"passthru":false,"label":"ISO400","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/imgsettings/iso=7","payloadType":"str","topic":" 400","x":220,"y":680,"wires":[["18906bfd.ea63ac"]]},{"id":"d39928ba.9772f8","type":"exec","z":"89df788d.f701b8","command":"","addpay":true,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"SET ISO","x":540,"y":600,"wires":[[],[],[]]},{"id":"a9026d3a.403498","type":"ui_button","z":"89df788d.f701b8","name":"","group":"2c0af4d2.9679dc","order":4,"width":0,"height":0,"passthru":false,"label":"ISO800","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/imgsettings/iso=10","payloadType":"str","topic":" 800","x":220,"y":720,"wires":[["4f1f27c5.516668"]]},{"id":"6c33712b.bf4058","type":"ui_button","z":"89df788d.f701b8","name":"","group":"2c0af4d2.9679dc","order":5,"width":0,"height":0,"passthru":false,"label":"ISO1000","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/imgsettings/iso=11","payloadType":"str","topic":" 1000","x":220,"y":760,"wires":[["378f0bb5.b954c4"]]},{"id":"ba2a2df7.478f8","type":"ui_button","z":"89df788d.f701b8","name":"","group":"2c0af4d2.9679dc","order":6,"width":0,"height":0,"passthru":false,"label":"ISO2000","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/imgsettings/iso=14","payloadType":"str","topic":" 2000","x":220,"y":800,"wires":[["d5449ad2.4b6c58"]]},{"id":"cac37149.25d1e8","type":"ui_button","z":"89df788d.f701b8","name":"","group":"2c0af4d2.9679dc","order":2,"width":0,"height":0,"passthru":false,"label":"ISO200","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/imgsettings/iso=4","payloadType":"str","topic":" 200","x":220,"y":640,"wires":[["350320a2.f5f04"]]},{"id":"9ab7f15b.5083b","type":"ui_button","z":"89df788d.f701b8","name":"","group":"2c0af4d2.9679dc","order":1,"width":0,"height":0,"passthru":false,"label":"ISO100","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/imgsettings/iso=1","payloadType":"str","topic":"100","x":220,"y":600,"wires":[["ae77e256.dc58d"]]},{"id":"7ee0020.582668","type":"ui_button","z":"89df788d.f701b8","name":"TV 0.3 ","group":"2c0af4d2.9679dc","order":9,"width":0,"height":0,"passthru":false,"label":"TV 0.3","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/capturesettings/shutterspeed=0.3","payloadType":"str","topic":"0.3 Sek","x":210,"y":900,"wires":[["27c139e0.5c42de"]]},{"id":"608fc647.0714e","type":"exec","z":"89df788d.f701b8","command":"","addpay":true,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Set Verschlusszeit ","x":550,"y":740,"wires":[["d0d37513.bd68d8"],[],[]]},{"id":"4629e374.8f79e4","type":"ui_button","z":"89df788d.f701b8","name":"TV 2.5","group":"2c0af4d2.9679dc","order":8,"width":0,"height":0,"passthru":false,"label":"TV 2.5","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/capturesettings/shutterspeed=2.5","payloadType":"str","topic":"2.5 Sek","x":210,"y":940,"wires":[["6a0f4438.e7b7b4"]]},{"id":"11dfeb06.a15025","type":"ui_button","z":"89df788d.f701b8","name":"TV 1/30","group":"2c0af4d2.9679dc","order":10,"width":0,"height":0,"passthru":false,"label":"TV 1/30","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/capturesettings/shutterspeed=1/30","payloadType":"str","topic":"1/30 Sek","x":200,"y":980,"wires":[["88e4ffa5.c89888"]]},{"id":"d0d37513.bd68d8","type":"debug","z":"89df788d.f701b8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":770,"y":660,"wires":[]},{"id":"145e9cc2.5f936b","type":"ui_button","z":"89df788d.f701b8","name":"TV 1/8000","group":"2c0af4d2.9679dc","order":11,"width":0,"height":0,"passthru":false,"label":"TV 1/8000","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/capturesettings/shutterspeed=1/8000","payloadType":"str","topic":"1/8000 Sek","x":190,"y":1020,"wires":[["4e3b2d0.752dad4"]]},{"id":"23623009.28d51","type":"ui_button","z":"89df788d.f701b8","name":"TV 5.0 ","group":"2c0af4d2.9679dc","order":7,"width":0,"height":0,"passthru":false,"label":"TV 5.0","tooltip":"","color":"","bgcolor":"","icon":"","payload":"/usr/bin/gphoto2 --set-config /main/capturesettings/shutterspeed=5","payloadType":"str","topic":"5 Sek","x":210,"y":1060,"wires":[["9f1d1d5f.60109"]]},{"id":"dbe3da6.1a77b28","type":"link in","z":"89df788d.f701b8","name":"TV","links":["27c139e0.5c42de","4e3b2d0.752dad4","6a0f4438.e7b7b4","88e4ffa5.c89888","9f1d1d5f.60109"],"x":415,"y":740,"wires":[["608fc647.0714e","f0b47dfa.51b39"]]},{"id":"27c139e0.5c42de","type":"link out","z":"89df788d.f701b8","name":"","links":["dbe3da6.1a77b28"],"x":315,"y":900,"wires":[]},{"id":"6a0f4438.e7b7b4","type":"link out","z":"89df788d.f701b8","name":"","links":["dbe3da6.1a77b28"],"x":315,"y":940,"wires":[]},{"id":"88e4ffa5.c89888","type":"link out","z":"89df788d.f701b8","name":"","links":["dbe3da6.1a77b28"],"x":315,"y":980,"wires":[]},{"id":"4e3b2d0.752dad4","type":"link out","z":"89df788d.f701b8","name":"","links":["dbe3da6.1a77b28"],"x":315,"y":1020,"wires":[]},{"id":"9f1d1d5f.60109","type":"link out","z":"89df788d.f701b8","name":"","links":["dbe3da6.1a77b28"],"x":315,"y":1060,"wires":[]},{"id":"f0b47dfa.51b39","type":"ui_text","z":"89df788d.f701b8","group":"8cca971.d0553e8","order":4,"width":0,"height":0,"name":"Settings TV","label":"","format":"Verschlusszeit: {{msg.topic}}","layout":"row-center","x":530,"y":800,"wires":[]},{"id":"9e1e8a80.2fa82","type":"link in","z":"89df788d.f701b8","name":"ISO","links":["ae77e256.dc58d","350320a2.f5f04","18906bfd.ea63ac","4f1f27c5.516668","378f0bb5.b954c4","d5449ad2.4b6c58"],"x":415,"y":600,"wires":[["d39928ba.9772f8","ba6ea95b.cd6f8"]]},{"id":"ae77e256.dc58d","type":"link out","z":"89df788d.f701b8","name":"","links":["9e1e8a80.2fa82"],"x":315,"y":600,"wires":[]},{"id":"350320a2.f5f04","type":"link out","z":"89df788d.f701b8","name":"","links":["9e1e8a80.2fa82"],"x":315,"y":640,"wires":[]},{"id":"18906bfd.ea63ac","type":"link out","z":"89df788d.f701b8","name":"","links":["9e1e8a80.2fa82"],"x":315,"y":680,"wires":[]},{"id":"4f1f27c5.516668","type":"link out","z":"89df788d.f701b8","name":"","links":["9e1e8a80.2fa82"],"x":315,"y":720,"wires":[]},{"id":"378f0bb5.b954c4","type":"link out","z":"89df788d.f701b8","name":"","links":["9e1e8a80.2fa82"],"x":315,"y":760,"wires":[]},{"id":"d5449ad2.4b6c58","type":"link out","z":"89df788d.f701b8","name":"","links":["9e1e8a80.2fa82"],"x":315,"y":800,"wires":[]},{"id":"ba6ea95b.cd6f8","type":"ui_text","z":"89df788d.f701b8","group":"8cca971.d0553e8","order":4,"width":0,"height":0,"name":"Settings ISO","label":"","format":"ISO : {{msg.topic}}","layout":"row-center","x":550,"y":660,"wires":[]},{"id":"8cca971.d0553e8","type":"ui_group","z":"","name":"GPhoto für Canon EOS 50D","tab":"476c2da7.30ba6c","order":1,"disp":true,"width":"10","collapse":false},{"id":"7105c152.4eb7b","type":"ui_group","z":"","name":"Mobile","tab":"b6046e3f.26e1f","order":2,"disp":false,"width":"6","collapse":false},{"id":"2c0af4d2.9679dc","type":"ui_group","z":"","name":"Settings","tab":"476c2da7.30ba6c","order":2,"disp":true,"width":"6","collapse":false},{"id":"476c2da7.30ba6c","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false},{"id":"b6046e3f.26e1f","type":"ui_tab","z":"","name":"Mobile Dashboard","icon":"dashboard","disabled":false,"hidden":false}]