I’ve installed the Homematic 2.3.0 binding and my OpenHab 2.3 has automatically discovered my CCU2 and all connected Homematic devices .
I’ve imported them all and they now appear under “Things” in PaperUI.
When selecting 1, I can configure it and “link items”.
So I did create the item link for “Current_Temperature”.
I did update, manually, my items and sitemap and I can read the temperature.
But, I’ve 20 of those same devices and Paper UI always proposes the same “link” i.e. “Current_Temperature”!
There is no differenciation between my 20 devices. It’s always “Current_Temperature” and thus…it reports the same t° value for all my devices !
Several questions here:
isn’t there any automated way to have the “Current_Temperature” variable incremented ?
The solution I’ve found is to manually create a new “item” with the correct name “Current_Temperature_ROOM1”.
As I’m interested in roughly 10 items (mode, humidity, target t°, etc…) I’ll have to update, manually, all those 10 values !!! And this for 20 different devices ?!
(if I don’t do that all my devices report the same t°, of course)
where do I see those “link items” in my cfg files ? There is nothing under “items”…
Summarized: what’s the easiest way to configure 20 x the same device type.
Ahh you mean the initial configuration…
Why you have to add the Thing via PaperUI and than change something in the Thing files?
Why you need the PaperUi at all? You can do the whole configuration in the Things/Item/Sitemap file.
Or you just add the Things via PaperUI, get all the ThingID’s from the logs, and add the items in the items file. You could write a small bash script (depending on your codeing skills) to do the work for you.
If you use the VSCode add-on for openHAB you see all things and channels with their IDs and can create item definitions very fast (with some copy/paste). I am working in a similar way and created only the things in Paper UI. Everything else is done in text files.
Not directly related, but OH2.3 is a bit elderly now.
OH 2.4 for example included features that make it a lot easier to construct rules that can deal with many similar Items. (Like managing multiple thermostats)