I’m not finding any example multisensor definitions with extensive searches, and the documentation is focused on things with a single item (while the Eclipse Smart Home Things page example has multiple channels, though the definition looks very different from the OpenHab Things page, which is confusing). Having to switch to Home Builder due to thing and item editing limitations in PaperUI and HABmin, and trying to figure out where to start with defining a multi item thing in OH2.2 (on Linux, if that makes a difference)
In particular, I am interested in an Aeotec DBS05, but will take any suggestions/leads
What I have so far from the following source pages, and I’m not sure which takes precedence;
https://docs.openhab.org/configuration/things.html
https://docs.openhab.org/concepts/categories.html
https://www.eclipse.org/smarthome/documentation/development/bindings/thing-definition.html#channel-categories
<thing-type id="aeon_dsb05_00_000">
<label>Master Bedroom 4 in 1 Sensor</label>
<description>Motion, luminance, temperature, humidity </description>
<channels>
<channel id="sensor_binary" typeId="sensor_binary" />
<channel id="sensor_relhumidity" typeId="sensor_relhumidity" />
<channel id="sensor_temperature" typeId="sensor_temperature" />
<channel id="sensor_luminance" typeId="sensor_luminance" />
</channels>
</thing-type>
<channel-type id="sensor_binary">
<item-type>OnOffType</item-type>
<label>Binary Sensor</label>
<category>Motion</category>
</channel-type>
<channel-type id="sensor_relhumidity">
<item-type>Number</item-type>
<label>Humidity Sensor</label>
<category>Humidity</category>
</state>
</channel-type>
<channel-type id="sensor_temperature">
<item-type>Number</item-type>
<label>Temperature Sensor</label>
<category>Temperature</category>
<state min="12" max="30" step="0.5" pattern="%.1f °C" readOnly="false">
</state>
</channel-type>
<channel-type id="sensor_luminance">
<item-type>Number</item-type>
<label>Luminance Sensor </label>
<category>Luminance?</category>
</state>
</channel-type>
There seems to be some information missing about the real channel ID, which should match with the information in the .item files. What is the true format of a .thing file?