Page 5 of 114

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 17:17
by Madgeni
so, in your browser, make sure you don't have Domoticz open. Then can you log into your Domoticz as the account you want to start using. Then, in another browser tab type: https://yourhost:port/json.htm?type=devices&filter=all&used=true&order=Name - what devices does it discover?

This is *NOT* a controlicz issue, I don't do anything clever or fancy with the interaction with your Domoticz - I don't cache requests, or users. i use the account you provide, it will discover what you let it. If it's finding more devices than you would like it to, then it's config on your side :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 19:02
by Failure404
Hi,
finally someone takes care of Domoticz and Google Assistant integration. Excellent!
Would this also work with a ssl Nginx reverse proxy with simple user authentication in front of a non passworded Domoticz? IFTTT works fine with https://user:[email protected]:443/domoticz. I can send all commands, also Domoticz android app works fine.
I wanted to sign up at controlicz.com, but wasnt sure what to enter at user, pass, port...
Thanks in advance!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 19:38
by Madgeni
Hi there :)

It's interesting, i think you're not the first (you've finally given me the answer to some of the errors!) and yes it will work, BUT i'll need to make a change, as i expect https://hostname:port - whereas you give me https://hostname:port/domoticz..
Let me have a play tomorrow, see if i can work something out :)

update: it's going to be some effort - i created a node wrapper for the Domoticz API, and the connection string will need to be redone to handle this.
Should have it done in a couple of days, will let you know :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 19:57
by Failure404
Totally awesome,
thank you for your response and work!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 20:22
by deennoo
Madgeni wrote:so, in your browser, make sure you don't have Domoticz open. Then can you log into your Domoticz as the account you want to start using. Then, in another browser tab type: https://yourhost:port/json.htm?type=devices&filter=all&used=true&order=Name - what devices does it discover?

This is *NOT* a controlicz issue, I don't do anything clever or fancy with the interaction with your Domoticz - I don't cache requests, or users. i use the account you provide, it will discover what you let it. If it's finding more devices than you would like it to, then it's config on your side :)
Thx for your tip, finally i maybe have a source for this issue.

User device assignation, works great ! But user can still use all the scènes and groupes.

Controlicz still can see all my groupes and scènes, and list them to Google Home.

As i don't have a Real good dsl connection, maybe request take to long Time to get all my device. I will try to create à small version of my installation.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 20:36
by bonebuster
Hi Madgeni

i would like to test contolicz with Google home PM me please

thanks

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 25 November 2017 22:24
by Madgeni
Hi deennoo - this does seem to be an issue for some, I guess I underestimated how many devices people have, also Google enforce a 5sec (I think) response from initial request, whereas Alexa is 10sec. This is a bit cheeky, as i've observed that there's about a 1 sec delay from asking Google to do something to it actually requesting it of Controlicz!
This is mostly an issue for query requests ("What lights are on?") or similar, which make lots of individual requests - am looking at a re-write, but it will take some time.

However, discovery of 100+ devices should still only take 1-5 seconds tops.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 7:46
by evildonkey
I would like to help out in the beta. But i cant send Pm's yet because i'm new.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 10:35
by ultratoto14
deennoo wrote: Saturday 25 November 2017 20:22 As i don't have a Real good dsl connection, maybe request take to long Time to get all my device. I will try to create à small version of my installation.
Hi deennoo,
Do you have a standalone domoticz install or do you use nginx to provide your APIs over internet ?

U.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 10:58
by ledje
Hi Madgeni,

I am also new to the forum and cannot PM you, would like to test the Google Home functionality.
also your email address that you use to send confirmation from controlix, does not work :o

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 11:57
by Madgeni
evildonkey wrote: Sunday 26 November 2017 7:46 I would like to help out in the beta. But i cant send Pm's yet because i'm new.
register on Controlicz, and i'll pick your email up from there

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 11:58
by Madgeni
ledje wrote: Sunday 26 November 2017 10:58 Hi Madgeni,

I am also new to the forum and cannot PM you, would like to test the Google Home functionality.
also your email address that you use to send confirmation from controlix, does not work :o
yep, it's currently send only - it's low on my list of priorities :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 12:25
by deennoo
ultratoto14 wrote:
deennoo wrote: Saturday 25 November 2017 20:22 As i don't have a Real good dsl connection, maybe request take to long Time to get all my device. I will try to create à small version of my installation.
Hi deennoo,
Do you have a standalone domoticz install or do you use nginx to provide your APIs over internet ?

U.
That à standalone installation using domoticz server

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 12:37
by evildonkey
Madgeni wrote: Sunday 26 November 2017 11:57
evildonkey wrote: Sunday 26 November 2017 7:46 I would like to help out in the beta. But i cant send Pm's yet because i'm new.
register on Controlicz, and i'll pick your email up from there
Done that yesterday :D

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 12:41
by Madgeni
evildonkey wrote: Sunday 26 November 2017 12:37
Madgeni wrote: Sunday 26 November 2017 11:57
evildonkey wrote: Sunday 26 November 2017 7:46 I would like to help out in the beta. But i cant send Pm's yet because i'm new.
register on Controlicz, and i'll pick your email up from there
Done that yesterday :D
give me a clue then! What are the first 4 characters?

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 12:42
by evildonkey
thelast

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 12:45
by Madgeni
gotcha

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 13:11
by evildonkey
Oke, just wanted to let you know.
Followed the steps real easy. Added Controlicz. and there were all my lights (just to start with).
And every thing is working very smooth and fast.
Kudos to you sir.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 13:13
by Madgeni
awesome - thanks :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 26 November 2017 13:35
by MrDee
If there's still room I would like to help with the beta as well ... running Domoticz @ Pi2
Already registered with Controlicz on Friday :)

E-mail starts with domi

Thanks in advance!