Okay, so far I am able to turn on / off single lights, all lights or rooms, change their colors and brightness as well as controlling all my covers with rhasspy, HA and Node-RED.
Special feature: If I ask to shut the lights and don’t name a room or light, the siteID will be used (which is - surprise - identical with the friendly name of that rooms light group) to perform the command in the room you are. Same goes for covers of course.
I decided to switch to Node-RED for the whole logic and don’t use the HA intent handling. When creating intent_scripts for Snips in HA that was a big hassle with a lot of limits and I love doing it in Node-RED now. However the flow has to be restarted when the rhasspy master was restarted for the webhook reconnect. Would be great if that thing could notice its disconnected state automatically and reconnect but found no solution so far.
What I did is that I created slots containing the entities I want control and for the states, rooms, colors and so on. I mostly use synonyms in the way that I put in the slot what I could say to name that device but rhasspy always sends out the friendly name of the entity to Node-RED. That way I can keep the flows very flexible and universal. And maybe some more colors to the color slot, haha.
I would love to post the Node-RED flow as well as slots and sentences here, however it will not even fit in 3 posts. So I will find a way to post it later…to busy right now
- Thermostat control
- HA scene selection (i.e. Movie Mode - dim light, close cover, start Netflix app on TV)
- Hue light scene selection (switching to Home Assistant here, but want still to be able to call them)
… some other small things I got in my mind …