[{"id":"41815382.1586fc","type":"tab","label":"Testing","disabled":false,"info":""},{"id":"ae4ad29e.3e6848","type":"template","z":"41815382.1586fc","name":"Format","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{payload}}","output":"str","x":1060,"y":60,"wires":[["6b0ce139.46a668"]]},{"id":"567a58d0.925568","type":"ui_text_input","z":"41815382.1586fc","name":"ontime1","label":"On Time 1","tooltip":"","group":"7997af28.47b6c","order":1,"width":0,"height":0,"passthru":true,"mode":"time","delay":300,"topic":"ontime1","x":700,"y":60,"wires":[["53fb8a84.99c2bc"]]},{"id":"53fb8a84.99c2bc","type":"moment","z":"41815382.1586fc","name":"timer1format","topic":"timer1format","input":"payload","inputType":"msg","inTz":"America/Denver","adjAmount":"7","adjType":"hours","adjDir":"add","format":"HH:mm:ss","locale":"en_US","output":"payload","outputType":"msg","outTz":"America/Denver","x":860,"y":60,"wires":[["ae4ad29e.3e6848"]]},{"id":"13f7ffde.759668","type":"change","z":"41815382.1586fc","name":"mo false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.mon","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":180,"wires":[["860518f0.9a537"]]},{"id":"dd649f83.1b4208","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":200,"wires":[["13f7ffde.759668"],["987b6adf.d0805"]]},{"id":"987b6adf.d0805","type":"change","z":"41815382.1586fc","name":"mo true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.mon","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":220,"wires":[["860518f0.9a537"]]},{"id":"d3c37913.b8f2c8","type":"change","z":"41815382.1586fc","name":"tu false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.tue","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":260,"wires":[["860518f0.9a537"]]},{"id":"d823285b.073ec","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":280,"wires":[["d3c37913.b8f2c8"],["98935100.0f6138"]]},{"id":"98935100.0f6138","type":"change","z":"41815382.1586fc","name":"tu true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.tue","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1130,"y":300,"wires":[["860518f0.9a537"]]},{"id":"6141650c.fb7d2c","type":"change","z":"41815382.1586fc","name":"we false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.wed","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":340,"wires":[["860518f0.9a537"]]},{"id":"859a5045.9f97c","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":360,"wires":[["6141650c.fb7d2c"],["8c7df7b8.195208"]]},{"id":"8c7df7b8.195208","type":"change","z":"41815382.1586fc","name":"we true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.wed","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":380,"wires":[["860518f0.9a537"]]},{"id":"4c3ba491.a08984","type":"change","z":"41815382.1586fc","name":"su false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.sun","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":100,"wires":[["860518f0.9a537"]]},{"id":"d12d577f.f22cb","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":120,"wires":[["4c3ba491.a08984"],["cfa50b4c.b3261"]]},{"id":"cfa50b4c.b3261","type":"change","z":"41815382.1586fc","name":"su true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.sun","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":140,"wires":[["860518f0.9a537"]]},{"id":"3bc6db19.25a4b4","type":"change","z":"41815382.1586fc","name":"th false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.thu","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":420,"wires":[["860518f0.9a537"]]},{"id":"3911383.2561348","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":440,"wires":[["3bc6db19.25a4b4"],["34d12466.888234"]]},{"id":"34d12466.888234","type":"change","z":"41815382.1586fc","name":"mo true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.thu","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":460,"wires":[["860518f0.9a537"]]},{"id":"eee79552.b18358","type":"change","z":"41815382.1586fc","name":"fr false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.fri","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1130,"y":500,"wires":[["860518f0.9a537"]]},{"id":"7cdcfe62.916468","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":520,"wires":[["eee79552.b18358"],["e6ffc243.3ffbc"]]},{"id":"e6ffc243.3ffbc","type":"change","z":"41815382.1586fc","name":"fr true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.fri","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1130,"y":540,"wires":[["860518f0.9a537"]]},{"id":"97158f4a.35381","type":"change","z":"41815382.1586fc","name":"we false","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.wed","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":580,"wires":[["860518f0.9a537"]]},{"id":"5ad58196.bf9878","type":"switch","z":"41815382.1586fc","name":"Switch","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":600,"wires":[["97158f4a.35381"],["6f881f0d.55dd88"]]},{"id":"6f881f0d.55dd88","type":"change","z":"41815382.1586fc","name":"we true","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.wed","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":620,"wires":[["860518f0.9a537"]]},{"id":"6b0ce139.46a668","type":"change","z":"41815382.1586fc","name":"Payload Ontime","rules":[{"t":"move","p":"payload","pt":"msg","to":"payload.ontime","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1240,"y":60,"wires":[["860518f0.9a537","4e725c8f.122694"]]},{"id":"860518f0.9a537","type":"eztimer","z":"41815382.1586fc","name":"","autoname":"17:00 - dusk","tag":"eztimer","suspended":false,"sendEventsOnSuspend":false,"lat":"","lon":"","timerType":"1","startupMessage":true,"ontype":"2","ontimesun":"dawn","ontimetod":"17:00","onproperty":"payload","onvaluetype":"num","onvalue":1,"onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"2","offtimesun":"dusk","offtimetod":"dusk","offduration":"00:01:00","offproperty":"payload","offvaluetype":"num","offvalue":0,"offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"mon":false,"tue":false,"wed":false,"thu":false,"fri":false,"sat":false,"sun":false,"x":1410,"y":160,"wires":[[]]},{"id":"4e725c8f.122694","type":"debug","z":"41815382.1586fc","name":"4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1480,"y":40,"wires":[]},{"id":"b6db1c44.1a62c","type":"ui_slider","z":"41815382.1586fc","name":"zone1duration","label":"zone 1 duration","tooltip":"","group":"7997af28.47b6c","order":1,"width":0,"height":0,"passthru":true,"outs":"all","topic":"zone1duration","min":0,"max":"59","step":1,"x":740,"y":680,"wires":[["a3afa9f5.c1ccc8","453d0f14.0d17d"]]},{"id":"a3afa9f5.c1ccc8","type":"function","z":"41815382.1586fc","name":"Format Duration","func":"var w = msg.payload;\nw = Number(w);\n\n\nmsg.payload = '12:' + w + ':00';\n\n\n\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":680,"wires":[["f875e4b.6c7ee18"]]},{"id":"f875e4b.6c7ee18","type":"template","z":"41815382.1586fc","name":"Format","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{payload}}","output":"str","x":1110,"y":680,"wires":[["72cc95fa.b7ecb4"]]},{"id":"72cc95fa.b7ecb4","type":"change","z":"41815382.1586fc","name":"Duration","rules":[{"t":"move","p":"payload","pt":"msg","to":"payload.duration","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1240,"y":680,"wires":[["860518f0.9a537","9793a7f4.445f38"]]},{"id":"453d0f14.0d17d","type":"ui_text","z":"41815382.1586fc","group":"7997af28.47b6c","order":2,"width":0,"height":0,"name":"z1duration","label":"Z1 Duration","format":"{{msg.payload}}","layout":"row-spread","x":920,"y":720,"wires":[]},{"id":"e3eec6bb.3f9358","type":"function","z":"41815382.1586fc","name":"on","func":"\n msg.payload = 1;\n\nreturn msg;","outputs":1,"noerr":0,"x":770,"y":320,"wires":[["d12d577f.f22cb","5ad58196.bf9878","3911383.2561348","7cdcfe62.916468","859a5045.9f97c","d823285b.073ec","dd649f83.1b4208"]]},{"id":"60b68df.1289af4","type":"inject","z":"41815382.1586fc","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":620,"y":320,"wires":[["e3eec6bb.3f9358"]]},{"id":"9793a7f4.445f38","type":"debug","z":"41815382.1586fc","name":"3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1410,"y":600,"wires":[]},{"id":"7997af28.47b6c","type":"ui_group","z":"","name":"Day","tab":"5b37a8b4.93b328","order":3,"disp":true,"width":"11","collapse":false},{"id":"5b37a8b4.93b328","type":"ui_tab","z":"","name":"testing","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
Ok, I'm going to get a little more serious here. The contrib-eztimer is programmed per the flow. This is an obvious test setup but I'm stumped. I'm fairly sure the days are getting programmed as when the flow starts it says no day set and when I inject the days that message goes away. I have the duration hard coded to over 12 hours and I'm not sure that either the duration or the ontime are going through correctly. Any thoughts would be appreciated.