mvalla / openhab-addons

Add-ons for openHAB
Eclipse Public License 2.0
24 stars 16 forks source link

Duplicate devices when connecting to Google Home #44

Closed theov3rc0mer closed 5 years ago

theov3rc0mer commented 5 years ago

When syncing devices with Google Home everything is ok and the items marked with the correct tags appear to work fine. The problem is that I am also getting lots of duplicate devices (they appear to be duplicates of the ones I added at my rooms), which are marked with the generic name "Temperature" or "Switch". They show up under the section "In your home".

mvalla commented 5 years ago

How did you create the things/items to be visible for Google Home ? Via PaperUI (auto-discovery or manually) or via things/items config files?

theov3rc0mer commented 5 years ago

Things were discovered via PaperUI and auto-discovery, items are defined manually in the .items file according to the example in the guide.

mvalla commented 5 years ago

These duplicate devices should come from items created automatically by PaperUI. You can check which items you have in OH2 using:

All items here that have the correct tags, will be also exported to assistants like GH. Check your setting for Simple Mode item linking (PaperUI > Configuration > System > Item Linking) If you have SimpleMode=ON, then items have been created both when you added the Things via PaperUI and also using your .items file. (by setting SimpleMode=OFF you can go to the new Items menu and see all the Items also from there).

If you confirm, this is not an issue with the binding.

theov3rc0mer commented 5 years ago

Ok it's exactly as you described. Sorry I am new to the openHab software.

mvalla commented 5 years ago

this is not an issue with the binding, but a duplicate item configuration