I have been working on a new plugin for OpenHab and as directed, I used OpenHab 2. The plugin works, I can discover my smart plugs, they show up in the inbox, and I can toggle them from the Paper UI.
Now I’m a bit stuck. I also have some hue bulbs, I can control them through the UI and I have a KanKun plug which I have configured as an http item. I can control the Hue bulbs using the paper UI and the plug through a custom sitemap.
Below are my questions. I think that they are largely based on some sort of misunderstanding of how things and items work and the difference between file based configuration and database based items.
- How do I control things like my Hue Bulbs and my custom plugin discovered items from a custom site map?
- How do I label/tag/group items that I discovered using the plugin discovery?
- Do I have to redeclare my discovered items or things in file based configuration? Does this include Hue Bridge and Hue Bulbs?
- Is it still “right” to declare my Kankun plugins in an items file or is there a way to use the OpenHab 2 UI to manage the Kankun/http based plug?