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

Alexa, Google Home and Siri

Moderator: leecollings

Richard
Posts: 3
Joined: Friday 18 September 2015 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Richard »

Hi Madgeni,
Can you please add me to the test group ? I have registered with Controlicz using mail address RichardD********[email protected]. I can not login. Can you tell me the next step?
Thanks Richard
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 »

Sorry to raise a possible problem but I tried to sync my devices ( to add a new device ) between Google Home and Controlicz ( by voice ) and got an error. So I unlinked Controlicz in the home app. Unfortunately now Controlicz does not appear in the list of new services to add. This has always worked in the past.

The connection test from Controlicz works and none of the details have changed.

Any ideas?
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.
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by bldewit »

Hi Madgeni,

I think I have discovered a pattern. I think when I change a nickname for a device in GH it confuses GH to the point where I have to reconnect the service in order for GH to understand domotics commands at all. Maybe this can help to further improve an already fantastic service!
-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
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 »

alanlsmith wrote: Sunday 31 December 2017 12:41 Sorry to raise a possible problem
Right, sorry for posting before I'd gone through all my options.

So, I went to the Google simulator console and changed the language from US English to UK English, I don't think this in itself is of any significance but what it did do, was to effectively re-initialise the hometest. So I could then go back to the Home app and test Controlicz appeared in the new services list.

Now all is fine again. Sorry again for raising this as a problem but you never know it could be useful for someone.
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.
MaxArma
Posts: 2
Joined: Sunday 31 December 2017 14:20
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by MaxArma »

Hi Madgeni,
Can you please add me to the test group for Google Home? I have registered with Controlicz using mail address [email protected].
Thank you, Max.
Skyteam
Posts: 2
Joined: Tuesday 05 September 2017 22:22
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Skyteam »

Madgeni wrote: Sunday 31 December 2017 11:30
Skyteam wrote: Sunday 31 December 2017 6:53 Hello Madgeni,

It's possible to test with Google Home...Can you add me on beta controlicz please? I'm registered with [email protected].

Thank you very much, and "bravo pour ton boulot" comme on dit en France
Merci Fabrice! :)
Merci à toi...tout fonctionne...au top...
koenc
Posts: 2
Joined: Sunday 31 December 2017 16:54
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by koenc »

Hi Madgeni,

Can you also add me to the Google Home test? I've just registered as [email protected].

Thanks!

Regards,

Koen
00luke
Posts: 14
Joined: Thursday 28 December 2017 23:47
Target OS: OS X
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by 00luke »

Hi Madgeni,

Sorry to post again but just want to check I'm not missing something. How will I know when you've added me to beta? I keep checking in the devices list on GH app, but nothing there.

Will I get an email?

Thanks again for all your hard work!
getdown
Posts: 8
Joined: Friday 29 December 2017 22:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by getdown »

You'll get a mail with the steps to add the controlicz app to your GH.

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk

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 »

This could be of use to someone:

I use LightwaveRF dimmers, largely because of their appearance. They have 2 disadvantages. The first is that they do not report their status back to Domoticz, the second is that although Domoticz interprets the brightness steps as 0-100% The actual 'electronic' values of the device are 0-32 and this is what Google Home uses ( ie: to set the level at 50% you have to say dim the <lights> to 16% ).

So to get round the first limitation I use a bash script to update a user variable with their level (this is so that when I use a script to gradually increase or decrease their brightness the script knows what level to start from. Unfortunately this only keeps track of the levels set via Domoticz and is no help when the level is set 'manually' at the physical dimmer.

For the dimming levels I create a dummy dimmer ( which default to a dimming range of 0-100% ), called 'Bedroom_Light' in this example, by going to Hardware, Dummy Hardware, Create Virtual Sensor and choosing switch as the type. After it has been created, edit it and change it to a type of 'dimmer'.

Create an actual device in Domoticz in the usual way and call it 'Bedroom_Dimmer' ( or rename it if it already exists, doing it this way allows any scripts that already call for the device to continue functioning as before )

Then place the script below ( with the appropriate name changes ) in your 'domoticz/scripts/lua' directory.

Code: Select all

--script_device_bedroom_light.lua--

commandArray = {}

local dimmer = 'Bedroom_Light'
local light = 'Bedroom_Dimmer'
local level = 0

if ( devicechanged[dimmer] ) then
	level = otherdevices_svalues[dimmer]
	commandArray[#commandArray+1] = {[light] = 'Set Level ' ..level}
end

return commandArray
As I said this may be of use to anyone who has dimmers that have a reduced range like the LightwaveRF ones.

Edit: I forgot to say that after renaming the device ( 'Bedroom_Dimmer' ) you have to remove it from your room plan and replace it with the new device ( 'Bedroom_Light' ). As Domoticz keeps the device in the plan but with the new name.

You also then need to re- sync the devices with Google Home.
Last edited by alanlsmith on Sunday 31 December 2017 20:57, edited 3 times in total.
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.
pabloalcantara
Posts: 8
Joined: Sunday 31 December 2017 19:02
Target OS: -
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by pabloalcantara »

Pleasy Madgeni,
Can yoy add me to the tests? geristered email pa???@pa*.eti.br
Thanks
User avatar
bueno79
Posts: 83
Joined: Wednesday 08 March 2017 10:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by bueno79 »

Hi,

strange behavior. I have a light in my office "bureau". if I say :
switch on bureau =>OK
switch off bureau =>OK
open bureau =>OK
close bureau => OK

then in french

allume le bureau =>OK
eteint le bureau =>OK
ouvre le bureau =>OK
ferme le bureau => BUUUUGGGGG

very strange. So Close the light...who care? But close the garage ! Very usefull. So the instruction close en french is not recognize ? Why ?

regards
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 »

koenc wrote: Sunday 31 December 2017 17:00 Hi Madgeni,

Can you also add me to the Google Home test? I've just registered as [email protected].

Thanks!

Regards,

Koen
edit - think i've found you - you should have an email
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: Controlicz - Domoticz to Google Home/Assistant integration

Post by Madgeni »

alanlsmith wrote: Sunday 31 December 2017 18:44 This could be of use to someone:

I use LightwaveRF dimmers, largely because of their appearance. They have 2 disadvantages. The first is that they do not report their status back to Domoticz, the second is that although Domoticz interprets the brightness steps as 0-100% The actual 'electronic' values of the device are 0-32 and this is what Google Home uses ( ie: to set the level at 50% you have to say dim the <lights> to 16% ).

You also then need to re- sync the devices with Google Home.

hey - that is both ingenious and awful! Awful that you have to do that :)
So the best solution is for me to interpret the fact it's a lightwaverf light, and when you issue the 50% command, i interpret that to 16?
Is that right? If so, it's not a major problem to do (as long as i can identify it being lightwaverf).
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: Monday 01 January 2018 14:17 hey - that is both ingenious and awful! Awful that you have to do that :)
So the best solution is for me to interpret the fact it's a lightwaverf light, and when you issue the 50% command, i interpret that to 16?
Is that right? If so, it's not a major problem to do (as long as i can identify it being lightwaverf).
I guess it is, but I thought that the LightwaveRF dimmers might be a minority case and so I dealt with it accordingly.

You are quite correct about a level of 16 = 50%, the Domoticz dimmer does already do that interpretation, it's just Google that doesn't.

It would be much appreciated if you did address it 'properly' though.

The LightwaveRF dimmers have a Type = Lighting 5, SubType = LightwaveRF, SwitchType = Dimmer, SwitchTypeValue = 7 and MaxDimLevel = 32
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.
Fasthook
Posts: 3
Joined: Monday 01 January 2018 16:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Fasthook »

Hello,

Can you also add me to the Google Home test group? My mail addres is [email protected]

This is my google account

Thank you
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 »

alanlsmith wrote: Monday 01 January 2018 14:26 I guess it is, but I thought that the LightwaveRF dimmers might be a minority case and so I dealt with it accordingly.

You are quite correct about a level of 16 = 50%, the Domoticz dimmer does already do that interpretation, it's just Google that doesn't.

It would be much appreciated if you did address it 'properly' though.

The LightwaveRF dimmers have a Type = Lighting 5, SubType = LightwaveRF, SwitchType = Dimmer, SwitchTypeValue = 7 and MaxDimLevel = 32
Can you sync your devices and try again? (untested change alert!)
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
patatman
Posts: 2
Joined: Monday 01 January 2018 18:07
Target OS: Linux
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by patatman »

Hi,

I'd also like access to the google home integration.
I just signed up with my google account ([email protected])

Thanks!
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: Monday 01 January 2018 18:02 Can you sync your devices and try again? (untested change alert!)
Sorry, Tried with device 'Bedroom Light'
Hey Google, 'Turn on / off the Bedroom Light' still works fine but 'Set / Dim the Bedroom Light to xx% results in the response 'Sorry there was an error and I am unable to control your home device'.
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.
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 »

alanlsmith wrote: Monday 01 January 2018 18:21
Madgeni wrote: Monday 01 January 2018 18:02 Can you sync your devices and try again? (untested change alert!)
Sorry, Tried with device 'Bedroom Light'
Hey Google, 'Turn on / off the Bedroom Light' still works fine but 'Set / Dim the Bedroom Light to xx% results in the response 'Sorry there was an error and I am unable to control your home device'.

can you try again? I was literally pushing a change this minute - seems to work for me now
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