Page 26 of 114

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 11:57
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 12:41
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?

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 12:53
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!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 12:59
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 14:23
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 15:19
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...

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 17:00
by koenc
Hi Madgeni,

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

Thanks!

Regards,

Koen

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 17:28
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!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 18:10
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


Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 18:44
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.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Sunday 31 December 2017 19:05
by pabloalcantara
Pleasy Madgeni,
Can yoy add me to the tests? geristered email pa???@pa*.eti.br
Thanks

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 12:25
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 14:04
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 14:17
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).

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 14:26
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 16:07
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

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 18:02
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!)

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 18:17
by patatman
Hi,

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

Thanks!

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 18:21
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'.

Re: Controlicz - Domoticz to Google Home/Assistant integration

Posted: Monday 01 January 2018 18:24
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