Official Google Assistant Integration for openHAB

Wait :slight_smile:
I understand, that using thermostat to read humidity and temperature (in my case from dht sensor) is a workaround.

I won’t set any thermostat values. This is rather the question for enhancement in OpenHAB integration plugin to support this. I won’t use any additional services (I read that IFTTT can manage that).

There are many values accessible in various types of sensors/metrics. The question is how to read them using OpenHAB.

Update:
I’ve checked IFTTT integration with OpenHAB. It can only send command, not return any value to Google Home (IF Google Assistant THEN OpenHAB). If I understand it well, there is no possibility to get any value from OpenHAB this way and native support is required or changes in IFTTT binding.

As far as I know, nothing is possible to send to Google Home. Google Home devices, as its a receive device only, unless you use casting. But this kind of “send command” is not really usefull for what you are seaching for, I guess.

Just a comment.
I changed the “homekit:HeatingCoolingMode” to “homekit:TargetHeatingCoolingMode” as per the HomeKit Add-on page, and my thermostats (heating control only, on radiators) works as normal with google home after this.

1 Like

you mean that you can change mode to off and on again ?

The Danfoss Thermostats do not support different modes (they are always in heating mode), so I cannot tell if that works.

Is this a new convention that has to be used in future versions, e.g. in upcoming milestone builds?

Just asking because of an annoying bug here that might be related: Thermostat works well in Google Home, but not with Alexa

I tried. If I change the setting on google home, nothing happens in openhab. Looks like this is not a fix. In effect you are just removing the mode item from the thermostat

Hi,

Thanks for this great work!

I was wondering is there an option to capture voice data that is not assigned to an item. For example, right now I have been using voice into node red commands, then searching the sentence for key words (e.g., “heating” & “timer” & “20” & “minutes” etc). Basically bridging the gap until GA becomes increasingly supported in openhab. I also use it for scenes, such as “bedroom + off” and via mqtt configuring numerous devices, rather than saying this light off etc.

Really, all I need as a way to call an item some key phrase (its actual name eg “control”) and then the words after this become the string assigned to that item, which I can then parse as a rule. Is there anything like this?

from the google assisstant ifttt triggers page

Thanks, I had already figured it out. Once I realised I could do this to an item of string type is was simple. :slight_smile:

Same here. If I add the thermostat correctly (with “homekit:HeatingCoolingMode” tag), the thermostat is always offline.
I tried with “homekit:TargetHeatingCoolingMode” tag, without tag and without mode, always with the same result: thermostat online but mode offers “heating” and “off”. It seems that the three are the same as removing the mode.
@MARZIMA, any chance you could look into it, please?
Thanks!

I believe something has to be changed around the thermostat, beside what you mention, there are other problems as well…
Using Google Home app my thermostats works just fine. But on my Google Nest Hub, it reports that the current mode isn´t supported. I have no idea if this is a Google issue og a mix of Google and openhab. It´s pretty strange it works fine using the Google Home app, but not the Google Nest Hub.

Also Humidity seems to have vanished somehow.

Ok guys, just saw the thermostat issue.
I will dedicate time on weekend and check to fix it.

Sorry for my absenence…

BR Mehmet

4 Likes

Ahhh cool thank you

Can anyone please help me to understand the point of openhab2 integration to Google assistant? Isn’t it redundant? Please excuse my disconnect in this matter and thank you in advance for your help.
Furthermore I am extremely impressed with openhab! Such an amazing, gifted, creative group of people. Yours truly with much much appreciation Thank you All.

You bet. Many of us have devices that lack direct integration with Google Assistant. For example, Belkin chose not to enable my Wemo Maker in GA, so the only way I can control it is via openHAB’s integration. The same can be said for Z-Wave, Zigbee, and other devices that are only connected to the machine running openHAB.

Thank you @rpwong

Thx :+1:
As my new car does have Android Auto I am now able to control my garage door through the car’s voice control function.
openHAB is getting more and more amazing with every day one is using it.

1 Like

Hi @MARZIMA , any news with the thermostat problem , please ? :slight_smile: thank you

1 Like

@MARZIMA

I can confirm -changing from the “homekit:HeatingCoolingMode” to “homekit:TargetHeatingCoolingMode”
brings thermostat settings back to google home app. We can read temperature, humidity. However we cannot change heating mode with this NEW tag (using google home app, mode is constantly set to heating).
BTW1: from page https://www.openhab.org/addons/integrations/homekit/ quote" Please note: TargetTemperature has been renamed to homekit:TargetTemperature and homekit:HeatingCoolingMode has been renamed to homekit:TargetHeatingCoolingMode"

BTW2: I can change led stripes color using openhab, voice but unable with google home app, (it was possible earlier)