Page 55 of 114

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 15 March 2018 21:59
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 15 March 2018 22:12
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 15 March 2018 22:16
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 :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 15 March 2018 22:27
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)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 15 March 2018 23:21
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 16 March 2018 7:21
by Akerboom
Ok, thanks in advance :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 16 March 2018 8:04
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 16 March 2018 9:54
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 16 March 2018 10:25
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 17 March 2018 16:00
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 17 March 2018 23:35
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.

Re: Google assistant/Google home integration

Posted: Sunday 18 March 2018 0:09
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 ;)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 18 March 2018 8:43
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

Re: Google assistant/Google home integration

Posted: Sunday 18 March 2018 8:44
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 18 March 2018 20:21
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 19 March 2018 20:23
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Tuesday 20 March 2018 20:27
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!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Wednesday 21 March 2018 10:09
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?

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Wednesday 21 March 2018 16:31
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 ;)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Wednesday 21 March 2018 18:10
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?