How to setup CC2531EMK Coordinator with Xiaomi Tem/Hum Sensor in config files

Tags: #<Tag:0x00007f6174fe4520>

Hi,

A new to OpenHab, and stack on Configuration.
I have CC2531EMK ZigBee controller which I run with this in things:
Thing zigbee:coordinator_cc2531:stick1 “Zigbee Coordinator 1” @ “PI” [zigbee_port="/dev/ttyACM0", zigbee_baud=57600, zigbe_panid=32257, zigbee_extendedpanid=“113E310DC90BC722”, zigbee_networkkey=“24 d3 b1 c7 fd e0 c4 19 8d 7c 36 31 dcab a3 96”]
This works fine and coordinator is reported as “Online”.
Then I have a that Aquara temperature/humidity/pressure sensor. I can discover it in PaperUI, though this is not perfect. I would prefer to have it in Things too.
So I have added:
Thing zigbee:device:stick1:GNTR_tempsensor “Sensor Temperatury” @ “Taras” [macAddress=“00158D00047BC269”]
but this does not seem to work. I have a message in the log saying: ‘zigbee:device:stick1:GNTR_tempsensor’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING).

Whats wrong? isn’t it macAddress enough to point to the right ZigBee device?
Please help.

BR, RAF

  • Platform information:
    • Hardware: Raspberry Pi 4
    • OS: Ubunu Linux 5.3.0-1023-raspi2
    • Java Runtime Environment: zulu 8.46.0.255
    • openHAB version:2.5.4-1

I have the same questions.

  1. How to configure ZIGBEE only with config files? I have a CC2531, the stick is online.
  2. How to start discovery?
  3. How to get the address for the device?

Any hints are welcome…