Controlicz - Domoticz to Google Home/Assistant integration Topic is solved
Moderator: leecollings
-
- 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
hmm, i could hardcode that hex, so if it matches, it sets that switch iswhite to true (usually it's false, as it's setting another colour)
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 11
- Joined: Tuesday 26 December 2017 23:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Yeah, you are right. This command also changes the color to white even though the statement "iswhite" is still false:
https://192.168.2.9/json.htm?type=comma ... hite=false
Let me know if you need some testing done.
Cheers,
Thomas
-
- 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
ok, so if that's the case, then there's not much I can do. i'm guessing that when you ask Google to set the lamp to white, it's triggering the 'colortemperature' trait, rather than 'colorSpectrum' trait - which means I have no control over it, otherwise it would be working. So in Domoticz terms, it's using that setKelvinLevel, rather than setcolbrightnessvalueTyturion wrote: ↑Thursday 04 January 2018 12:13Yeah, you are right. This command also changes the color to white even though the statement "iswhite" is still false:
https://192.168.2.9/json.htm?type=comma ... hite=false
Let me know if you need some testing done.
Cheers,
Thomas
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- 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
On SelectorSwitches - as i've said before - it's stupid. Google have to manually configure every level type you use individually, in order for you to use them. I've asked them for a 'mode' which is more configurable, so simply passes on the level word, and I deal with it, but we'll see.
In the interim, i've got it working, if you use off/small/medium/large for your selector switch levels in Domoticz. Now i don't use them, so i don't know how silly that is for you, but it's all i can do at the moment, as this is the only mode selectors they've configured.
So set your levels to all/some of those, then when you've re-sync'd you can say 'set <device> load to <small/medium/large> and it should work.
It's silly, but a minor step forward.
In the interim, i've got it working, if you use off/small/medium/large for your selector switch levels in Domoticz. Now i don't use them, so i don't know how silly that is for you, but it's all i can do at the moment, as this is the only mode selectors they've configured.
So set your levels to all/some of those, then when you've re-sync'd you can say 'set <device> load to <small/medium/large> and it should work.
It's silly, but a minor step forward.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
I have zwave dimmers and 433mhz dimmers but dimming is not working. GA is responding correct with " Sure, dimming the lamp by 50 percent."
Any ideas?
Any ideas?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 5
- Joined: Sunday 30 October 2016 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Hi Madgeni,
I have asked several times to include me in the beta programm, but no reply. Am I doing something wrong ?
Greetz Wim
I have asked several times to include me in the beta programm, but no reply. Am I doing something wrong ?
Greetz Wim
-
- 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 -
you were added a while back, maybe you didn't receive the email notification. I get a lot of posts on here, and I also have a job, so i do miss things
you were added a while back, maybe you didn't receive the email notification. I get a lot of posts on here, and I also have a job, so i do miss things
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- 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
hey - can you PM your email address, and i'll take a look
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- Posts: 5
- Joined: Sunday 30 October 2016 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Hi Madgeni,
Excuses, mail came into spam folder. Sorry !
Greetz
Wim
Excuses, mail came into spam folder. Sorry !
Greetz
Wim
-
- 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
ok - so here's the thing. Currently (as far as i can tell) google doesn't allow you to decrement/increment percentages, but it does say it does. So technically, the only brightness control is absolute (set light to x%) - but you can ask to decrement/increment, but it sets it to 0 in the actual request.
Will investigate - but if you say 'set my device to x%' - that should work.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
Thanks I got it working with "set lamp to 50%"Madgeni wrote: ↑Thursday 04 January 2018 14:43ok - so here's the thing. Currently (as far as i can tell) google doesn't allow you to decrement/increment percentages, but it does say it does. So technically, the only brightness control is absolute (set light to x%) - but you can ask to decrement/increment, but it sets it to 0 in the actual request.
Will investigate - but if you say 'set my device to x%' - that should work.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- 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
Ok, So I know it's a bodge and shouldn't really be needed but if you add the following script: 'script_device_lampname.luaMadgeni wrote: ↑Thursday 04 January 2018 12:29
ok, so if that's the case, then there's not much I can do. i'm guessing that when you ask Google to set the lamp to white, it's triggering the 'colortemperature' trait, rather than 'colorSpectrum' trait - which means I have no control over it, otherwise it would be working. So in Domoticz terms, it's using that setKelvinLevel, rather than setcolbrightnessvalue
( change lampname & idx to your lamp name and lamp idx )
Code: Select all
commandArray = {}
local lampname = 'Sofa_Lights'
local lampidx = 299
if( devicechanged[lampname] ) then
if ( otherdevices[lampname] == 'Set Kelvin Level' ) then
print(lampname.. 'wants to be white')
commandArray[#commandArray+1] = {['OpenURL']='http://127.0.0.1:8080/json.htm?type=command¶m=setcolbrightnessvalue&idx=' ..lampidx.. '&hex=ffffff'}
end
end
return commandArray
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.
Re: Controlicz - Domoticz to Google Home/Assistant integration
Hello Madgeni,
I Would like to participate to test your solution for GH.
I am registred on Controlicz with the mail [email protected] and i have acces to domoticz in HTTPS.
Can you add me to your test group ?
Thank you for your job.
Ps: sorry for my english, i'm french !
I Would like to participate to test your solution for GH.
I am registred on Controlicz with the mail [email protected] and i have acces to domoticz in HTTPS.
Can you add me to your test group ?
Thank you for your job.
Ps: sorry for my english, i'm french !
-
- 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
hey MaxArma -
pas de soucis, ma française est plus mauvais - vous avez accès maintenant
pas de soucis, ma française est plus mauvais - vous avez accès maintenant
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- 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
ok...Madgeni wrote: ↑Thursday 04 January 2018 12:29 ok, so if that's the case, then there's not much I can do. i'm guessing that when you ask Google to set the lamp to white, it's triggering the 'colortemperature' trait, rather than 'colorSpectrum' trait - which means I have no control over it, otherwise it would be working. So in Domoticz terms, it's using that setKelvinLevel, rather than setcolbrightnessvalue
can someone try the 'white' thing again please? both white and warm white - thanks
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
if i ask for white they they change to warm white has always worked for me
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
-
- Posts: 11
- Joined: Tuesday 26 December 2017 23:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
No, doesn't work, but thanks for trying.Madgeni wrote: ↑Thursday 04 January 2018 17:06ok...Madgeni wrote: ↑Thursday 04 January 2018 12:29 ok, so if that's the case, then there's not much I can do. i'm guessing that when you ask Google to set the lamp to white, it's triggering the 'colortemperature' trait, rather than 'colorSpectrum' trait - which means I have no control over it, otherwise it would be working. So in Domoticz terms, it's using that setKelvinLevel, rather than setcolbrightnessvalue
can someone try the 'white' thing again please? both white and warm white - thanks
Cheers,
Thomas
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Controlicz - Domoticz to Google Home/Assistant integration
I have tested again.
In the past if you say white it did change to warm white almost yellow to the max warm white of the mi light bulbs.
If i ask now for white they change to cold white.
If i ask for warm white the change to something in between warm and cold white
In the past if you say white it did change to warm white almost yellow to the max warm white of the mi light bulbs.
If i ask now for white they change to cold white.
If i ask for warm white the change to something in between warm and cold white
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
-
- 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
so if you curl https://yourhost:port/json.htm?type=command¶m=setkelvinlevel&idx=63&kelvin=50
does that not do anything?
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
-
- 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
Is that good or bad? It sounds bad.gijsje wrote: ↑Thursday 04 January 2018 17:58 I have tested again.
In the past if you say white it did change to warm white almost yellow to the max warm white of the mi light bulbs.
If i ask now for white they change to cold white.
If i ask for warm white the change to something in between warm and cold white
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Who is online
Users browsing this forum: No registered users and 1 guest