BobRak / OpenHAB-Smartthings

53 stars 54 forks source link

Question: Items file #40

Closed nawaidrana closed 6 years ago

nawaidrana commented 6 years ago

Hi,

Not really an issue, but wanted to ask if there is a way if items file can be automatically created. I was able to add things after I added the smartapp/devicehandler within openhab, but I have about 49 devices on smartthings hub, and creating items for each device seems difficult, especially I can easily make a mistake. Is there a tool or way to automatically create items for all my smartthings things?

Thank you so much.

BobRak commented 6 years ago

If you use discovery to create the things it can also create the items. In the PaperUI look at Configuration > System it gives you options for how the items are created. This creates Things and Items that are stored in a file in openHAB and no item file created.

This is an area that I don't have much expertise with because I used files to create the things and items. You can find more on the openHAB website about using discovery.

Hope this helps.

Bob