Page 45 of 114

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 15:32
by Madgeni
so it's a Scene in Domoticz? Can only be turned on? Controlicz handles those

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 15:35
by bueno79
Madgeni wrote: Thursday 01 February 2018 15:32 so it's a Scene in Domoticz? Can only be turned on? Controlicz handles those
no it is a normal switch. Not a scene. But it a "Push On Button" and not a "On/Off"

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 15:41
by Madgeni
so "Activate" seems like the right method

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 15:48
by bueno79
yes but it will reply : ok, I activate garage light...

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 20:16
by alanlsmith
bueno79 wrote: Thursday 01 February 2018 15:00 so, how to deal with switch like this ? My workaround is to say : ok google, activate garage.
And how could it be possible for google to understand it is NOT a light ?

Someone has an idea ? Or Google see only lights and thermostat ?

cheers
For my curtains I have a push on switch which activates a motor, the motor then runs untill the curtains reach a stop and then the motor resets itself so it runs in the opposite direction the next time the switch is turned on.

So I have a variable that records whether the curtains are open or closed and use 2 virtual switched to open and close the curtains, these activate the push on switch and are controlled by Google shortcuts. So 'Hey, Google, open the curtains' translates to 'Turn the curtains on'

Also this allows 'open the curtains' to be ignored if they are already open and vice-versa .

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 21:13
by kimhaak
Hi!

Thank you for adding me to the google-test. However, the instructions is a bit unclear, as i do not know what we are trying to achieve, and how conversions.com are related.

I received one link : https://console.actions.google.com/proj ... atorcreate which just says "There was an error completing your request, try again". (Link is censored, in case there was an unique ID in it)

If i follow the conversions guide, i kind of end up with my own project, which i don't think is correct.

Could someone explain to med what the link (https://console.actions.google.com/proj ... atorcreate) is for?

Am i supposed to import this in my actions.google.com account somehow?

Sorry if this is comes of as negativity, i just did not understand what to do, and why. (And i am generally not a n00b in these kind of things)



If this project works and is good, i will definately donate to support the work.

--

Kim

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Thursday 01 February 2018 21:48
by frenchyyii
bueno79 wrote: Thursday 01 February 2018 15:35
Madgeni wrote: Thursday 01 February 2018 15:32 so it's a Scene in Domoticz? Can only be turned on? Controlicz handles those
no it is a normal switch. Not a scene. But it a "Push On Button" and not a "On/Off"
Transform your push switch in a normal on/off one (or create a new one as a scene) that send the same command wether it's on or off.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 7:54
by DewGew
@Madgeni I can login to controlicz.com but I can't find settings anymore.

EDIT: Nevermind I got it working.. :)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 10:02
by marco.bag
@Madgeni thank you for your software (i've donated).
Unfortunately even if i've followed the instruction and the Controlicz(Test) device can be found in the device that i can add if i click on that i'm prompted for the account information, than i'm asked to allow google full access (and obviously i allow it)... than login information again, spinning wheel but returns to the "device page" without adding Controlicz.

Any help?

Regards.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 10:25
by kdu33
Hi,
Great job! Could you had me to your project?
Thanks
-Nico-

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 12:06
by Ascari
@marco.bag I have the same issue :(

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 14:23
by marco.bag
Ascari wrote: Friday 02 February 2018 12:06 @marco.bag I have the same issue :(
Let's hope it's a temporary issue than. ;)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 14:55
by Ascari
Ok I have the solution for me.
You must add your device in the Plan Domoticz an it's work.

Thank Nick great job really.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 16:59
by Madgeni
marco.bag wrote: Friday 02 February 2018 10:02 @Madgeni thank you for your software (i've donated).
Unfortunately even if i've followed the instruction and the Controlicz(Test) device can be found in the device that i can add if i click on that i'm prompted for the account information, than i'm asked to allow google full access (and obviously i allow it)... than login information again, spinning wheel but returns to the "device page" without adding Controlicz.

Any help?

Regards.
Hi :)
Can you check that the devices you want to control are in a Room Plan on your Domoticz?

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 17:18
by marco.bag
Ascari wrote: Ok I have the solution for me.
You must add your device in the Plan Domoticz an it's work.

Thank Nick great job really.
Madgeni wrote: Friday 02 February 2018 16:59
Hi :)
Can you check that the devices you want to control are in a Room Plan on your Domoticz?
Thank you so much... i feel so stupid :D works like a charm! Congrats!!!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 17:54
by peteralm
Something has been going a bit wrong today...

First I couldn't sync devices without an error and in order to try and fix it I unlinked and tried to re-link in Google home...

I get the authorise message (twice) and then this from the controlicz site..

404: Not Found
Error: Not Found
at /opt/bitnami/apps/Controlicz/app.js:77:11
at Layer.handle_error (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:310:13)
at /opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:330:12)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:271:10)
at /opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:618:15
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:256:14)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/route.js:121:14)
at Layer.handle_error (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/layer.js:67:12)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/route.js:129:13)
at Layer.handle_error (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/layer.js:67:12)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/route.js:129:13)
at loaded (/opt/bitnami/apps/Controlicz/node_modules/oauth2orize/lib/middleware/transactionLoader.js:36:25)
at SessionStore.load (/opt/bitnami/apps/Controlicz/node_modules/oauth2orize/lib/txn/session.js:27:22)
at transactionLoader (/opt/bitnami/apps/Controlicz/node_modules/oauth2orize/lib/middleware/transactionLoader.js:42:24)
Home

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Friday 02 February 2018 18:47
by peteralm
Although I now get the same on hive... Two attempts at authorisation and then a 404 error
The British gas site says this is an oauth workflow issue. Wonder if Google have changed something today?

So, now for my tinkering I have nothing working! 😂 Ho hum the price of testing and beta ... Patience...

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 03 February 2018 0:09
by Madgeni
erk - i'll take a look!

Ok, so it failed for me - same as you - i then tried again, and it worked. I'll take a look, something has changed, but i've not touched Controlicz in a few days

so the request from Google was missing the response_type in the oauth2 call - but it could have coincided with an error in a users request restarting Controlicz. If there's an error with a users request, it forces Controlicz to restart, which might have coincided with you (and then me) reauthing.

I'll keep an eye on it, let me know how you get on

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 03 February 2018 7:33
by peteralm
I left it over night and it is still doing it this morning.

I have tried Hive and Lightwaverf but they are also failing. Looks like a Google thing.

Do you have any access to Googlers? Thanks for looking though.

P

Update: After a lot of googling I tried an old phone with an older version of Google home and it worked (with an error that looked like it failed but hadn't). So it is either that or the fact there was only one Google account on that phone.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Saturday 03 February 2018 9:47
by Madgeni
Ok, that's strange - maybe it's an update they've pushed which is causing the issue?

I have a meeting with Google on Tuesday evening to discuss Controlicz, as they wanted to only allow lights & switches, not thermostats.
I'll update after that