Node Red Room Aware Voice Control

It’s way less painful than setting up full routines in Alexa :stuck_out_tongue_winking_eye:

Sometimes Alexa gets so messed up with devices being removed in HE for example, or like me you get fed up of how bad it’s got, and remove all devices (yeah I get that messy).

But, as all your routine logic is now in NR, you can remove all devices if you wanted, and your routines would still work :stuck_out_tongue_winking_eye::stuck_out_tongue_winking_eye:

I removed all devices last week, and didn’t have to set up any routines again. This is why I love this so much :joy::joy:

1 Like

I basically use “lights on”, and “lights off” mostly. Then have the appropriate lights connected in the flows of NR.

This is far easier if you have an Alexa device in each room though. I do :+1:.

But there are some where I don’t, like bathrooms and the dining room. So for those I set up “dining room on”, and off. So I can still say “Alexa, dining room on”, or off to any device and it will be done :+1:. And I just find it easier than having to say "Alexa, turn on / off device name" Now its "Alexa, dining room off" :slight_smile:

And of course if you only have one device to control, no routine needed. But I do them as I change my setup quite a lot, and I don’t want to have to set up Alexa again. I’ve recently replaced all light switches, and didn’t have to do anything in the Alexa app :stuck_out_tongue_winking_eye:

2 Likes

Heres my Lights on, it has different utterance's (some just plain stupid but fun lol).

[{"id":"237948ee.201138","type":"tab","label":"Lights on","disabled":false,"info":""},{"id":"469215a6.b2443c","type":"switch","z":"237948ee.201138","name":"Lights On","property":"payload.description.summary","propertyType":"msg","rules":[{"t":"cont","v":"Its dark in here","vt":"str"},{"t":"cont","v":"lumos maxima","vt":"str"},{"t":"cont","v":"I cant see","vt":"str"},{"t":"cont","v":"lights on","vt":"str"}],"checkall":"false","repair":false,"outputs":4,"x":400,"y":280,"wires":[["b9318adc.5b20f8"],["b9318adc.5b20f8"],["b9318adc.5b20f8"],["b9318adc.5b20f8"]]},{"id":"b9318adc.5b20f8","type":"switch","z":"237948ee.201138","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":"G070RQ1381570075","vt":"str"},{"t":"eq","v":"G090U5099155247V","vt":"str"},{"t":"eq","v":"G090VV048456005K","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":600,"y":280,"wires":[["c611c126.89153","2f6a0c4f.ea2d74"],["395ee48e.99b80c"],["e90dc614.f49688"],["71e760c4.42337"],["303b92fd.e73d7e"],["3f5769f3.2229b6","808f6702.9ce468"],["6b736655.f3f5a8","6af2b864.09d028"]],"outputLabels":["LIVING ROOM","KITCHEN","GAZEBO","MASTER BED","OLIVERS BED","Office","Guest Bed"]},{"id":"ec07f227.5c1d5","type":"hue-group","z":"237948ee.201138","name":"Lamps","bridge":"1b5168ed.108067","groupid":"20","colornamer":false,"skipevents":false,"x":930,"y":160,"wires":[[]]},{"id":"c611c126.89153","type":"template","z":"237948ee.201138","name":"On","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"on\":true}","output":"json","x":810,"y":160,"wires":[["ec07f227.5c1d5"]]},{"id":"b9a69127.a7c7a","type":"comment","z":"237948ee.201138","name":"Turn the lights on","info":"LOUNGE\t\t\tG0916D1000430FTK\n\nKitchen\t\t\tG090LV036403051L\n\t\t\nGazebo\t\t\tG090L90964011JCW\n\t\t\nMaster Bed\t\tG0916D1000430FQT\n\t\t\nOlivers Bed\t\tG070RQ1381570075\n\t\t\nOffice\t\t\tG090U5099155247V\n\t\t\nGuest Bed\t\tG090VV048456005K","x":100,"y":60,"wires":[]},{"id":"395ee48e.99b80c","type":"template","z":"237948ee.201138","name":"On","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"on\":true}","output":"json","x":810,"y":240,"wires":[["9562314.52d76d","2886065.fef78fa"]]},{"id":"9562314.52d76d","type":"hue-group","z":"237948ee.201138","name":"Cabinets","bridge":"1b5168ed.108067","groupid":"6","colornamer":true,"skipevents":false,"x":980,"y":220,"wires":[[]]},{"id":"2886065.fef78fa","type":"hue-group","z":"237948ee.201138","name":"Kitchen","bridge":"1b5168ed.108067","groupid":"2","colornamer":true,"skipevents":false,"x":980,"y":260,"wires":[[]]},{"id":"e1eb05d4.889b88","type":"hue-group","z":"237948ee.201138","name":"Gazebo","bridge":"1b5168ed.108067","groupid":"25","colornamer":true,"skipevents":false,"x":980,"y":300,"wires":[[]]},{"id":"e90dc614.f49688","type":"template","z":"237948ee.201138","name":"On","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"on\":true}","output":"json","x":810,"y":300,"wires":[["e1eb05d4.889b88","c268d8b3.11fec8"]]},{"id":"2f6a0c4f.ea2d74","type":"alexa-remote-routine","z":"237948ee.201138","name":"","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"ssml","value":"<speak>\t <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Lights on Sir </lang></voice>\t</speak>"},"devices":["G0916D1000430FTK"]}},"x":1140,"y":160,"wires":[[]]},{"id":"3f5769f3.2229b6","type":"alexa-remote-routine","z":"237948ee.201138","name":"","account":"bb9422e6.452768","routineNode":{"type":"speak","payload":{"type":"ssml","text":{"type":"ssml","value":"<speak>\t <voice name=\"Brian\"><lang xml:lang=\"en-GB\">Lights on Sir </lang></voice>\t</speak>"},"devices":["G090U5099155247V"]}},"x":600,"y":380,"wires":[[]]},{"id":"71e760c4.42337","type":"hubitat command","z":"237948ee.201138","name":"Master Bedroom Lights","server":"56b69ca1.36f034","deviceId":"1682","command":"on","commandArgs":"","x":870,"y":340,"wires":[[]]},{"id":"303b92fd.e73d7e","type":"hubitat command","z":"237948ee.201138","name":"Olivers Bedroom Light","server":"56b69ca1.36f034","deviceId":"1685","command":"on","commandArgs":"","x":860,"y":380,"wires":[[]]},{"id":"6b736655.f3f5a8","type":"hubitat command","z":"237948ee.201138","name":"Guest Lamp 1","server":"56b69ca1.36f034","deviceId":"1309","command":"on","commandArgs":"","x":840,"y":460,"wires":[[]]},{"id":"6af2b864.09d028","type":"hubitat command","z":"237948ee.201138","name":"Guest Lamp 2","server":"56b69ca1.36f034","deviceId":"1310","command":"on","commandArgs":"","x":840,"y":500,"wires":[[]]},{"id":"808f6702.9ce468","type":"template","z":"237948ee.201138","name":"On","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"on\":true}","output":"json","x":810,"y":420,"wires":[["1b8dc1e4.c5496e"]]},{"id":"1b8dc1e4.c5496e","type":"hue-light","z":"237948ee.201138","name":"Office Spots","bridge":"1b5168ed.108067","lightid":"46","colornamer":false,"skipevents":false,"x":970,"y":420,"wires":[[]]},{"id":"c268d8b3.11fec8","type":"hue-light","z":"237948ee.201138","name":"Gazebo LED","bridge":"1b5168ed.108067","lightid":"21","colornamer":true,"skipevents":false,"x":1120,"y":320,"wires":[[]]},{"id":"3eae7843.9bcbd8","type":"alexa-remote-event","z":"237948ee.201138","name":"","account":"bb9422e6.452768","event":"ws-device-activity","x":170,"y":280,"wires":[["469215a6.b2443c"]]},{"id":"1b5168ed.108067","type":"hue-bridge","z":"","name":"Philips hue","bridge":"192.168.1.99","key":"f0hrZKKy8DMirr2ZTCRlBjL6PZcHP8p-AXynonj1","interval":"3000","disableupdates":false},{"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":"56b69ca1.36f034","type":"hubitat config","z":"","name":"Hub_1","usetls":false,"host":"192.168.1.25","port":"80","appId":"40","nodeRedServer":"http://192.168.1.10:1880","webhookPath":"/hubitat/webhook","autoRefresh":true,"useWebsocket":false}]
2 Likes

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