Official Google Assistant Integration for openHAB

Hi Stuart,

You say the color tag is new?
So your new item has the tags [ “Color”, “Lighting” ],
or just the “lighting” tag with an item of type color?

  • Jordo

Just one tag of Color

1 Like

Ah I will give it a try then!
Thank you :slight_smile:

No, You’re wrong.
For color lights, you just need to expose the color item with the “Lighting” tag.

Color My_Color_Bulb "My Color Bulb" ["Lighting"]

Oh dear

I didn’t have any joy with that option.

The only way I could get Google Assistant to set colours, was to give the item the Color tag.

I’m prepared to be wrong…

Indeed, the color tag is not working :frowning:
But with the lighting tag I can’t set color…

I would like that my devices also have a color slider inside Google home for cases when voice command is not possible.

Hold the bus…

I’ve just used the Rest UI to query which Tags are set for the colorpicker that’s working.

It responded with this :

 {
  "link": "http://192.168.178.42:8080/rest/items/bathroomcolour",
  "state": "NULL",
  "editable": true,
  "type": "Color",
  "name": "bathroomcolour",
  "label": "Bathroom Colour Picker",
  "category": "Color",
  "tags": [
    "Color",
    "Switchable"
  ],
  "groupNames": [
    "Bathroom"
  ]
}

I removed the Switchable Tag and re-sync’d Google.
It disappeared.

Added the Switchable tag and it came back (needed to be reassigned)

After I make the slightest change the openhab items become unavailable for family members. I need to delete them from the family member list and re-add them.

Afterwards voice match needs to be re-installed for those family members.
But this process is very painful as the voice match often doesn’t work when trying to activate after re-adding family members or it breaks the openhab items;again with voice control.
Strange thing is the app shows the items and do allow to control them despite the fact the home mini doesn’t

Does anyone else have this issue as well ? And what is the most efficient procedure to reactivate items for family members?

I guess you use the assistant in another language than english? I now in dutch there are users reporting the same issues. Maybe Google someday will fix this.

@aart Indeed using it in Dutch as well, so you’re saying this is a google issue not an openhab one. That’s good news as I expect google to be quite agile in fixing bugs :slight_smile:

Hello all,
Since yesterday I have problem with Google Home synchronization. When I try several times it finally works but the items are not responding. Where can I debug what is wrong? I have the following items:

Switch KitchenLights "Kitchen Lights" <light> (gBedroom) [ "Lighting" ]
Switch BedroomLights "Bedroom Lights" <light> (gBedroom) [ "Lighting" ]
Switch BathroomLights "Bathroom Lights" <light> (gBathroom) [ "Lighting" ]
Switch HallwayLights "Hallway Lights" <light> (gHallway) [ "Lighting" ]
Switch LivingMainLights "Living Main Lights" <light> (gLivingmain) [ "Lighting" ]
Switch LivingSecondaryLights "Living Secondary Lights" <light> (gLivingsec) [ "Lighting" ]
Switch BalconyLights "Balcony Lights" <light> (gBalcony) [ "Lighting" ]
Switch Cooling "Cooling" <hvac> (gCooling) [ "Switchable" ]
Switch Heating "Heating" <hvac> (gHeating) [ "Switchable" ]
Switch Camera "Camera" <camera> (gCamera) [ "Switchable" ]
Group g_HK_Bedroom_TSTAT "Bedroom Thermostat" [ "Thermostat", "Celsius" ]
Number HK_Bedroom_Mode "Bedroom Heating/Cooling Mode" (g_HK_Bedroom_TSTAT) [ "homekit:HeatingCoolingMode" ]
Number HK_Bedroom_Temp	"Bedroom Temperature" (g_HK_Bedroom_TSTAT) [ "CurrentTemperature" ]
Number HK_Bedroom_Setpoint "Bedroom Setpoint" (g_HK_Bedroom_TSTAT) [ "TargetTemperature" ]
Group g_HK_Bathroom_TSTAT "Bathroom Thermostat" [ "Thermostat", "Celsius" ]
Number HK_Bathroom_Mode "Bathroom Heating/Cooling Mode" (g_HK_Bathroom_TSTAT) [ "homekit:HeatingCoolingMode" ]
Number HK_Bathroom_Temp	"Bathroom Temperature" (g_HK_Bathroom_TSTAT) [ "CurrentTemperature" ]
Number HK_Bathroom_Setpoint "Bathroom Setpoint" (g_HK_Bathroom_TSTAT) [ "TargetTemperature" ]
Group g_HK_Living_TSTAT "LivingRoom Thermostat" [ "Thermostat", "Celsius" ]
Number HK_Living_Mode "LivingRoom Heating/Cooling Mode" (g_HK_LivingRoom_TSTAT) [ "homekit:HeatingCoolingMode" ]
Number HK_Living_Temp	"LivingRoom Temperature" (g_HK_LivingRoom_TSTAT) [ "CurrentTemperature" ]
Number HK_Living_Setpoint "LivingRoom Setpoint" (g_HK_LivingRoom_TSTAT) [ "TargetTemperature" ]

Tommorow my Google Smart Hub arrives and I need to be prepared :smiley:

I also I’m having problems since yesterday! I keep getting that google can’t get openhab!

Any reports of problems?

Thank you

I tried everything, from deleting temp files, restarting, link/unlik, 1 item/ all items nothing works :frowning:

Maybe your issues are related to this:

1 Like

Dear @aart, @MARZIMA
On October 1 you wrote that “The Humidity is already in a fixed in a pull request.”
Latest updates include this tag? Could you check please?
I have thermostats with humidity values so looking for working TAG…

Yes, the Humidity is supported now.
For more information see github usage.md.
(The official documentation on openhab.org is not the latest version.)

I cant get the CurrentHumidity tag work. Temperature is working just fine, as well as Thermostat. This is my items:

Group g_lille_bad_TSTAT 		"Lille Bad Thermostat" 																[ "Thermostat" ]
Number lille_bad_Temperature 		"Lille Bad Temperatur [%.1f °C]" 					<cu_heating> 	(g_lille_bad_TSTAT,Temperatur,gTvaer) 			[ "CurrentTemperature" ] 	{ihc="9191188"}
Number lille_bad_Tempsetpunkt 		"Lille Bad Temperature setpunkt [%.1f °C]" 				<temperature> 	(g_lille_bad_TSTAT)					[ "TargetTemperature" ]		{ihc="9194772"}
Number lille_bad_fugt 			"Lille Bad Fugtighed [%.0f %%]" 					<Humidity> 	(g_lille_bad_TSTAT,Fugtighed,gHumidityBathRoom) 	[ "CurrentHumidity" ] 		{ihc="13702695"}
Switch telestat11_lil_bad 		"Lille Bad Telestat [%s]" 						<cu_switch> 	(g_lille_bad_TSTAT,gTelestat) 								{ihc="6516315"}

After syncronising there is no Humidity appearing.

Maybe a stupid question but if I would run my own personal version of the openhab cloud service can I link that to google home/assistant and how would that work.

If I recall well the activation of openhab in google home was picking it from a long list of services and entering credentials but I don’t recall the option to enter a myopenhab url anywhere.

Has anyone actually got the CurrentHumidity tag to work?

Yes, when I ask Google Assistant what the humidity in my living or any other room is I get an appropriate answer. As far as I know humidity isn’t shown anywhere on the thermostat graphic in Google Home if that is what you’re after.

2 Likes