In answer to your first question I think the answer is you need to use a Dimmer Item and the Lighting tag.
The answer to your seconds question is no, I don’t think you can ask for the state of Contact items. But you should be able to use a Switch Item with the “Switchable” tag and ask Google Assistant whether the Switch is ON or OFF.
i am trying to unlink openhab from google assistant.I unlink the account allright from assistant’s settings but when i try to sync my other services i get this : “OK,syncing devices for MiHome,Harmony,and Nest.An error occurred while syncing openHAB.”
I dont have an Openhab account connected and i get this?Anyone know whats going on?
It ought not to do that… but it may still see that there is an application remaining that was granted access. Log into your myopenhab.org account. Hover over your User ID (upper right) and click on ‘Applications’. Delete any instances of ‘Google Voice Assistant Control’.
There is a bug in the heatcool mode. The status heatcool is take correctly but the targettemperature is not taken by google home, target temperature is 0 in Google Home app.
For modes heat and cool the target temperature is captured correctly.
Let me clarify this for you.
The integration between Google Assistant and OpenHAB is a true Smart-Home integration. Google provides a couple of formats for devices eg: lights, thermostats. Each device has 1 or more traits eg: target temperature, current temperature. All specified by Google.
Thew only thing OpenHAB does is exposing devices to Google.
All the logic, voice to text, interpretation etc is done by Google.
When you say: “Hey Google, turn lights on” Google makes a decision to turn on some lights.
The command received by OpenHAB is nothing more than: “light 1: ON, light 2: ON, light 3: ON”.
If you have roller shutters/curtains exposed as light, you would have a weird behavior when you turn all lights off, because Google doesn’t know that some light is not a light but a roller shutter.
Back to your question: Is there any way to have more control in case of the commands “turn on/off all lights?”
For OpenHAB, No.
In the Google Home app, you can make some custom routines to overwrite some default behavior.
If you make a custom routine with the voice command “turn lights on” you can specify which actions should be taken.
That is what I was afraid of.
I was using custom routines as a workaround but keep finding different commands that also close all lights. I guess I could maybe proxy the items and check if many of them get switched in quick succession but that would add a delay and the calls may not always come as quick.
Also in dutch there are no routines yet.
If you want to use them, you need to change your device to English for now.
Wait for an update to enable routines in your language.
You can also make a switchable item that triggers an OpenHAB rule.
You can turn that ON and OFF via Google Assistant.
If I set mode and temperature from openhab, it updates in the Home app of the google home, I can see the mode changing and the temperatura updating. From the Google Assistant to Openhab, I can set the temperature, but not the mode.
Sorry for the question, but I had much other things to do and I forgot to follow this thread and github as well…
Which tags are currently supported with Google Assistant? Just that ones which is stated in the first post?
Outlet and Scene will be integrated soon? Or there will be other new tags?
The deploying is on the cloud function witch sits between GA and OH. So no review from google is needed!
You can use it now!
The scene and outlet tags can now been used!
The thermostat change mode is fixt to.
Just say the magic words, sync my devices!