Ask domoticz for value of sensor value using Google Assistant

Alexa, Google Home and Siri
Post Reply
crashingdutchman
Posts: 21
Joined: Monday 05 December 2016 12:29
Target OS: Raspberry Pi
Domoticz version: Latest
Contact:

Ask domoticz for value of sensor value using Google Assistant

Post by crashingdutchman » Friday 12 January 2018 16: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 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"
The Christmas tree has been dismantled a week ago, so I am not using it anymore until December, but I have other actions defined in Google Assistant too. When I say "Good night" or "Good evening", all devices in a certain group are switched off and when I say "Good morning" to Google Assistant the same group is switched on.

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!

PeterFleur
Posts: 25
Joined: Sunday 08 March 2015 14:00
Target OS: Raspberry Pi
Domoticz version: 2.4739
Contact:

Re: Ask domoticz for value of sensor value using Google Assistant

Post by PeterFleur » Friday 12 January 2018 16:53

Take a look at the thread about Controlicz in this forum for a nice way to integrate Domoticz with Google Home

Sent from my SM-G930F using Tapatalk

RaspberryPI
ZWave
RFXtrx433E

User avatar
DewGew
Posts: 273
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Ask domoticz for value of sensor value using Google Assistant

Post by DewGew » Friday 12 January 2018 17:14

Raspberry Pi 3 - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

crashingdutchman
Posts: 21
Joined: Monday 05 December 2016 12:29
Target OS: Raspberry Pi
Domoticz version: Latest
Contact:

Re: Ask domoticz for value of sensor value using Google Assistant

Post by crashingdutchman » Monday 15 January 2018 10:59

Thank you both for your replies. I am going to look into that now.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests