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

Alexa, Google Home and Siri

Moderator: leecollings

visuel
Posts: 13
Joined: Sunday 05 March 2017 13:02
Target OS: Linux
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by visuel »

Hello Madgeni

Today I registered at controlicz with v*****@visuel.nl and tested the connection.

Could you please add me to beta in order to let me try things out on my google AIY voice kit?

Thanks for the awesome work!

Regards,

Victor
Questor1972
Posts: 3
Joined: Tuesday 02 January 2018 15:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by Questor1972 »

Hi Madgeni,

Just received your message. Could you add me to the Beta program. I've already registered with kim*********@gmail.com
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 »

I've been using Controlicz and Google Home for a few weeks now and it's working really well for me. I'm able to control lights (on / off / dim ), curtains (open / close )

A couple of caveats:
With heating: If I say 'Set the <zone> thermostat to xx°' there is a long pause followed by the response 'Sure, setting 12 thermostats to xx° and all my zone thermostats and radiator TRVs change to that value. Not the desired effect. I can easily rectify it as by changing the main house thermostat 'manually' it sets an override that stops the heating system from updating ( based on time, outside temp, etc ), so all I have to do is switch the override off and the system sorts itself out. so not a big problem.

Conversely, if I say 'set the <zone> thermostat to xx°' the response is 'Sure, setting the <zone> thermostat to xx°.

The other thing related to heating is that if I ask what is the thermostat set to? The response is 'Unable to reach kitchen thermostat, unable to reach kitchen TRV... this then continues for all the radiator TRVs and thermostat zones, then Google says the living room is off and the temperature is 21.7°.. and continues for all the temperature sensors in other zones. I have a tablet on the wall that displays the thermostat settings so it's not really necessary to be able to ask Google but I just thought I should mention it for completeness.

One final thing, which I'm sure is to do with Google rather than Controlicz is: I have a virtual switch called 'Evening Lights' that effectively sets a scene by switching some lights off, dimming others and switching some ( artificial ) candles on. on a few occasions I have ask Google to 'turn on the evening lights' and the response has been 'Sure, turning on 33 lights.' followed by various lights going on or off or changing colour, the curtails opening, the TV changing channels a few times and the volume being turned up. I seems fairly random and some lights go on then off or change colour a number of times.

It's quite amusing really and I'm fairly sure it's got to do with Google misinterpreting what I have said somehow and nothing to do with Controlicz.

I wonder if anyone else has had something similar happen, I have not found any mention of it on the interweb.
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: Wednesday 03 January 2018 14:36 I've been using Controlicz and Google Home for a few weeks now and it's working really well for me. I'm able to control lights (on / off / dim ), curtains (open / close )

A couple of caveats:
With heating: If I say 'Set the <zone> thermostat to xx°' there is a long pause followed by the response 'Sure, setting 12 thermostats to xx° and all my zone thermostats and radiator TRVs change to that value. Not the desired effect. I can easily rectify it as by changing the main house thermostat 'manually' it sets an override that stops the heating system from updating ( based on time, outside temp, etc ), so all I have to do is switch the override off and the system sorts itself out. so not a big problem.

Conversely, if I say 'set the <zone> thermostat to xx°' the response is 'Sure, setting the <zone> thermostat to xx°.

The other thing related to heating is that if I ask what is the thermostat set to? The response is 'Unable to reach kitchen thermostat, unable to reach kitchen TRV... this then continues for all the radiator TRVs and thermostat zones, then Google says the living room is off and the temperature is 21.7°.. and continues for all the temperature sensors in other zones. I have a tablet on the wall that displays the thermostat settings so it's not really necessary to be able to ask Google but I just thought I should mention it for completeness.

One final thing, which I'm sure is to do with Google rather than Controlicz is: I have a virtual switch called 'Evening Lights' that effectively sets a scene by switching some lights off, dimming others and switching some ( artificial ) candles on. on a few occasions I have ask Google to 'turn on the evening lights' and the response has been 'Sure, turning on 33 lights.' followed by various lights going on or off or changing colour, the curtails opening, the TV changing channels a few times and the volume being turned up. I seems fairly random and some lights go on then off or change colour a number of times.

It's quite amusing really and I'm fairly sure it's got to do with Google misinterpreting what I have said somehow and nothing to do with Controlicz.

I wonder if anyone else has had something similar happen, I have not found any mention of it on the interweb.
Hey Alan - what exactly is <zone>? is that a Google Room you've created, or is the name of a thermostat in Domoticz?

Re: Evening Lights - that does sound very random - are some of the actions it does nothing to do with evening lights at all? What's the IDX of 'evening lights'?
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: Wednesday 03 January 2018 14:41 Hey Alan - what exactly is <zone>? is that a Google Room you've created, or is the name of a thermostat in Domoticz?

Re: Evening Lights - that does sound very random - are some of the actions it does nothing to do with evening lights at all? What's the IDX of 'evening lights'?
Yes, <zone> is the name of a thermostat in Domoticz, I haven't set any rooms in the GH app.

The IDX of 'Evening Lights' is 330, I'm pretty sure it's purely a Google related thin, the first time it happened someone else spoke as I was telling Google to switch it on, so I assumed that it happened as a result of confusing sounds / words.

But other times it has happened when I spoken very clearly, that being said it's only occurred about 5 times, I think.

EDIT: I've just looked back on the logs and the last time it happened was 2017-11-16 23:31:46, so that was a long time ago and I don't think it's worth bothering with.
Last edited by alanlsmith on Wednesday 03 January 2018 15:02, edited 1 time 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.
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 »

Can see a couple of requests for this, which definitely called that IDX, and only that IDX. Is this your IFTTT solution? Without wanting to point fingers at something else, don't suppose it's an issue in there??

p.s am totally pointing the finger ;-)
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: Wednesday 03 January 2018 14:57 Can see a couple of requests for this, which definitely called that IDX, and only that IDX. Is this your IFTTT solution? Without wanting to point fingers at something else, don't suppose it's an issue in there??

p.s am totally pointing the finger ;-)
No , this is purely Domoticz and the switch just triggers a script, not a scene but as it's Google that replies with 'Sure, turning 33 lights on', the script isn't getting actioned on those occasions.

But as I have just checked, it hasn't happened since November 16, I don't think it's worth pursuing.

Just for a laugh here is the log for that minute, the only human action was asking Google to turn on the evening lights.

Hang on... I have just noticed a possible clue. I had created a virtual switch called 'Unspecified lights' which does nothing and is triggered when Google hears just 'turn the lights on' ( by a google shortcut ) I was hoping that this might stop lots of lights being switched if Google didn't hear properly. and although 'evening lights' is switched as well, 'unspecified lights is triggered first as well as all the others., So, to me that would indicate that Google misheard and that's the problem.

I hope that makes sense, it did when it left my head and hopefully it continues to do so as it lands on the screen.

Code: Select all

2017-11-16 23:31:43.813  User: Admin initiated a switch command (5/Landing_Light/On)
2017-11-16 23:31:43.837  (RFX Transceiver) Lighting 5 (Landing_Light)
2017-11-16 23:31:43.838  User: Admin initiated a scene/group command
2017-11-16 23:31:43.838  Activating Scene/Group: [White_LEDs]
2017-11-16 23:31:43.838  Activating Scene/Group Device: Living_Room_LEDs (On)
2017-11-16 23:31:44.364  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:44.415  User: Admin initiated a switch command (433/Unspecified Lights/On)
2017-11-16 23:31:44.439  (General Virtual Switches) Lighting 1 (Unspecified Lights)
2017-11-16 23:31:44.439  User: Admin initiated a switch command (299/Living_Room_LEDs/On)
2017-11-16 23:31:44.564  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:44.564  User: Admin initiated a switch command (415/Candles/On)
2017-11-16 23:31:44.618  (General Virtual Switches) Lighting 1 (Candles)
2017-11-16 23:31:44.619  User: Admin initiated a switch command (347/Big Fan/On)
2017-11-16 23:31:44.643  (RFX Transceiver) Lighting 1 (Big Fan)
2017-11-16 23:31:44.643  User: Admin initiated a switch command (418/Television/On)
2017-11-16 23:31:44.673  EventSystem: Script event triggered: /home/alan/domoticz/scripts/lua/script_device_television.lua
2017-11-16 23:31:44.681  (General Virtual Switches) Lighting 1 (Television)
2017-11-16 23:31:44.681  User: Admin initiated a scene/group command
2017-11-16 23:31:44.682  Activating Scene/Group: [Red_LEDs]
2017-11-16 23:31:44.682  Activating Scene/Group Device: Living_Room_LEDs (On)
2017-11-16 23:31:44.720  (Television) onCommand called for Unit 1: Parameter 'On', Level: 0
2017-11-16 23:31:45.150  (RFX Transceiver) Lighting 5 (Landing_Light)
2017-11-16 23:31:45.208  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:45.258  Activating Scene/Group Device: Living_Room_Lights (On)
2017-11-16 23:31:45.283  (RFX Transceiver) Lighting 5 (Living_Room_Lights)
2017-11-16 23:31:45.333  User: Admin initiated a switch command (54/Kitchen_Under_Cupboard_Lights/On)
2017-11-16 23:31:45.358  (RFX Transceiver) Lighting 5 (Kitchen_Under_Cupboard_Lights)
2017-11-16 23:31:45.358  User: Admin initiated a switch command (364/Coloured Lights/On)
2017-11-16 23:31:45.412  (General Virtual Switches) Lighting 1 (Coloured Lights)
2017-11-16 23:31:45.413  User: Admin initiated a switch command (300/Standard_Lamp_LEDs/On)
2017-11-16 23:31:45.537  (LED Milight) Lighting Limitless/Applamp (Standard_Lamp_LEDs)
2017-11-16 23:31:45.537  User: Admin initiated a switch command (172/Heating_Override/On)
2017-11-16 23:31:45.563  (General Virtual Switches) Lighting 1 (Heating_Override)
2017-11-16 23:31:45.563  User: Admin initiated a switch command (80/Porch_Light/On)
2017-11-16 23:31:45.587  (RFX Transceiver) Lighting 5 (Porch_Light)
2017-11-16 23:31:45.588  User: Admin initiated a scene/group command
2017-11-16 23:31:45.588  Activating Scene/Group: [Blue_LEDs]
2017-11-16 23:31:45.588  Activating Scene/Group Device: Living_Room_LEDs (On)
2017-11-16 23:31:46.114  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:46.165  Activating Scene/Group Device: Living_Room_Lights (On)
2017-11-16 23:31:46.189  (RFX Transceiver) Lighting 5 (Living_Room_Lights)
2017-11-16 23:31:46.240  User: Admin initiated a switch command (183/Heating_Boost/On)
2017-11-16 23:31:46.243  LUA: Heating boost on - temperature 22.2 deg.
2017-11-16 23:31:46.272  EventSystem: Fetching url...
2017-11-16 23:31:46.272  EventSystem: Script event triggered: /home/alan/domoticz/scripts/lua/script_device_heating_boost.lua
2017-11-16 23:31:46.295  (General Virtual Switches) Lighting 1 (Heating_Boost)
2017-11-16 23:31:46.295  User: Admin initiated a switch command (75/Living_Room_Lights/On)
2017-11-16 23:31:46.372  (General Virtual Switches) Lighting 1 (Heating_Override)
2017-11-16 23:31:46.395  (RFX Transceiver) Lighting 5 (Living_Room_Lights)
2017-11-16 23:31:46.396  User: Admin initiated a switch command (399/Television_Source/Set Level)
2017-11-16 23:31:46.400  User: Admin initiated a switch command (330/Evening_Lights/On)
2017-11-16 23:31:46.405  EventSystem: Script event triggered: /home/alan/domoticz/scripts/lua/script_device_evening_lights.lua
2017-11-16 23:31:46.424  (Television) onCommand called for Unit 3: Parameter 'Set Level', Level: 20
2017-11-16 23:31:46.427  (General Virtual Switches) Lighting 1 (Evening_Lights)
2017-11-16 23:31:46.432  User: Admin initiated a switch command (53/Kitchen_Lights/On)
2017-11-16 23:31:46.456  (RFX Transceiver) Lighting 5 (Kitchen_Lights)
2017-11-16 23:31:46.456  User: Admin initiated a switch command (73/Bedroom_Light/On)
2017-11-16 23:31:46.532  (RFX Transceiver) Lighting 5 (Bedroom_Light)
2017-11-16 23:31:46.532  User: Admin initiated a switch command (273/Living_Room_Curtains_Remote/On)
2017-11-16 23:31:46.555  EventSystem: Script event triggered: /home/alan/domoticz/scripts/lua/script_device_living_room_curtains_remote.lua
2017-11-16 23:31:46.557  (General Virtual Switches) Lighting 1 (Living_Room_Curtains_Remote)
2017-11-16 23:31:46.562  User: Admin initiated a scene/group command
2017-11-16 23:31:46.563  Activating Scene/Group: [White_LEDs]
2017-11-16 23:31:46.563  Activating Scene/Group Device: Living_Room_LEDs (On)
2017-11-16 23:31:46.637  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:46.661  (RFX Transceiver) Lighting 5 (Living_Room_Lights)
2017-11-16 23:31:46.736  (RFX Transceiver) Lighting 5 (Kitchen_Lights)
2017-11-16 23:31:46.790  (General Virtual Switches) Lighting 1 (Candles)
2017-11-16 23:31:47.088  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:47.139  User: Admin initiated a switch command (399/Television_Source/Set Level)
2017-11-16 23:31:47.163  Sending SetPoint to device....
2017-11-16 23:31:47.184  (Television) onCommand called for Unit 3: Parameter 'Set Level', Level: 40
2017-11-16 23:31:47.186  (General Virtual Switches) Thermostat (Main Thermostat)
2017-11-16 23:31:47.187  User: Admin initiated a switch command (399/Television_Source/Set0Level)
2017-11-16 23:31:47.188  User: Admin initiated a switch command (457/Twinkly Lights/On)
2017-11-16 23:31:47.221  EventSystem: Script event triggered: /home/alan/domoticz/scripts/lua/script_device_living_room_curtains_open.lua
2017-11-16 23:31:47.257  (Television) Update Television_Status: 1 - 'HDMI 3'
2017-11-16 23:31:47.263  (General Virtual Switches) Lighting 1 (Living_Room_Curtains_Open)
2017-11-16 23:31:47.327  (Television) Update Television_Source: 1 - '40'
2017-11-16 23:31:47.327  (Television) onCommand called for Unit 3: Parameter 'Set0Level', Level: 20
2017-11-16 23:31:47.334  (General Virtual Switches) Lighting 1 (Twinkly Lights)
2017-11-16 23:31:47.334  User: Admin initiated a scene/group command
2017-11-16 23:31:47.335  Activating Scene/Group: [Green_LEDs]
2017-11-16 23:31:47.335  Activating Scene/Group Device: Living_Room_LEDs (On)
2017-11-16 23:31:47.860  (LED Milight) Lighting Limitless/Applamp (Living_Room_LEDs)
2017-11-16 23:31:47.911  Activating Scene/Group Device: Living_Room_Lights (On)
2017-11-16 23:31:47.935  (RFX Transceiver) Lighting 5 (Living_Room_Lights)
2017-11-16 23:31:50.271  (Television) Update Television_Status: 1 - 'HDMI 3/ARC'
2017-11-16 23:31:51.584  (General Virtual Switches) Lighting 1 (Living_Room_Curtains_Remote)
2017-11-16 23:31:52.252  (General Virtual Switches) Lighting 1 (Living_Room_Curtains_Open)
2017-11-16 23:31:56.452  (General Virtual Switches) Lighting 1 (Evening_Lights)
2017-11-16 23:31:57.280  (RFX Transceiver) Lighting 4 (Living_Room_Curtains)
2017-11-16 23:31:58.864  (Z-Stick) General/kWh (Greenwave2_Energy)
2017-11-16 23:31:59.229  (Z-Stick) Usage (Greenwave2_Watts)
2017-11-16 23:31:59.254  (Z-Stick) General/kWh (Greenwave2_Energy)
2017-11-16 23:31:59.717  (Television) onCommand called for Unit 3: Parameter 'Set Level', Level: 20
2017-11-16 23:31:59.756  (Television) Update Television_Status: 1 - 'HDMI 1'
2017-11-16 23:31:59.780  (Television) Update Television_Source: 1 - '20'
2017-11-16 23:31:59.799  (Z-Stick) Usage (Greenwave2_Watts)
2017-11-16 23:31:59.824  (Z-Stick) General/kWh (Greenwave2_Energy)
2017-11-16 23:32:00.207  LUA: Door has been closed
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.
Tyturion
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

Post by Tyturion »

Hi Madgeni,
thanks for adding me to the beta. After assigning all devices to rooms in Domoticz I have successfully added some switches, lights, temperature sensors and Milights to the Google Home control so far.
They all work fine and I even get different icons for wallplugs, lights, temp. sensors and scenes. Great stuff. Syncing works nicely, too.
The biggest issue I encountered so far is changing the color of the Milights to white. Any other color works fine but I can't get back to white (or soft white, warm white or day light :-)).

When I change to red: Domoticz nicely transmits this:

2018-01-03 16:10:20.256 RFLink Sending: 10;MiLightv1;e452;01;2000;ON
2018-01-03 16:10:20.487 RFLink Sending: 10;MiLightv1;e452;01;2000;COLOR
2018-01-03 16:10:20.714 (RFLINK 433MHZ) Lighting Limitless/Applamp (Gästezimmer Lichtleiste)
2018-01-03 16:10:20.815 RFLink Sending: 10;MiLightv1;e452;01;00ff;ON
2018-01-03 16:10:21.036 RFLink Sending: 10;MiLightv1;e452;01;00ff;BRIGHT

When it receives the "change to white command" it says:

2018-01-03 16:11:15.581 Error: RFLink: trying to send unknown led switch command: 33

Have you come across this yet by any chance? At least I couldn't find it in the forum.
Btw. I use Domoticz on a Pi 3 and RFLink v.48.4 to control the Milights.

Cheers,
Thomas
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 »

Tyturion wrote: Wednesday 03 January 2018 16:24 The biggest issue I encountered so far is changing the color of the Milights to white. Any other color works fine but I can't get back to white (or soft white, warm white or day light :-)).
I've just remembered that I've had the same issue with MiLight lamps, colours generally work but white / cool white / warm white doesn't. No errors from Domoticz, it just shows an entry for the lamp in the log. However the Switch in Domoticz changes from 'On' to 'Set Kelvin Level' see screen shot below but the actual colour of the lamp doesn't change.

Also when switching the MiLight lamps on with a script they sometimes come on blue or purple even when they were previously set to white and also when they are white the colour chart in Domoticz shows the 'dot' as being in the blue sector.

This has been happening for a couple of years ever since I first started using MiLight lamps so I've just got used to it.

I got round setting the lamps to white by using a Domoticz scene. So this is what I used to do the same thing when I started using Controlicz.
Attachments
Domoticz Screnshot.png
Domoticz Screnshot.png (17.12 KiB) Viewed 1930 times
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 »

Hey all - let me take a look at setkelvinlevel - in lieu of any documentation on this api call, i pass it the actual kelvin level, I wonder if Domoticz expects something else..
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
HallezJB
Posts: 7
Joined: Saturday 05 March 2016 11:22
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.486
Location: Orange
Contact:

Re: Controlicz - Domoticz to Google Home/Assistant integration

Post by HallezJB »

Bonjour je suis sans réponse à ma question Samedi 30 Décembre 2017 20:39.

Je suis Français...
Je souhaite intégrer Google Home à Domoticz, je suis inscris sur Controlicz avec succès en HTTPS.
Mon Email [email protected]
Je n'ai rien reçu... Que dois-je faire ????

Merci Beaucoup JB Hallez.
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: Wednesday 03 January 2018 17:45 Hey all - let me take a look at setkelvinlevel - in lieu of any documentation on this api call, i pass it the actual kelvin level, I wonder if Domoticz expects something else..
Hope I'm not doubling up on work but I looked into this a bit and I think Domoticz accepts kelvin levels as percentages of 25%-50%-75%-100%, ( not actual kelvin values ), but only for newer MiLight lamps which have colour temperature control. I tried json calls of:

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=setkelvinlevel&idx=299&kelvin=25
and that had no effect on my lamps.

However

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=setcolbrightnessvalue&idx=299&hex=fafafa
did change the lamps to white.

My lamps are a couple of years old and are RGB-WW so the only white is warm white.
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: Wednesday 03 January 2018 20:01
Madgeni wrote: Wednesday 03 January 2018 17:45 Hey all - let me take a look at setkelvinlevel - in lieu of any documentation on this api call, i pass it the actual kelvin level, I wonder if Domoticz expects something else..
Hope I'm not doubling up on work but I looked into this a bit and I think Domoticz accepts kelvin levels as percentages of 25%-50%-75%-100%, ( not actual kelvin values ), but only for newer MiLight lamps which have colour temperature control. I tried json calls of:

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=setkelvinlevel&idx=299&kelvin=25
and that had no effect on my lamps.

However

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=setcolbrightnessvalue&idx=299&hex=fafafa
did change the lamps to white.

My lamps are a couple of years old and are RGB-WW so the only white is warm white.
so, if you ask google to set a light to white, does it work? Not 'warm/cold' white - which would probably go via Kelvin, but simple colour switch.
I'd had a look at that kelvin level thing, but it seems - suboptimal..
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 »

HallezJB wrote: Wednesday 03 January 2018 19:57 Bonjour je suis sans réponse à ma question Samedi 30 Décembre 2017 20:39.

Je suis Français...
Je souhaite intégrer Google Home à Domoticz, je suis inscris sur Controlicz avec succès en HTTPS.
Mon Email [email protected]
Je n'ai rien reçu... Que dois-je faire ????

Merci Beaucoup JB Hallez.

désolé - vous avez accès maintenant
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: Wednesday 03 January 2018 20:06 so, if you ask google to set a light to white, does it work? Not 'warm/cold' white - which would probably go via Kelvin, but simple colour switch.
I'd had a look at that kelvin level thing, but it seems - suboptimal..
Nope. 'Set to white' has no effect. Oh.. Other than showing 'Set Kelvin Level' on the switch in the Domoticz dashboard.
Last edited by alanlsmith on Wednesday 03 January 2018 20:13, edited 1 time 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.
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 »

bugger :)
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: Wednesday 03 January 2018 20:13bugger :)
Somehow thought that you might think that.
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 »

quick poll - selector switches - do you stick to the 10/20/30/etc levels, and do you always keep the default 0 = Off?
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: Wednesday 03 January 2018 21:26 quick poll - selector switches - do you stick to the 10/20/30/etc levels, and do you always keep the default 0 = Off?
Yes, that's what I use, although at the moment I only use a selector switch for the television source and I use virtual switches with scripts to change the selector switch. ( Makes for easier wording when adding Google ).

Yes, I know I'm a pain in the @®$€ as I never seem to do anything in a straight forward manner.
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.
Tyturion
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

Post by Tyturion »

Madgeni wrote: Wednesday 03 January 2018 20:13bugger :)
Hi,

in the meantime I did some testing and found out that this json command switches the Milighs to white:

https://192.168.2.9/json.htm?type=comma ... white=true

The question is now how to get Google to trigger and send this command?

Cheers,
Thomas
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest