openHAB Google Assistant Integration v2.0

Has this been published yet?

I see have Rollershutter [ā€œBlindsā€], Rollershutter [ā€œCurtainā€] and Rollershutter [ā€œShutterā€] for window covering. There another name for window covering call Shades do Google api does support that word???

I have deleted several items with the ā€œSceneā€ tag, but they still appear in the Google Home App and the Google Assistant still accesses them, which results in an error.
I have already deleted OpenHabā€™s cache, restarted OpenHab and let the Google Assistant synchronize the devices several times. Unfortunately all without success.

How were the Items created? How were they deleted?

There is a weird case where if you fail to delete the Link to an Item prior to deleting the Item the Link remains around and you have a zombie Item as a result. But this only occurs if you manage your Links to Item using PaperUI.

The items have been created and deleted textually in the item file. I created them again and deleted only the tag. Did not help either.

Edit:
I reconnected Google to the MyOpenhab cloud and that solved the problem.

1 Like

I have just upgraded to OH 2.5 and tried to use the new metadata annotation:
Dimmer Licht_EG_Esszimmer "Esszimmer [%d %%]" (EG_Esszimmer,gLights) [ "Lighting" ] {knx="4/1/8"}

turned to

Dimmer Licht_EG_Esszimmer "Esszimmer [%d %%]" (EG_Esszimmer,gLights) {knx="4/1/8"} { ga="Light" }

But OH does not accept this item file:
Configuration model 'default.items' has errors, therefore ignoring it: [82,118]: missing EOF at '{'

You need to type it in the same curly brackets as the binding:

Dimmer Licht_EG_Esszimmer "Esszimmer [%d %%]" (EG_Esszimmer,gLights) {knx="4/1/8", ga="Light" }

But Iā€™m not sure if the metadata works yet, it wasnā€™t working from the start at least. But I might have missed somethingā€¦

I dint think metadata has been implented yet. The docs does not mention anything about it.

It is implemented but not yet deployed to be used (afaik).

When it does get deployed, it will will require a self-hoste GA, right?

This is a question only @MARZIMA can answer.
And it will only require a self-hosted GA if you want to try it right now.
Otherwise the ā€œofficialā€ openHAB cloud integration can be used.

I see metadata in the documentation : https://www.openhab.org/docs/ecosystem/google-assistant/

It is deployed ?

Yes, i would like to know too if its working now directly from myopenhab cloud. Dont want to test now without knowing that because i have many items wich i have to reconfigure afterwards.

I see that too. But tags are still workingā€¦
IĀ“m not going to test it untill I know for sure it doesnt require a self-hosted GA setup.

Also, when it works, IĀ“ll have a few questions about some of the new functionsā€¦ But lets wait and see what @MARZIMA and @michikrug says.

The docs have been updated to show metadata instead of tags (it happened sometime in the past two days), so Iā€™m assuming this change applies to anyone using myopenhab. Otherwise, it would be super confusing to have tags on myopenhab and metadata for self-hosted setups. But perhaps Iā€™m missing something.

Personally, Iā€™m not in a hurry to change over to metadata, since tags are still going to work and I donā€™t currently have need of any advanced metadata functions.

I tried changing my items from tags to metadata and they didnā€™t show up in GA. It doesnā€™t look like itā€™s live on myopenhab quite yet.

Same hereā€¦ But as I understood from Michael, using metadata will become much easyer to add new options when Google adds them as well. I think that was the main goal with the metadata integration. (Correct me if IĀ“m worng @michikrug ).

For sure. I think itā€™s great going forward, and when I do get to it Iā€™ll likely do everything at once for the sake of consistency. Iā€™m particularly curious if it can improve GAā€™s interaction with my rule-based thermostat (combining a Z-Wave sensor, gas fireplace, and plug-in air conditioner).

I wanted to deploy it last week and was lost in other work. I will take time to deploy latest version at latest tomorrow night as there were no issues at the test instances of others.

4 Likes

Also didnt had time to lookup here, so I just saw it now. Maybe I shall activate notifications againā€¦

2 Likes