Ha ha.
Ich weiß jetzt wieder, warum es vorher funktioniert hat:
In der configuration.yaml von Zigbee2MQTT am Ende noch dies einfügen (natürlich ohne die Kommentare)
experimental:
# Optional: MQTT output type: json, attribute or attribute_and_json (default: shown below)
# Examples when 'state' of a device is published
# json: topic: 'zigbee2mqtt/my_bulb' payload '{"state": "ON"}'
# attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON"
# attribute_and_json: both json and attribute (see above)
output: 'json'
und unter output attribute eintragen! Da habe ich bestimmt mal ein Update gemacht und die Datei wurde überschrieben.
So sehen die Thing-Definitionen übersichtlicher aus, finde ich.
Vielen Dank, dass ihr mir auf die Sprünge geholfen habt.
Ja, die Variante ohne json macht das Leben auf openHAB-Seite einfacher andererseits ist es gut, zu wissen, wie es mit json funktioniert, weil es dann doch ab und zu Geräte gibt, die man nicht mal eben umstellen kann.
openHAB5.1.2 stable in einem Debian-Container (trixie, OpenJDK 21 headless runtime - LXC, 4 Kerne, 3 GByte RAM)
Hostsystem Proxmox VE 9.1.5 - AMD Ryzen 5 3600 6 Kerne, 12 Threads - 64 GByte RAM - ZFS Pools: Raid Z1, 3 x 20 TB HDD -> 40 TByte und Raid Z0-Mirrored 4 x 1 TByte NVMe -> 2 TByte