In dem Moment, wo Du es über eine *.things Datei anlegst, ist es manuell konfiguriert und nicht mehr Autodiscovery.
Grundsätzlich sollte aber jegliches Thing, welches per Autodiscovery im System landet, auch manuell hinzugefügt werden können.
In diesem Fall würde es so reichen:
Thing mqtt:topic:dc4f2248be56 "roborock" (mqtt:broker:MosquittoMqttBroker)
{
Channels:
Type number : pm25 "Partikel" [ stateTopic="dc4f2248be56/PM2_5/state" ]
Type number : co2 "Kohlendioxid" [ stateTopic="dc4f2248be56/CO2/state" ]
Type number : temperature "Temperatur" [ stateTopic="dc4f2248be56/Temperature/state" ]
Type number : humidity "Luftfeuchte" [ stateTopic="dc4f2248be56/Humidity/state" ]
}
In dem Moment, wo Du es über eine *.things Datei anlegst, ist es manuell konfiguriert und nicht mehr Autodiscovery.
Grundsätzlich sollte aber jegliches Thing, welches per Autodiscovery im System landet, auch manuell hinzugefügt werden können.
In diesem Fall würde es so reichen:
Thing mqtt:topic:dc4f2248be56 "roborock" (mqtt:broker:MosquittoMqttBroker)
{
Channels:
Type number : pm25 "Partikel" [ stateTopic="dc4f2248be56/PM2_5/state" ]
Type number : co2 "Kohlendioxid" [ stateTopic="dc4f2248be56/CO2/state" ]
Type number : temperature "Temperatur" [ stateTopic="dc4f2248be56/Temperature/state" ]
Type number : humidity "Luftfeuchte" [ stateTopic="dc4f2248be56/Humidity/state" ]
}
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet