here you go. als file darf ich leider nur bilder anhängen. gibts noch ne andere Lösung?
[{"id":"0e6856d98a24e79e","type":"tab","label":"fridgetimer","disabled":false,"info":"","env":[]},{"id":"6050f2ebbadf45aa","type":"inject","z":"0e6856d98a24e79e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":110,"y":140,"wires":[["47e7b27cb1c62592"]]},{"id":"47e7b27cb1c62592","type":"delay","z":"0e6856d98a24e79e","name":"","pauseType":"delay","timeout":"7","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"outputs":1,"x":280,"y":140,"wires":[["3d3f25d01f342caf"]]},{"id":"3d3f25d01f342caf","type":"file in","z":"0e6856d98a24e79e","name":"","filename":"pekaway/fridgetimer","format":"utf8","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":480,"y":140,"wires":[["8d010a265d77944f"]]},{"id":"8d010a265d77944f","type":"ui_time_scheduler","z":"0e6856d98a24e79e","group":"d9229161.b8548","name":"test","startDay":0,"refresh":60,"devices":["Device 1"],"customPayload":false,"eventMode":false,"sendTopic":false,"outputs":2,"order":1,"width":"3","height":"1","x":665,"y":140,"wires":[["99217f1b8cc56e70"],["f122fb56d30c109d","dd2cb1ac288ed459"]],"l":false},{"id":"99217f1b8cc56e70","type":"file","z":"0e6856d98a24e79e","name":"","filename":"pekaway/fridgetimer","appendNewline":true,"createDir":true,"overwriteFile":"true","encoding":"none","x":860,"y":140,"wires":[[]]},{"id":"f122fb56d30c109d","type":"debug","z":"0e6856d98a24e79e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":630,"y":340,"wires":[]},{"id":"d4ce4d03cb09acc2","type":"function","z":"0e6856d98a24e79e","name":"globalVariable set","func":"\nglobal.set(\"one\", true);\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1130,"y":180,"wires":[[]]},{"id":"910e9dad5ccc4b94","type":"function","z":"0e6856d98a24e79e","name":"","func":"global.set(\"fridgetimeronoff\", msg.payload)\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":680,"y":500,"wires":[[]]},{"id":"766f99517e7d0918","type":"ui_switch","z":"0e6856d98a24e79e","name":"","label":"Timer Off/On","tooltip":"","group":"d9229161.b8548","order":1,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":true,"className":"","x":430,"y":500,"wires":[["910e9dad5ccc4b94"]]},{"id":"515218a3567f655f","type":"inject","z":"0e6856d98a24e79e","name":"","props":[{"p":"payload","v":"false","vt":"bool"},{"p":"topic","v":"","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":150,"y":500,"wires":[["766f99517e7d0918"]]},{"id":"dd2cb1ac288ed459","type":"function","z":"0e6856d98a24e79e","name":"check timer on/off","func":"var check = global.get(\"fridgetimeronoff\");\nif(check === true)\nreturn msg;\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":180,"wires":[["d4ce4d03cb09acc2"]]},{"id":"d9229161.b8548","type":"ui_group","name":"Switches","tab":"c7e50f4d.33f09","order":2,"disp":true,"width":"6","collapse":false,"className":""},{"id":"c7e50f4d.33f09","type":"ui_tab","name":"Relays","icon":"mi-toggle_on","order":2,"disabled":false,"hidden":false}]
Bzgl. Zeit. Wäre ganz praktischwenn man das übers webinterface machen kann. wenn mein relayboard erst mal im bus hängt wird es wohl erstmal länger kein internet sehen.