MQTT 2.4, ZigBee2MQTT, Xiaomi Aqara Sensors (sample config)

The Thing that dont goes online

UID: mqtt:topic:brokermqtt:TemperaturSensor_DG_Links
label: Temperatur DG Links
thingTypeUID: mqtt:topic
configuration:
  payloadNotAvailable: offline
  availabilityTopic: zigbee2mqtt/TEMPOGLINKS/availability
  payloadAvailable: online
bridgeUID: mqtt:broker:brokermqtt

my broker:

UID: mqtt:broker:brokermqtt
label: MQTT Broker
thingTypeUID: mqtt:broker
configuration:
  lwtQos: 0
  publickeypin: true
  keepAlive: 60
  clientid: ef98a1f0-5ca1-47f8-a8c8-879b1f110a4c
  secure: false
  certificatepin: true
  password: openhabian
  qos: 0
  reconnectTime: 60000
  host: localhost
  lwtRetain: true
  enableDiscovery: true
  username: openhabian

zigbee2mqtt configuration:

homeassistant: false
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://localhost:1883'
  user: openhabian
  password: openhabian
serial:
  port: /dev/ttyACM0
  disable_led: false
devices:
  '0x00158d0005866a98':
    friendly_name: 'TEMPOGLINKS'
experimental:
  output: attribute

Is this how your YAML is actually formatted? I don’t see any indentations? Can you edit your post and use code fences? Sandwich the YAML in-between three backticks ```

```

Like
This

```

i have change my YAML code. “…” for spaces. i dont know if you meen this but you see with lines are indented

No, use three backticks as suggested, then copy your YAML code back in.

i have change it now. it takes a few minutes :slight_smile:

I see this elements in MQTT.fx with the right values:

connect

now it works.

How often i get values from an aqara device? And when i get the first values?

My openhab device was turned Off maybe a half day.
I start it and i got no values from the aqara devices.
I have to Push the Button on all aqara Temperature devices. Thean i geht directly the values.

Could i Wale Up the aqara devices with openhab start or is it a configuration Part?
I think the aqara devices goes in a idle state?

I hope i dont must Push the Button in each devices If i restart openhab or Something Else.

The temp sensors send a message once per hour I think (not sure if it’s fixed, but it’s a long time), or every time one parameter changes. You can just touch or blow on the sensor to trigger it and see if that send updates after restarting.