So today all my stuff dissapeared, i unlinked openhab from my home and now it just says no devices were found on youre openhab account..
https://myopenhab.org/rest/items looks fine
So found out about it (learn to dig more before asking)
Anyway, all tags even semantic tag must be removed and add metadata = google assistant and back they come, closing thread.
You need to add metadata { ga=âLight/Switch/etcâ } to be able to expose the devices. Instructions: Google Assistant | openHAB
It stopped working for me yesterday.
It depends if youre using text files or the gui.
With text files you have to remove tags= and put in ga= like the reply in the other post.
I use openhab3 and have migrated away from text files configuration. I had to edit the items i wanted, remove all the tags if any, and add metadata button, pick google assistent, choose a type e.g lights and save. Then I could add the openhab integration in Home and the devices which i had updated shows up.
Hi
You have to manually edit each item in paperui.
1.Be sure to remove all the tags on the items (I removed semantic tags as well)
2.add metadata, choose google assistant and chose the correct item (e.g. light)
3.save the item
4.tell google sync devices (if you have the openhab connection functional in google home, if not add it)
then these items should reappear in google home.
So what changed? Is it the Google end or openHAB? It seems strange that a lot of people (including me) have had the same problem at the same time.
Iâve been running for over 3 years with { 'switchable" } tags, etc and, on Saturday, Google lost everything.
I thought the OpenHab connector went down again since yesterday, so I waited, and waited, restarted my OpenHAB VM, still nothing showing up under Google Home, went into the Google Home App attempting to re-link, and it gave the error âno devices were found in your openHAB accountâ, so I googled that and found this thread.
Now Iâm a little confused at how to convert my current items to this new format as I too have been using the [âSwitchableâ] tag without issues.
If anyone might be able to confirm how to re-format?
Before:
Switch Light_UL_BedroomBedSwitch "Bedroom Bed Light" (UL_Bedroom, Lights, UL_Bedroom_Lights) ["Switchable"] {channel="tplinksmarthome:hs105:UL_Bedroom_Bed_Light:switch"}
After:
Switch Light_UL_BedroomBedSwitch "Bedroom Bed Light" (UL_Bedroom, Lights, UL_Bedroom_Lights) { ga="Switch" channel="tplinksmarthome:hs105:UL_Bedroom_Bed_Light:switch"}
Doesnât seem to make a difference, forced a refresh and tried re-linking through Google Home, still says âno devices were found in your openHAB accountâ
Giving up for the evening and will attempt to tackle this again tomorrow, hopefully someone can chime in with suggestions. ![]()
Thanks!
I think you need to separate the ga from the channel brackets but Iâve only managed to get some of the key items to work by editing the metadata in the devices in the OH3 UI.
If I get something to work Iâll report back
Right, the ga=âLightâ, etc needs to be separated by a , from the rest of the channel
{ channel=âtplinksmarthome:hs105:UL_Bedroom_Bed_Light:switchâ, ga=âLightâ}
While you are doing it adding roomHint puts the device directly into the room
{ channel=âtplinksmarthome:hs105:UL_Bedroom_Bed_Light:switchâ, ga=âLightâ [roomHint="Bedroom] }
Thank you so very much!
It seems the roomHint doesnât do anything in the Google Home app, although I did as you said (plus a missing quote at the end), then re-linked OpenHAB and it said it found 1 device
Switch Light_UL_BedroomBedSwitch "Bedroom Bed Light" (UL_Bedroom, Lights, UL_Bedroom_Lights) { channel="tplinksmarthome:hs105:UL_Bedroom_Bed_Light:switch", ga="Light" [roomHint="Bedroom"] }
Woo! Now to go through and do that with everything else. ![]()
I really appreciate your help, will be nice to have Google integration back again.
It inserted the items into the Rooms in Google for me (but you need to have created the rooms obviously)
![]()
Thatâs strange, I used all the exact room names that I previously did, but yeah, I had to re-add them to each room individually. Maybe because somehow my OpenHAB became unlinked when I tried to re-link it. (It didnât show up under âLinked Servicesâ under Works with Google, probably because there were no items, when I went to try to link it again before checking the forums here, maybe it cleared things.)
None the less, I really appreciate your help, all 54 devices are now back in the Google Home app and working correctly again. Took awhile to edit all my items files and add them back to their appropriate rooms and such. ![]()
I unlinked too. I ended up using search and replace but, because I followed the advice to use multiple items files, I had to do it 12 times for my 60+ devices.
Just wish I knew what had changed
![]()
You need to have strucureHint too (and a â,â which I missed
{ ga=âLightâ [structureHint=âHomeâ, roomHint=âBedroom 1â] }
Hi, so I got the same problem of google unkinking from my home some week or so ago2 , and I just sat down to fix it. Of course as I setup that years ago I still have the old format of tags like [âSwitchableâ]. Are those now retired and not coming back? Am I forced to upgrade to metadata descriptors in the channel?
Since I rely on one very old binding I still run on on OH 2.4 (and partialy due to the golden rule âif it ainât broken donât fixâ)
Does anyone knows if the new format is available to OH 2.4 installs or the GA integration is now only for the OH3 users?
Yes, you need to update to metadata.
It should work in 2.4 just fine.
FYI, if you upgrade to OH3, you can use the remote binding to connect to a second server running OH2, so that you can keep your old binding running.
Thanks, indeed it works with just a simple update to the items file, and âsync my devicesâ magic sentence. I was somehow over pesimistic about that.
Hi,
Thanks for the information - it really helped to reuse google home.
However, some of the switches appear in google home application but they are offline.
I am using âvirtual switchesâ to open shutters by voice command, each Switch triggers a rule that open/close the shutters that I want to open/close.
for some reason only the first virtual switch is working - all the rest appear offline in the google home app.
Originally it was defined with [âSwitchableâ]:
Switch g1F_SHUTTER_VOICE_CTRL â1F shuttersâ (gStam) [âSwitchableâ]
Switch gKITCHEN_SHUTTER_VOICE_CTRL âkitchen shuttersâ (gStam) [âSwitchableâ]
Switch gLIVING_ROOM_SHUTTER_VOICE_CTRL âLiving room shuttersâ (gStam) [âSwitchableâ]
I updated the definitions according to the suggested in the topic:
Switch g1F_SHUTTER_VOICE_CTRL â1F shuttersâ (gStam) { ga=âLightâ}
Switch gKITCHEN_SHUTTER_VOICE_CTRL âkitchen shuttersâ (gStam) { ga=âLightâ}
Switch gLIVING_ROOM_SHUTTER_VOICE_CTRL âLiving room shuttersâ (gStam) { ga=âLightâ}
The only thing I can think of is that if the switches donât have an on/off state, Google might not know what to do with them. Try toggling them in openHAB and then see if they show up.