Controlicz - Domoticz to Google Home/Assistant integration Topic is solved
Moderator: leecollings
-
- Posts: 4
- Joined: Friday 22 September 2017 6:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
finally google assistant speaks Italian.
I immediately tried controlicz and it works well.
but I have a problem:
I can only control "switch" devices.
I can not control "scenes" or "groups" even if I view them
when "I call" the scene ("ok google, accendi pianta") he searches on google.
(example in photo)
I tried to rename Domoticz, I tried to add the description (Controlicz: <friendlyname>) but nothing. does not work.
google understands the names, because I did some tests, but it seems that it does not accept the "scene".
How can I fix this problem? for me it is very important
thank you
sorry for my english
I immediately tried controlicz and it works well.
but I have a problem:
I can only control "switch" devices.
I can not control "scenes" or "groups" even if I view them
when "I call" the scene ("ok google, accendi pianta") he searches on google.
(example in photo)
I tried to rename Domoticz, I tried to add the description (Controlicz: <friendlyname>) but nothing. does not work.
google understands the names, because I did some tests, but it seems that it does not accept the "scene".
How can I fix this problem? for me it is very important
thank you
sorry for my english
- Attachments
-
- example assistant 2
- WhatsApp Image 2018-04-09 at 07.28.47.jpeg (88.03 KiB) Viewed 2052 times
-
- 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
Hi -
Can you try "Turn on" - or the italian equivalent
i don't think this is a Controlicz issue, maybe a bug with Italian Google smart home controls - will raise a ticket with Google
Can you try "Turn on" - or the italian equivalent
i don't think this is a Controlicz issue, maybe a bug with Italian Google smart home controls - will raise a ticket with Google
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Re: Controlicz - Domoticz to Google Home/Assistant integration
In my logs, I get:
But I have no user 'Admin', and I created the user 'controlicz' for the connection setup on controlicz.com.
How is controlicz connecting to make this behavior happen?
[edit]
I allowed local networks without password. But my domoticz is behind nginx and all it sees all connections as local. That why it entered as without credentials as Admin. Fixed now.
Code: Select all
User: Admin initiated a switch command
How is controlicz connecting to make this behavior happen?
[edit]
I allowed local networks without password. But my domoticz is behind nginx and all it sees all connections as local. That why it entered as without credentials as Admin. Fixed now.
-
- Posts: 42
- Joined: Sunday 12 November 2017 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Hi vchecco, I'm Italian as well... and for what I know, scenes are not currently supported by Google Home in Italian.vchecco wrote: ↑Monday 09 April 2018 14:50 finally google assistant speaks Italian.
I immediately tried controlicz and it works well.
but I have a problem:
I can only control "switch" devices.
I can not control "scenes" or "groups" even if I view them
when "I call" the scene ("ok google, accendi pianta") he searches on google.
(example in photo)
I tried to rename Domoticz, I tried to add the description (Controlicz: <friendlyname>) but nothing. does not work.
google understands the names, because I did some tests, but it seems that it does not accept the "scene".
How can I fix this problem? for me it is very important
thank you
sorry for my english
I think we need to wait for the native support, hoping it will come soon.
mantoz
-
- 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
Have had confirmation from Google - not supported yet
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Re: Controlicz - Domoticz to Google Home/Assistant integration
Hi, thanks for your reply. I changed in domoticz and controlicz like this:HarR wrote: ↑Tuesday 03 April 2018 23:23Google home is being “smart”.woody4165 wrote:Probably GH thinks that both words contain kitchen bath, try to change one light word with lux (or another word) and I think It will works.TheCondor wrote:Hi Madgeni, i encountering a strange behaviour for two specific room: the bath and the kitchen.
in the bath i have two lights, described in domoticz as:
Controlicz:Bath Light
Controlicz:Bath Mirror Light
Controlicz:Kitchen Light
Controlicz:Kitchen Top Light
When i call "ok google, turn on/off bath light" it answer something like "sorry, i dont know what light do you mean".
So they are indeed two lights in the bathroom, but just one is called Bath Light.
The same behaviour is happen with the kitchen, all other rooms works fine... how can i workaround that?
Make sure room names and device names are not the same. I have front garden and back garden defined as rooms. If I say “turn on garden light”, it will even know both are gardens, and turn on the lights in both front and back garden. Giving one of your lights the name garden light, will be confusing to GH.
Also GH will know a light switch is a light. So if I have a light called couch, saying “turn on the couch”, will do the same as “turn on the couch light”.
Also both turn on “living room” and “turn on living room lights”. Will turn on all lights in that room.
Sent from my iPad using Tapatalk
Luce Sala A
Luce Sala B
Room Name: Soggiorno
So the Name of the room is different and i cani turn all' light on with "turn on soggiorno lights" but with the opposite turn off it say "i don't know What device to power off"
I Also tryed to change the name light to "led" but it's the same...
Any other tricks to try? Thanks again!
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
As far as I understood, if I add a device in the Roomplan in Domoticz (or if I remove it) it will not been shown in the Google Home app with Controlicz service active, even if I swipe in the device list.
If this is true, I have to unlink and relink Controlicz. But in this case, if I have set Nickname and Rooms for the devices, I will have to re-enter, correct?
If this is true, I have to unlink and relink Controlicz. But in this case, if I have set Nickname and Rooms for the devices, I will have to re-enter, correct?
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- 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
Hi Woody - not sure I understand -
If you put a device in a Roomplan, then "sync my devices" (or italian equivalent) - it will appear in Google Home. If you remove it, then the device and the nickname will disappear, but any "Google" Rooms remain
If you put a device in a Roomplan, then "sync my devices" (or italian equivalent) - it will appear in Google Home. If you remove it, then the device and the nickname will disappear, but any "Google" Rooms remain
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Something like that, but where I should find the "sync my device" option?
Thanks
Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- 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
you can either say it, or type it (using google assistant)
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Thanks @Madgeni
It seems that it's not active in my country, Italy. I have read an article from late December 2017 and it was active only in the USA.
Really strange.
Any italian user here that can confirm or have some news?
It seems that it's not active in my country, Italy. I have read an article from late December 2017 and it was active only in the USA.
Really strange.
Any italian user here that can confirm or have some news?
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Re: Controlicz - Domoticz to Google Home/Assistant integration
Yep, i'm italian and the equivalent to "sync my devices" always end in: SORRY, I DIDN'T UNDERSTAND.
It's needed to unlink and relink controlicz.
Currently i've got an issure with my system as reported before. Maybe madgeni can you give me some advice for correctly identify my lights?
All my house lights are controlled under domoticz -> controlicz...
Thanks
It's needed to unlink and relink controlicz.
Currently i've got an issure with my system as reported before. Maybe madgeni can you give me some advice for correctly identify my lights?
All my house lights are controlled under domoticz -> controlicz...
Thanks
-
- 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
I think we can safely say Google Home in Italian isn't ready for Google Smart Home apps
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Controlicz is recognised and all the devices are imported correctly, but like the "sync my devices" was introduced just last December in the USA, it will arrive in the next few weeks (I hope!) or months.
Does this work in other country where Google Home is working, like France, Germany or other european countries?
Does this work in other country where Google Home is working, like France, Germany or other european countries?
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- 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
i believe so - the latest version is being approved for: Danish; Dutch; French; German; Italian; Norwegian; Portuguese and Swedish
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Re: Controlicz - Domoticz to Google Home/Assistant integration
@Madgeni: Could you reuse a session by saving the 'sid' cookie?
That way the logs won't be cluttered by 'Incoming connection from'-lines:
Will be as follows if you reuse the sid:
That way the logs won't be cluttered by 'Incoming connection from'-lines:
Code: Select all
2018-04-14 20:06:37.828 User: controlicz initiated a switch command (316/Spot Keuken/Off)
2018-04-14 20:06:37.862 Incoming connection from: 35.176.67.167
2018-04-14 20:06:37.877 User: controlicz initiated a switch command (272/Spot Woonkamer 1/Off)
2018-04-14 20:06:37.907 Incoming connection from: 35.176.67.167
2018-04-14 20:06:37.920 User: controlicz initiated a switch command (238/Lamp Eettafel/Off)
2018-04-14 20:06:37.954 Incoming connection from: 35.176.67.167
2018-04-14 20:06:37.969 User: controlicz initiated a switch command (228/Staande lamp woonkamer/Off)
2018-04-14 20:06:38.008 Incoming connection from: 35.176.67.167
2018-04-14 20:06:38.024 User: controlicz initiated a switch command (257/Spot Woonkamer 2/Off)
2018-04-14 20:06:38.065 Incoming connection from: 35.176.67.167
2018-04-14 20:06:38.080 User: controlicz initiated a switch command (287/Spot Woonkamer 3/Off)
2018-04-14 20:06:38.108 Incoming connection from: 35.176.67.167
2018-04-14 20:06:38.123 User: controlicz initiated a switch command (302/Lamp Hal/Off)
2018-04-14 20:06:38.180 Incoming connection from: 35.176.67.167
2018-04-14 20:06:38.196 User: controlicz initiated a switch command (333/Spot Overloop/Off)
2018-04-14 20:06:38.258 Incoming connection from: 35.176.67.167
2018-04-14 20:06:38.281 User: controlicz initiated a switch command (389/Lamp Badkamer/Off)
2018-04-14 20:06:38.325 Incoming connection from: 35.176.67.167
Code: Select all
2018-04-14 20:06:18.633 Incoming connection from: 35.176.67.167
2018-04-14 20:06:37.828 User: controlicz initiated a switch command (316/Spot Keuken/Off)
2018-04-14 20:06:37.877 User: controlicz initiated a switch command (272/Spot Woonkamer 1/Off)
2018-04-14 20:06:37.920 User: controlicz initiated a switch command (238/Lamp Eettafel/Off)
2018-04-14 20:06:37.969 User: controlicz initiated a switch command (228/Staande lamp woonkamer/Off)
2018-04-14 20:06:38.024 User: controlicz initiated a switch command (257/Spot Woonkamer 2/Off)
2018-04-14 20:06:38.080 User: controlicz initiated a switch command (287/Spot Woonkamer 3/Off)
2018-04-14 20:06:38.123 User: controlicz initiated a switch command (302/Lamp Hal/Off)
2018-04-14 20:06:38.196 User: controlicz initiated a switch command (333/Spot Overloop/Off)
2018-04-14 20:06:38.281 User: controlicz initiated a switch command (389/Lamp Badkamer/Off)
-
- 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
Hi - i'm afraid each call is a new call, as each call is a new call to the Domoticz API - i don't use a session cookie for the interactions with your Domoticz instances, solely for your interaction with the Controlicz site.
I believe this is the right approach, as each request should be distinct, but I appreciate the hassle it creates in your logs
I believe this is the right approach, as each request should be distinct, but I appreciate the hassle it creates in your logs
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Re: Controlicz - Domoticz to Google Home/Assistant integration
I understand each call is a new call, but if you use a cookie-jar for each user then you can reuse the Domoticz session and reduce unneeded logging and session creation.
I do this with all my scripts who connect to the domoticz api:
I do this with all my scripts who connect to the domoticz api:
Code: Select all
curl -b /tmp/domoticz-api-cookie-jar -c /tmp/domoticz-api-cookie-jar http://127.0.0.1:8080/json.htm?username=cn**&password=cnBpM**&type=command¶m=etc...
-
- 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
*edit* -Akerboom wrote: ↑Sunday 15 April 2018 21:12 I understand each call is a new call, but if you use a cookie-jar for each user then you can reuse the Domoticz session and reduce unneeded logging and session creation.
I do this with all my scripts who connect to the domoticz api:Code: Select all
curl -b /tmp/domoticz-api-cookie-jar -c /tmp/domoticz-api-cookie-jar http://127.0.0.1:8080/json.htm?username=cn**&password=cnBpM**&type=command¶m=etc...
I wrote a big response to this, which i deleted, then reposted, then deleted again
the cookie-jar method you employ is fine, when you control the environment. It's not an ideal method for managing REST api calls (which should be atomic and stateless).
I control session state between Google/Alexa and Controlicz with OAUTH2 tokens, this is a correct method for managing sessions for APIs (Tokens are now the default method for authenticating APIs. I built an OAUTH2 service, which G/A auth with, and i control those tokens, and what they can (and can't do in Controlicz).
I also control session for your interactions with Controlicz (the web site) with cookies - I can do this, as you're interacting with a client which can handle those - your browser.
The cookie.sid you talk about in terms of 'session' is from your Domoticz, and then, perversely, Controlicz becomes the client, and i'd have to persist the cookie. It is possible that I could obtain that, persist it 'somewhere' and work out a way of matching that to you as a user (the 'cookie-jar') - but if this is simply to reduce your logging, then the benefit is outweighed by effort, and the negative effect on Controlicz as a service (i'd have to store those cookies, and manage them for validity etc).
tl;dr - Web services using REST shouldn't use cookie-based sessions; This would involve effort for minimal return; negative effect on my AWS bill
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 31
- Joined: Thursday 29 September 2016 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
I have a google home mini
Can I be a tester of Controlicz?
Can I be a tester of Controlicz?
Raspberry PI 4
Domoticz: V2023.2
- Aeotec Gen5 EU
- Neo CoolCam Door Detector and plug
- FIBARO FGWPE Wall Plug
- 6 FIBARO System FGRM222 Roller Shutter Controller 2
- Kodi SamnsungTV Yamaha plugin
- pluginn manager
- Netatmo
Domoticz: V2023.2
- Aeotec Gen5 EU
- Neo CoolCam Door Detector and plug
- FIBARO FGWPE Wall Plug
- 6 FIBARO System FGRM222 Roller Shutter Controller 2
- Kodi SamnsungTV Yamaha plugin
- pluginn manager
- Netatmo
Who is online
Users browsing this forum: No registered users and 1 guest