Node Red Room Aware Voice Control

I can share all, although its quite messy, and I still haven't finished :joy:

But I do love this one, I use it quite a bit as I work from home, and do the laundry during the week.

You need a weather device installed in HE which gives you a chance of rain, or precipitation level etc.

But based on the "Chance of rain" you can change the bands of tolerance if needed, and the responses :stuck_out_tongue:

[{"id":"48c25f1.0bd6ba","type":"tab","label":"Washing Out","disabled":false,"info":""},{"id":"20ea18bc.d18f18","type":"comment","z":"48c25f1.0bd6ba","name":"Can I put the washing out?","info":"","x":290,"y":140,"wires":[]},{"id":"f9f57dbb.2cb01","type":"alexa-remote-routine","z":"48c25f1.0bd6ba","name":"To the Lounge","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"msg","value":"payload"},"devices":["G0916D1000430FTK"]}},"x":1780,"y":200,"wires":[[]]},{"id":"d45aa41a.b700a8","type":"alexa-remote-routine","z":"48c25f1.0bd6ba","name":"To the Kitchen","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"msg","value":"payload"},"devices":["G090LV036403051L"]}},"x":1780,"y":400,"wires":[[]]},{"id":"16103478.69e62c","type":"alexa-remote-routine","z":"48c25f1.0bd6ba","name":"To the Gazebo","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"msg","value":"payload"},"devices":["G090L90964011JCW"]}},"x":1780,"y":600,"wires":[[]]},{"id":"cd7b721e.958b3","type":"alexa-remote-routine","z":"48c25f1.0bd6ba","name":"To the Master Bed","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"msg","value":"payload"},"devices":["G0916D1000430FQT"]}},"x":1790,"y":800,"wires":[[]]},{"id":"c439863e.e12218","type":"alexa-remote-routine","z":"48c25f1.0bd6ba","name":"To the Office","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"msg","value":"payload"},"devices":["G090U5099155247V"]}},"x":1770,"y":1000,"wires":[[]]},{"id":"65f0c2d9.fe740c","type":"hubitat device","z":"48c25f1.0bd6ba","name":"Weather","server":"1100d0ca.ab596f","deviceId":"8187","attribute":"ChanceOfRainToday","sendEvent":false,"x":1080,"y":1000,"wires":[["4ce83f31.f7239","611ed0d5.72781"]]},{"id":"1bf7d575.618afb","type":"switch","z":"48c25f1.0bd6ba","name":"can I put the washing out","property":"payload.description.summary","propertyType":"msg","rules":[{"t":"cont","v":"can i put the washing out","vt":"str"}],"checkall":"false","repair":false,"outputs":1,"x":570,"y":600,"wires":[["f0bf4b1d.800818"]]},{"id":"f0bf4b1d.800818","type":"switch","z":"48c25f1.0bd6ba","name":"Which Device?","property":"payload.deviceSerialNumber","propertyType":"msg","rules":[{"t":"eq","v":"G0916D1000430FTK","vt":"str"},{"t":"eq","v":"G090LV036403051L","vt":"str"},{"t":"eq","v":"G090L90964011JCW","vt":"str"},{"t":"eq","v":"G0916D1000430FQT","vt":"str"},{"t":"eq","v":"G090U5099155247V","vt":"str"}],"checkall":"false","repair":false,"outputs":5,"x":800,"y":600,"wires":[["5ba257bc.5569b8"],["b3a40043.8cc97"],["55394cdd.44fc34"],["f28c61da.a20cb"],["65f0c2d9.fe740c"]],"outputLabels":["LIVING ROOM","KITCHEN","GAZEBO","MASTER BED","Office"]},{"id":"e57c9c1c.83733","type":"switch","z":"48c25f1.0bd6ba","name":"","property":"payload.value","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"20","v2t":"num"},{"t":"btwn","v":"21","vt":"num","v2":"35","v2t":"num"},{"t":"btwn","v":"36","vt":"num","v2":"55","v2t":"num"},{"t":"btwn","v":"56","vt":"num","v2":"65","v2t":"num"},{"t":"gte","v":"66","vt":"str"}],"checkall":"false","repair":false,"outputs":5,"x":1250,"y":200,"wires":[["35de92e7.0d5c9e"],["a7daed18.4cb2a"],["e125c13d.c40e3"],["cd057ccf.d99da"],["b2f21bc8.03bd78"]],"outputLabels":["0 - 20","21 - 35","36 - 55","56 - 65 ","Greater than 66"]},{"id":"21f26c69.4170f4","type":"template","z":"48c25f1.0bd6ba","name":"36-55","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's a fair chance of rain, you'll be taking chances so keep a watch on the weather, there's a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":200,"wires":[["f9f57dbb.2cb01"]]},{"id":"562c5725.ef5dd8","type":"template","z":"48c25f1.0bd6ba","name":"56-66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Well, its gonna rain at some point, for how long and hard, I dont know. Keep a watch on the weather, there's a {{topic}} percent chance of rain, last thing we want are wet clothes</lang></voice>\n</speak>","output":"str","x":1550,"y":240,"wires":[["f9f57dbb.2cb01"]]},{"id":"fc30d317.e1767","type":"template","z":"48c25f1.0bd6ba","name":"> 66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Yeah, I really woudn't bother even going out today, let alone put some washing out. There's a {{topic}} percent chance of rain, have a brew, and pop the dryer on</lang></voice>\n</speak>","output":"str","x":1550,"y":280,"wires":[["f9f57dbb.2cb01"]]},{"id":"3a099d20.f08ea2","type":"switch","z":"48c25f1.0bd6ba","name":"","property":"payload.value","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"20","v2t":"num"},{"t":"btwn","v":"21","vt":"num","v2":"35","v2t":"num"},{"t":"btwn","v":"36","vt":"num","v2":"55","v2t":"num"},{"t":"btwn","v":"56","vt":"num","v2":"65","v2t":"num"},{"t":"gte","v":"66","vt":"str"}],"checkall":"false","repair":false,"outputs":5,"x":1250,"y":400,"wires":[["182463e0.66018c"],["490d0741.fa87c8"],["be960dba.b9cc8"],["573ab46d.cfa7ac"],["3490b95c.9ac636"]],"outputLabels":["0 - 20","21 - 35","36 - 55","56 - 65 ","Greater than 66"]},{"id":"fb60087a.b6eaa8","type":"template","z":"48c25f1.0bd6ba","name":"0 -20","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's not much rain around, you'll be fine to put the washing out, there's up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":120,"wires":[["f9f57dbb.2cb01"]]},{"id":"79b298e.de1d868","type":"template","z":"48c25f1.0bd6ba","name":"21-35","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">'There's some rain around, the question is, how much of a gambler are you. You can put the washing out, \n but don't blame me if it rains. There's currently up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":160,"wires":[["f9f57dbb.2cb01"]]},{"id":"4372e17f.d00b","type":"switch","z":"48c25f1.0bd6ba","name":"","property":"payload.value","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"20","v2t":"num"},{"t":"btwn","v":"21","vt":"num","v2":"35","v2t":"num"},{"t":"btwn","v":"36","vt":"num","v2":"55","v2t":"num"},{"t":"btwn","v":"56","vt":"num","v2":"65","v2t":"num"},{"t":"gte","v":"66","vt":"str"}],"checkall":"false","repair":false,"outputs":5,"x":1250,"y":600,"wires":[["cc4e1255.cdd59"],["f73a59c0.0d6288"],["11b92940.91af97"],["6813513.ac639b"],["88e9ef7a.4c842"]],"outputLabels":["0 - 20","21 - 35","36 - 55","56 - 65 ","Greater than 66"]},{"id":"9738b1a8.0b7db","type":"switch","z":"48c25f1.0bd6ba","name":"","property":"payload.value","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"20","v2t":"num"},{"t":"btwn","v":"21","vt":"num","v2":"35","v2t":"num"},{"t":"btwn","v":"36","vt":"num","v2":"55","v2t":"num"},{"t":"btwn","v":"56","vt":"num","v2":"65","v2t":"num"},{"t":"gte","v":"66","vt":"str"}],"checkall":"false","repair":false,"outputs":5,"x":1250,"y":800,"wires":[["731efcc.d09d204"],["6b19d44c.360fac"],["5744342.7e19ecc"],["4bbd24af.27b53c"],["ee08f23b.3992d"]],"outputLabels":["0 - 20","21 - 35","36 - 55","56 - 65 ","Greater than 66"]},{"id":"4ce83f31.f7239","type":"switch","z":"48c25f1.0bd6ba","name":"","property":"payload.value","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"20","v2t":"num"},{"t":"btwn","v":"21","vt":"num","v2":"35","v2t":"num"},{"t":"btwn","v":"36","vt":"num","v2":"55","v2t":"num"},{"t":"btwn","v":"56","vt":"num","v2":"65","v2t":"num"},{"t":"gte","v":"66","vt":"str"}],"checkall":"false","repair":false,"outputs":5,"x":1250,"y":1000,"wires":[["479f2139.57e58"],["5a13388a.3d63f8"],["e72c2586.0b7a58"],["1ed10548.bdbccb"],["11727f2.d3e0681"]],"outputLabels":["0 - 20","21 - 35","36 - 55","56 - 65 ","Greater than 66"]},{"id":"479f2139.57e58","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":920,"wires":[["fc90418d.3d6c9"]]},{"id":"611ed0d5.72781","type":"debug","z":"48c25f1.0bd6ba","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1230,"y":1100,"wires":[]},{"id":"7fc65cb3.0fb5a4","type":"inject","z":"48c25f1.0bd6ba","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":840,"y":1060,"wires":[["65f0c2d9.fe740c"]]},{"id":"5a13388a.3d63f8","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":960,"wires":[["a0e343f8.08cec"]]},{"id":"e72c2586.0b7a58","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":1000,"wires":[["54649411.e0e07c"]]},{"id":"1ed10548.bdbccb","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":1040,"wires":[["9dab5415.67ab08"]]},{"id":"11727f2.d3e0681","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":1080,"wires":[["a7a7f6dd.28fc38"]]},{"id":"f28c61da.a20cb","type":"hubitat device","z":"48c25f1.0bd6ba","name":"Weather","server":"1100d0ca.ab596f","deviceId":"8187","attribute":"ChanceOfRainToday","sendEvent":false,"x":1080,"y":800,"wires":[["9738b1a8.0b7db"]]},{"id":"ee08f23b.3992d","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":880,"wires":[["626865a.36bd79c"]]},{"id":"4bbd24af.27b53c","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":840,"wires":[["a868db81.30f638"]]},{"id":"5744342.7e19ecc","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":800,"wires":[["82d03aaa.3f5208"]]},{"id":"6b19d44c.360fac","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":760,"wires":[["c34d20b5.ee57a"]]},{"id":"731efcc.d09d204","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":720,"wires":[["9fb33864.5ab1f8"]]},{"id":"88e9ef7a.4c842","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":680,"wires":[["962eaee3.e8b9"]]},{"id":"6813513.ac639b","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":640,"wires":[["beb28749.7470a8"]]},{"id":"11b92940.91af97","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":600,"wires":[["59232995.b3d5b8"]]},{"id":"f73a59c0.0d6288","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":560,"wires":[["ead47a80.54a1c8"]]},{"id":"cc4e1255.cdd59","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":520,"wires":[["3ce53a29.b52a96"]]},{"id":"55394cdd.44fc34","type":"hubitat device","z":"48c25f1.0bd6ba","name":"Weather","server":"1100d0ca.ab596f","deviceId":"8187","attribute":"ChanceOfRainToday","sendEvent":false,"x":1080,"y":600,"wires":[["4372e17f.d00b"]]},{"id":"3490b95c.9ac636","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":480,"wires":[["b1e9d0fd.92df4"]]},{"id":"573ab46d.cfa7ac","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":440,"wires":[["5226f12a.81a78"]]},{"id":"be960dba.b9cc8","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":400,"wires":[["9d6d22eb.3894e"]]},{"id":"490d0741.fa87c8","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":360,"wires":[["43083245.56f05c"]]},{"id":"182463e0.66018c","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":320,"wires":[["d0ad2e66.f44fc"]]},{"id":"b2f21bc8.03bd78","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":280,"wires":[["fc30d317.e1767"]]},{"id":"cd057ccf.d99da","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":240,"wires":[["562c5725.ef5dd8"]]},{"id":"e125c13d.c40e3","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":200,"wires":[["21f26c69.4170f4"]]},{"id":"a7daed18.4cb2a","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":160,"wires":[["79b298e.de1d868"]]},{"id":"35de92e7.0d5c9e","type":"change","z":"48c25f1.0bd6ba","name":"set %","rules":[{"t":"move","p":"payload.value","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1430,"y":120,"wires":[["fb60087a.b6eaa8"]]},{"id":"b3a40043.8cc97","type":"hubitat device","z":"48c25f1.0bd6ba","name":"Weather","server":"1100d0ca.ab596f","deviceId":"8187","attribute":"ChanceOfRainToday","sendEvent":false,"x":1080,"y":400,"wires":[["3a099d20.f08ea2"]]},{"id":"5ba257bc.5569b8","type":"hubitat device","z":"48c25f1.0bd6ba","name":"Weather","server":"1100d0ca.ab596f","deviceId":"8187","attribute":"ChanceOfRainToday","sendEvent":false,"x":1080,"y":200,"wires":[["e57c9c1c.83733"]]},{"id":"9d6d22eb.3894e","type":"template","z":"48c25f1.0bd6ba","name":"36-55","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's a fair chance of rain, you'll be taking chances so keep a watch on the weather, there's a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":400,"wires":[["d45aa41a.b700a8"]]},{"id":"5226f12a.81a78","type":"template","z":"48c25f1.0bd6ba","name":"56-66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Well, its gonna rain at some point, for how long and hard, I dont know. Keep a watch on the weather, there's a {{topic}} percent chance of rain, last thing we want are wet clothes</lang></voice>\n</speak>","output":"str","x":1550,"y":440,"wires":[["d45aa41a.b700a8"]]},{"id":"b1e9d0fd.92df4","type":"template","z":"48c25f1.0bd6ba","name":"> 66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Yeah, I really woudn't bother even going out today, let alone put some washing out. There's a {{topic}} percent chance of rain, have a brew, and pop the dryer on</lang></voice>\n</speak>","output":"str","x":1550,"y":480,"wires":[["d45aa41a.b700a8"]]},{"id":"d0ad2e66.f44fc","type":"template","z":"48c25f1.0bd6ba","name":"0 -20","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's not much rain around, you'll be fine to put the washing out, there's up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":320,"wires":[["d45aa41a.b700a8"]]},{"id":"43083245.56f05c","type":"template","z":"48c25f1.0bd6ba","name":"21-35","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">'There's some rain around, the question is, how much of a gambler are you. You can put the washing out, \n but don't blame me if it rains. There's currently up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":360,"wires":[["d45aa41a.b700a8"]]},{"id":"59232995.b3d5b8","type":"template","z":"48c25f1.0bd6ba","name":"36-55","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's a fair chance of rain, you'll be taking chances so keep a watch on the weather, there's a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":600,"wires":[["16103478.69e62c"]]},{"id":"beb28749.7470a8","type":"template","z":"48c25f1.0bd6ba","name":"56-66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Well, its gonna rain at some point, for how long and hard, I dont know. Keep a watch on the weather, there's a {{topic}} percent chance of rain, last thing we want are wet clothes</lang></voice>\n</speak>","output":"str","x":1550,"y":640,"wires":[["16103478.69e62c"]]},{"id":"962eaee3.e8b9","type":"template","z":"48c25f1.0bd6ba","name":"> 66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Yeah, I really woudn't bother even going out today, let alone put some washing out. There's a {{topic}} percent chance of rain, have a brew, and pop the dryer on</lang></voice>\n</speak>","output":"str","x":1550,"y":680,"wires":[["16103478.69e62c"]]},{"id":"3ce53a29.b52a96","type":"template","z":"48c25f1.0bd6ba","name":"0 -20","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's not much rain around, you'll be fine to put the washing out, there's up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":520,"wires":[["16103478.69e62c"]]},{"id":"ead47a80.54a1c8","type":"template","z":"48c25f1.0bd6ba","name":"21-35","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">'There's some rain around, the question is, how much of a gambler are you. You can put the washing out, \n but don't blame me if it rains. There's currently up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":560,"wires":[["16103478.69e62c"]]},{"id":"82d03aaa.3f5208","type":"template","z":"48c25f1.0bd6ba","name":"36-55","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's a fair chance of rain, you'll be taking chances so keep a watch on the weather, there's a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":800,"wires":[["cd7b721e.958b3"]]},{"id":"a868db81.30f638","type":"template","z":"48c25f1.0bd6ba","name":"56-66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Well, its gonna rain at some point, for how long and hard, I dont know. Keep a watch on the weather, there's a {{topic}} percent chance of rain, last thing we want are wet clothes</lang></voice>\n</speak>","output":"str","x":1550,"y":840,"wires":[["cd7b721e.958b3"]]},{"id":"626865a.36bd79c","type":"template","z":"48c25f1.0bd6ba","name":"> 66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Yeah, I really woudn't bother even going out today, let alone put some washing out. There's a {{topic}} percent chance of rain, have a brew, and pop the dryer on</lang></voice>\n</speak>","output":"str","x":1550,"y":880,"wires":[["cd7b721e.958b3"]]},{"id":"9fb33864.5ab1f8","type":"template","z":"48c25f1.0bd6ba","name":"0 -20","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's not much rain around, you'll be fine to put the washing out, there's up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":720,"wires":[["cd7b721e.958b3"]]},{"id":"c34d20b5.ee57a","type":"template","z":"48c25f1.0bd6ba","name":"21-35","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">'There's some rain around, the question is, how much of a gambler are you. You can put the washing out, \n but don't blame me if it rains. There's currently up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":760,"wires":[["cd7b721e.958b3"]]},{"id":"54649411.e0e07c","type":"template","z":"48c25f1.0bd6ba","name":"36-55","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's a fair chance of rain, you'll be taking chances so keep a watch on the weather, there's a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":1000,"wires":[["c439863e.e12218"]]},{"id":"9dab5415.67ab08","type":"template","z":"48c25f1.0bd6ba","name":"56-66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Well, its gonna rain at some point, for how long and hard, I dont know. Keep a watch on the weather, there's a {{topic}} percent chance of rain, last thing we want are wet clothes</lang></voice>\n</speak>","output":"str","x":1550,"y":1040,"wires":[["c439863e.e12218"]]},{"id":"a7a7f6dd.28fc38","type":"template","z":"48c25f1.0bd6ba","name":"> 66","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Yeah, I really woudn't bother even going out today, let alone put some washing out. There's a {{topic}} percent chance of rain, have a brew, and pop the dryer on</lang></voice>\n</speak>","output":"str","x":1550,"y":1080,"wires":[["c439863e.e12218"]]},{"id":"fc90418d.3d6c9","type":"template","z":"48c25f1.0bd6ba","name":"0 -20","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">There's not much rain around, you'll be fine to put the washing out, there's up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":920,"wires":[["c439863e.e12218"]]},{"id":"a0e343f8.08cec","type":"template","z":"48c25f1.0bd6ba","name":"21-35","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<speak>\n <voice name=\"Brian\"><lang xml:lang=\"en-GB\">'There's some rain around, the question is, how much of a gambler are you. You can put the washing out, \n but don't blame me if it rains. There's currently up to a {{topic}} percent chance of rain</lang></voice>\n</speak>","output":"str","x":1550,"y":960,"wires":[["c439863e.e12218"]]},{"id":"8fbe5956.3f24d8","type":"alexa-remote-event","z":"48c25f1.0bd6ba","name":"","account":"bb9422e6.452768","event":"ws-device-activity","x":310,"y":600,"wires":[["1bf7d575.618afb"]]},{"id":"bb9422e6.452768","type":"alexa-remote-account","z":"","name":"alexa","authMethod":"proxy","proxyOwnIp":"192.168.1.10","proxyPort":"9999","cookieFile":"authd","refreshInterval":"3","alexaServiceHost":"alexa.amazon.co.uk","amazonPage":"amazon.co.uk","acceptLanguage":"en-GB","userAgent":"","useWsMqtt":"on","autoInit":"on"},{"id":"1100d0ca.ab596f","type":"hubitat config","z":"","name":"Hub_2","usetls":false,"host":"192.168.1.26","port":"80","appId":"9112","nodeRedServer":"http://192.168.1.10:1880","webhookPath":"/hubitat/webhook_","autoRefresh":true,"useWebsocket":false}]
2 Likes

One other option that I posted about is to get into what you can do with voiceflow.com. That is surprisingly easy, but like node red allows almost endless complexity. Pm if you canā€™t find those posts and are interested.

Nice. Does voiceflow provide the device serial number for room awareness? Also, does it require skill invocation or can you directly invoke commands?

Just curious, when setting up the Alexa routine in the app, how did you remove the native verbal/ding sound from your Sonos One response? I hear a ding sound, then whatever TTS message I play. When I disable the shorten response option in the Alexa voice response option, I then here "Okay". Did you figure out how to make her silent completely?

How do you stop alexa tho from saying "i cannot find a device named blah blah"
I have this flow, which actually turns on the light when spoken to correct device, but she returns by saying " i cannot find a device named light"

The only way i can stop her saying that is to create a blank routine, listening for each phrase!!

Unless I missed something I think that's the way you have to do it according to @stephen_nutt's original post:

Note: You MUST also create a Routine in Alexa app with same name as the word/phrase you are using in flow and make it perform a 5 second wait. Otherwise, Alexa will try on her own to figure out what you mean and go looking out on the "interwebs". The 5 second wait won't affect the speed of your flow.

1 Like

This is true and I have setup my routines to do so, but I still hear the Chime confirmation before the message plays on my Sonos One? Any ideas how to stop the chime completely so I only receive the message I want?

That's what ive been trying to avoid! and where i thought the HE alexa skill could work.
Add each device you want to control in the HE skill, so she knows that it exists.

The more i think of that option, the control of lights would be done in the alexa app, and NOT via NR

Is it really that bad though? You are using a single voice command across all your Echo devices - so "illuminate!" in your kitchen would turn on the kitchen lights while "illuminate!" in the livingroom would turn on the living room lights? You only need one "illuminate!" routine.

No, this is pretty much still awesome! I'm just curious how I can skip the chime each time on my Sonos One speaker?

Check with @aaiyar - he might know. I have not incorporated my sonos stuff so cannot help there just yet. Would be cool to know.

1 Like

I guess its not....
I largely followed this guide

And this is the part that stuck out the most as being a pain to create routines for each phrase..

" Eliminating the ā€œ[device] doesnā€™t do thatā€ messages for commands hue devices donā€™t support
You can actually eliminate these messages pretty easily by creating routines in your Alexa App that donā€™t actually do anything. The routines wonā€™t prevent your room-aware routines from being called. However, it may be more work than youā€™d like to create all of the routines in the Alexa App to match your room-aware routines. For example, I use a the following regex to match the command to set a fan to medium speed:

(set|turn) (the )?fan ((on|to) )?medium

There are two possible states for the verb, (set|turn) , two possible states for the presence of the article, (the )? , and three possible states for the preposition, ((on|to) )? . Thus there are 2*2*3=12 valid variants of my room-aware routine for setting the fan to medium speed. Thatā€™s 12 different dummy routines that Iā€™d have to make"

Guess, I was just trying to find ways around this.
I know in the guide there is a way around it, using another palette, but i could never get it to work!

Why look at it that way when you could go simpler... maybe something like this:
Alexa, fanon
Alexa, fanoff
Alexa, fanlow
Alexa, fanmedium
Alexa, fanhigh

Fanlow thru fanhigh might also turn on the fan if not already on. Granted you lose fine grain control but it's less work.

Voiceflow builds Amazon skills. So relative to your nitial request to avoid skill invocation it falls short. That said, the skill is whatever you name it (within Amazonā€™s rules). At the moment, I start mine with ā€œAlexa open game room testingā€

The device Iā€™d thing is a little complicated 1 time. You can do things with device ids, which are long 20-40ish character long strings. I found the combination of Voiceflow and node red let me do anything I could imagine.

The key I found was to use http nodes to serve as api endpoint for Voiceflow to call and pass data as needed.

All of that being said. Yet another system and yet another set of interfaces will make the node red only with 1 routine per type of invocation look not so bad to most folks.

Well I suppose that is probably a better/easier way.

I suppose it all comes down to how well you train family members to speak (say correct phrases) to alexa!!

1 Like

For me this is about keeping it intuitive. I don't want to ask my family to invoke a skill each time. Keep it direct and simple.

1 Like

@jpoeppelman1

Thereā€™s an option in the sonos app to turn off the wake word chime. Itā€™s under Services & Voice - when you go to setup Amazon Alexa.

1 Like

I already have this turned off. I'm hearing the smart home confirmation chime, which is different than this setting. Any ideas? :slight_smile:

I think you are right in your situation to avoid having to invoke a skill, so don't think I am trying to convince you to change direction. That said, the thing I found cool about using voiceflow, was if you get past the invocation, it actually can minimize the amount of learn to say it this way that might be necessary. It does this because you create what they call intents, and you can have multiple phrases that map to the same intent.

Here is a made up example using that in just 1 case to illustrate the point:

  1. Alexa, open game room testing
  2. "What do you want to do?"
  3. Set brightness
  4. "Which light?"
    Here is the part where voiceflow comes in handy. Imagine you have a colored bulb in a floor lamp that is in a corner.
    5a. Corner
    5.b. Corner Lamp
    5c. Color Lamp
    5d. Floor Lamp
    5e. Color
    5f. Floor
    5g. Mom's favorite lamp

Voice flow lets you program that in the context of asking this question, any of those phrases refers to the same intent. Thus if you have an item that a spouse/roomate/parent/child refers to with a name that you would never use, you can add that to the list rather than teaching them to call it what you do.

Of course most of the time you don't really want an extensive Q/A make a simple change. That is why this can be overkill if overused, but that many to 1 can be very useful. Using the pure Routine/Node-red approach probably requires a separate routine for each phrase you want to support. I am still trying to decide if it is valuable enough for me build it all as voice flows or do the Routine/Node-Red approach. I think it would be an easy choice if voiceflows let you build many different skills, but it is limited to 2 per free account and mananging multiple free accounts could get messy, thus my what do you want to do step instead of 1 skill for each type of request and 1 complicated question and answer skill.

ahh - I hear that from all my echos.