Controlicz - Domoticz to Google Home/Assistant integration Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

I've already built *some* of the technology for this, but how will we decide which events go to Google? There's no setting in Domoticz for that
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Akerboom »

In the HTTP data push I mentioned you select a specific device to push right? In my doorbell use-case this would work...
If you supply the end-point with basic-auth using the controlicz.com l/p, it's sorted.
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

there's no endpoint on the other side, the data you send has to be mapped to a (currently non-existent) notification method on the Google infrastructure - and what if they push the button 5 times? What if you only want notifications for that when you're not in (the notifications will go to your Google Assistant on your phone as well as your Home). How do i, as the Controlicz dev, handle notification requests (synchronous) for 100s of users :)
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Akerboom »

I suggest we do all our logic in domoticz on a virtual device and push that virtual device using http data push.

You setup the endpoint (endpoint.controlicz.com) and pass through incomming data to Google.

(Maybe there should be a mapping functionality on controlicz.com to map a incomming data event to a certain existing device on Google)
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

There is no notification endpoint in Google for Smart Home actions. This is a moot point - and i can't just pass it through, it requires an oauth2 token, as well as a guid, and it will require transformation of data. When it's available, and there's documentation, i'll look to implement.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Akerboom »

Ok, thanks in advance :)
gm2066
Posts: 2
Joined: Friday 16 March 2018 7:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by gm2066 »

hnogueira wrote: Friday 09 March 2018 15:15 I want ot use controlicz in my system, but so far all I have is a "Controlicz is unable to connect - please check your config" when I test domoticz. ...
Hi Madgeni,
have the same,
my email: "[email protected]"
Thanks
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

gm2066 wrote: Friday 16 March 2018 8:04
hnogueira wrote: Friday 09 March 2018 15:15 I want ot use controlicz in my system, but so far all I have is a "Controlicz is unable to connect - please check your config" when I test domoticz. ...
Hi Madgeni,
have the same,
my email: "[email protected]"
Thanks
Hi -
I can't find you - can you email the admin via your Profile - thanks
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
alanlsmith
Posts: 132
Joined: Monday 07 August 2017 17:17
Target OS: Linux
Domoticz version: Latest β
Location: Near London (Saaarf!)
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by alanlsmith »

Madgeni wrote: Thursday 15 March 2018 23:21 There is no notification endpoint in Google for Smart Home actions. This is a moot point - and i can't just pass it through, it requires an oauth2 token, as well as a guid, and it will require transformation of data. When it's available, and there's documentation, i'll look to implement.
For what it's worth I use mqtt to publish the state of a switch (or variable) to a Node-Red flow which end with a googlehome-notification node.

You can use it for simple things like when the washing machine has finished or something more complex, like when I go to bed I tell Google to turn everything off, which does what it says but leaves a couple of lights on downstairs for a while so that I can see where I'm going. It also calls a Node-Red flow to check that the doors and windows downstairs are shut and tells me which ones are still open.
Domoticz Latest β, RPi 4B with 110Gb SSD for Domoticz, RPi 4B with 110Gb SSD for Node-Red & a RPi 2B for logging / IP addressing. RFXCOM, PiZiGate, Z-Wave, Harmony, Hue lamps and a bit of Broadlink.
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Akerboom »

I don't have a Home device yet, only the assistant on my phone. Didn't know you could send notifications directly. I can just use https://github.com/noelportugal/google-home-notifier on my doorbell trigger. I thought Nest bell used an assistant API trigger.
gm2066
Posts: 2
Joined: Friday 16 March 2018 7:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by gm2066 »

Hi -
I can't find you - can you email the admin via your Profile - thanks
Hi,
Unfortunatly I'm authorised yet to use p.m.
pd4fdn
Posts: 2
Joined: Sunday 18 March 2018 0:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Google assistant/Google home integration

Post by pd4fdn »

Madgeni wrote: Thursday 09 November 2017 1:12 Hi -
yes i am actually :)
I have written the native Alexa skill - Controlicz, and am now extending it into Google. It's currently in test - but would welcome some volunteers to assist. Controlicz delay is about 1 sec.
Currently it will discover your devices, turn on/off lights/devices/scenes/groups - set brightness of lights, set temperature, query device/scene status/temperature status.
It's still a little rough around the edges, but it's getting there.
It doesn't necessarily need a Google Home, i've been running it from 'Ok Google' on my android phone.
Hi I would like to test also, i registered yesterday hope you can help me out ;)
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

gm2066 wrote: Saturday 17 March 2018 23:35 Hi,
Unfortunatly I'm authorised yet to use p.m.
you can email Controlicz from your Controlicz profile page
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Google assistant/Google home integration

Post by Madgeni »

pd4fdn wrote: Sunday 18 March 2018 0:09 Hi I would like to test also, i registered yesterday hope you can help me out ;)
If you've registered with Controlicz, then you can enable it via your Home app - Explore> search for Controlicz
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
pd4fdn
Posts: 2
Joined: Sunday 18 March 2018 0:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by pd4fdn »

registered ok and test domotics works, but i cant find controllicz in home app :( i don't have the explore or search option.
sstolk
Posts: 28
Joined: Tuesday 03 December 2013 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by sstolk »

pd4fdn wrote: Sunday 18 March 2018 20:21 registered ok and test domotics works, but i cant find controllicz in home app :( i don't have the explore or search option.
Google Home app => Top left menu => Home control => +-sign right bottom => Controllicz
User avatar
solidum90
Posts: 37
Joined: Tuesday 01 August 2017 20:59
Target OS: NAS (Synology & others)
Domoticz version: Debian
Location: Milan
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by solidum90 »

I've the same problem,
test domoticz on controlicz.com works (only with admin account!) but after I Allow Contollicz account on Google Home app (both iOS / Android) it doesn't work.

Let me know and otherwise many compliment for your work!
Last edited by solidum90 on Thursday 08 July 2021 13:51, edited 1 time in total.
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

solidum90 wrote: Tuesday 20 March 2018 20:27
test domoticz on controlicz.com works (only with admin account!) but after I Allow Contollicz account on Google Home app (both iOS / Android) it doesn't work.
My email is <redacted>

Let me know and otherwise many compliment for your work!
Hi -
Controlicz doesn't need admin for your Domoticz - User rights is fine.
I can see lots of discovery requests from you, they all seem fine and return data ok. What happens in the Google Home app? Are you using English in the app?
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
User avatar
solidum90
Posts: 37
Joined: Tuesday 01 August 2017 20:59
Target OS: NAS (Synology & others)
Domoticz version: Debian
Location: Milan
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by solidum90 »

Madgeni wrote: Wednesday 21 March 2018 10:09
solidum90 wrote: Tuesday 20 March 2018 20:27
test domoticz on controlicz.com works (only with admin account!) but after I Allow Contollicz account on Google Home app (both iOS / Android) it doesn't work.
My email is <redacted>

Let me know and otherwise many compliment for your work!
Hi -
Controlicz doesn't need admin for your Domoticz - User rights is fine.
I can see lots of discovery requests from you, they all seem fine and return data ok. What happens in the Google Home app? Are you using English in the app?
Hi, if I set user on controllicz.com test fail.. anyway, I'm using italian Google Home App.
It accept the login on controllicz.com when I give Allow It laod for a few seconds then say "there's a problem".. I tried many times (as you see).
How can I do? Set my android tablet in English and use Google home app in english language?
I've a lot of devices on Domoticz (about 100), could this be a problem? (maybe a timeout on discover request ?)
Let me know :)

I send you by PM my personal mail address if you want ;)
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

The Test works, but it does seem to cache results in a cookie - which can lead to false results.
Your setup seems fine - and Controlicz sends back a response to Google, the discoveries aren't timing out, they range between 6 and 11 seconds. There is a hard limit on devices with Google, but i thought it was 150, so don't think it's that.
Can you try changing your tablet to English language?
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest