As I experienced recently the same as some other users at: https://www.domoticz.com/forum/viewtopi ... =4&t=32515 I have been looking for some projects and to improve existing solutions.
I am aware, that the topic below is not exclusively applicable for Domoticz, but also can be used with other systems, such as Home Assistant, OpenHAB, etc. However many Domoticz users use Node Red (with MQTT) to push messages to and from Domoticz and therefore I like to share this information.
We know that we have different solutions for connecting our devices to Google Home/Assistant.
1. Controlicz
2. Dzga
3. Nora node in Node Red
4. Homebridge-Edomoticz with Google plugin
That looks enough but I found two (!) other solutions to connect Node Red directly to Google Assistant.
1. Google Home
See: https://flows.nodered.org/node/node-red ... googlehome
You can install it in Node Red.
I installed the extra package, which is not needed now.
Code: Select all
sudo apt-get install libavahi-compat-libdnssd-dev
I installed this node "node-red-contrib-googlehome" in two different Node Red instances.
During installation both presented (different) errors, but both are functioning and will give you 2 new nodes + 1 configuration node.
I have not tested the functionality yet, but you are able to create devices and they are presented in Node Red.
2. See: https://docs.cb-net.co.uk/en/development/
The installation is described in detail at this site and in your Google Home app you will find a, rather new, Node Red device.
Also here you have to register and do not mix up both registration.
As you have the nodes installed you will see three new ones (and a configuration).
I was quite confused, as at a certain stage it was unclear "who was who"
The second solution seems to be a fork of the first one.
See: https://github.com/hardillb/node-red-co ... /issues/20
In the screenshot, you can see, that it is a fork, as it still shows Alexa, but it is functioning for both Alexa and Google Home.
I have not been able to test the one or the other, so I cannot tell you, if there are advantages over the previous mentioned solutions.
Of course I will continue to play with both and see the results.
If anyone want to give it a try, please report results or issues.
Best regards.