Hi,
after almost a year of absence from openhab1, I decided to restart with openhab2 and made the following:
- On a fresh Raspbian, installed openhab2 via apt-get, configured samba service and installed openhab designer for remote access to the conf folder.
- Via PaperUI added Hue binding and was able to find the bulbs and add them as thing.
- What I learned now is that there is no openhab.cfg file anymore and the registered things are stored in some database. Also there is a _default sitemap which works perfectly fine and I’m able to control my light bulbs via e.g. Classic UI _default.
I want to use openhab designer and creating *.sitemap, *.items, etc. I’m wondering now that
a. Why does there exist a things folder as all things are registered via Paper UI already.
b. How can I access the things that are already known? Is it best practice to wrap them as Item?
c. Is there a convenient way to extract known things into some file such that I can copy & paste them into a sitemap file ?
If my questions are too basic and too generic, maybe one of you could explain me with a specific example: One of the Lightbulbs has in Paper UI the name “Hue Lamp 1” and a string like hue:0210:0017881687f8:3 In Habmin view I see for the same bulb a label “Extended Color Light” with channel hue_0210_0017881687f8_3_color
How can I use this lamp in designer now? Do I have to register it additionally and also, is this cryptic string somehow static or dynamically assigned, meaning when I reinstall openhab, has the same light bulb the same channel identifier assigned?
Thanks a lot for some background info to grasp the underlying extended idea behind openhab2.