Ask domoticz for value of sensor value using Google Assistant
Posted: Friday 12 January 2018 15:13
I have managened to have Domoticz respond to "actions" that I submit to it through the Google Assistant on my phone. The smartswitch that I used to switch on or off the lights in our Christmas tree was hard to reach, so in Google Assistant I did this:
I wanted to develop this further to have my Google Assistant to tell me the temperature in the "living room", "office" or "outside" when I ask for it. Have not yet found out how to do that.
Suggestions are welcome!
- I created a so called shortcut so that when I say "Switch off the Christmas tree" Google Assistant does a "switch off the Christmas tree"
- In IFTTT I created a Recipe using Google Assistant. It listens to the trigger "switch of the Christmas tree"
- When this trigger is received, IFTTT fires a Webhooks action. This action basically is a request to my Domoticz instance used to switch off a device (see the Domoticz API on how to do that)
- When the action has finished, Assistant responds with "Your Christmas tree has been switched off"
I wanted to develop this further to have my Google Assistant to tell me the temperature in the "living room", "office" or "outside" when I ask for it. Have not yet found out how to do that.
Suggestions are welcome!