Sort of related to this: Google Assistant and structure hint
Background:
-
OH 3.2.0 release, set up and working.
-
Items are tagged with ga=… metadata, and the items are showing up in the Google Assistant. Example:
Switch Z_Office_socket “Office Light” (Upstairs_Lights, smgOffice) [ “Lightbulb” ] { channel = “zwave:device:controller:node18:switch_binary”, alexa=“Switchable”, ga=“Light” [ structureHint=“HomeHome”, roomHint=“Office” ]}
This metadata shows up in the UI.
The question is, how do I name the structures? In Google, I have two “Homes”, which are called “HomeHome” and “VacationHome”. Devices that don’t go through OpenHab (Roku, etc), are allocated into rooms in one of those two homes.
For the devices discovered through the Openhab connection to Google, they all show up in a “Linked To You” section in Assistant, with the comment, “75 devices not in a home”. These are all the lights, sensors, etc., and they function as expected… but the structureHint doesn’t seem to be being used. Is it possible that the needed ‘structureHint’ is some sort of GUID, or needs some sort of formatting, or ??? I can move them manually to a home, but re-syncing devices causes them to revert back.
Anyone have this working?