Hello,
I started to use Big Timer in my project to restrict the time when alexa saying something (telling that is time to open the window using the CO2 sensor from my NetAtmo device).
I am not sure if I doing this right. It it nesessary to use the switch after the Big timer? Maybe there is a simpler solution for this.
Also the proböem is that Alexa speaks, when one time when 08:00 is reached, nevertheless when the condition CO2 >= 1000 is not true. I guess this is because when the timer window start, one "On" string will send.
[{"id":"de9694b4.e2dbb8","type":"tab","label":"Netatmo","disabled":false,"info":""},{"id":"ef0fbfa1.e363a","type":"alexa-remote-routine","z":"de9694b4.e2dbb8","name":"","account":"","routineNode":{"type":"speakAtVolume","payload":{"type":"regular","text":{"type":"str","value":"Die Luftqualität ist schlecht! Bitte alle Fenster aufmachen und 5 Minuten lüften."},"volume":{"type":"num","value":"50"},"mode":"set","devices":["9437c315e1f2427c88c3234d8ab95c4f"]}},"x":890,"y":240,"wires":[]},{"id":"5f6195f9.bbcc9c","type":"template","z":"de9694b4.e2dbb8","name":"Bitte lüften","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"\n Die Luftqualität im Wohnzimmer ist schlecht! Bitte 5 Minuten alle Fenster aufmachen und lüften.\n","output":"str","x":650,"y":240,"wires":[["ef0fbfa1.e363a"]]},{"id":"fb139e3c.17f2c","type":"get stations data","z":"de9694b4.e2dbb8","name":"","creds":"589922a5.4d978c","x":290,"y":440,"wires":[["c8e80a6b.9b9e18"]]},{"id":"51330e83.430f","type":"debug","z":"de9694b4.e2dbb8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":750,"y":440,"wires":},{"id":"24edecb3.834994","type":"inject","z":"de9694b4.e2dbb8","name":"Alle 15 Minuten","topic":"","payload":"","payloadType":"date","repeat":"900","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":440,"wires":[["fb139e3c.17f2c"]]},{"id":"c8e80a6b.9b9e18","type":"function","z":"de9694b4.e2dbb8","name":"CO2 Wert","func":"var msg1 = {};\n\nmsg1.payload = msg.payload.devices[0].dashboard_data.CO2;\n\nreturn msg1;","outputs":1,"noerr":0,"x":480,"y":440,"wires":[["51330e83.430f","c6ee4626.c85a68"]]},{"id":"c6ee4626.c85a68","type":"switch","z":"de9694b4.e2dbb8","name":"CO2 >= 1000","property":"payload","propertyType":"msg","rules":[{"t":"gte","v":"1000","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":140,"y":240,"wires":[["c1b6c662.8d9838"]]},{"id":"c1b6c662.8d9838","type":"bigtimer","z":"de9694b4.e2dbb8","outtopic":"","outpayload1":"on","outpayload2":"off","name":"08:00 - 22:30","comment":"","lat":"","lon":"","starttime":"480","endtime":"1350","starttime2":0,"endtime2":0,"startoff":0,"endoff":0,"startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"repeat":false,"atstart":true,"odd":false,"even":false,"x":330,"y":240,"wires":[["8938fa5f.d28118"],,]},{"id":"8938fa5f.d28118","type":"switch","z":"de9694b4.e2dbb8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":495,"y":240,"wires":[["5f6195f9.bbcc9c"]]},{"id":"2443c54f.fa187a","type":"alexa-remote-account","z":"","name":"","authMethod":"proxy","proxyOwnIp":"","proxyPort":"3456","cookieFile":"alexa_cred","refreshInterval":"","alexaServiceHost":"layla.amazon.de","amazonPage":"amazon.de","acceptLanguage":"de-DE","userAgent":"","useWsMqtt":"on","autoInit":"on"},{"id":"589922a5.4d978c","type":"configNode","z":"","client_id":"","client_secret":"","username":"","password":"","device_id":""}]