I want Google Home to broadcasting a message when the garage door opens.
For now, I have a virtual switch in Domoticz that sends the http request to OG and publishes to MQTT. A node-red flow detects this and casts the message.
Obviously this is only working when I click the open/close button in Domoticz.
Of course, I want it to broadcast whenever anyone opens the door by whatever means.
So I thought to connect OG to the MQTT server. It worked twice when I clicked the button on the OG page itself:
`mosquitto_sub -h 192.168.1.21 -v -t “OpenGarage/OUT/NOTIFY”
OpenGarage/OUT/NOTIFY OpenGarage just CLOSED!
OpenGarage/OUT/NOTIFY OpenGarage just OPENED!
since then nothing more appears.
I was too impatient, the messages do appear. They take at least 15″ to appear though.
My goal was to have kind of an announcement system, but if it takes that long, the person entering is in my living room by then, making the system obsolete. 🙁