Aqara Temp Sensor WSDCGQ11LM wont pair with Zigbee

Oh ok.
If I try to do that the code comes out very different to yours and some of those scripts dotn exist… Below is what I get.

If I restart, set the join button to On and press/hold buttons on the temp sensor nothing happens… What is supposed to happen? How do I know if its paired?

That’s because you put everything on 1 card. To check if it is paired, check your zigbee2mqtt log. And a device should have appeared in HA.

OK.
Still no joy, was concerned why the entitie states are ‘unknown’… When I look at the log it says:

Zigbee2MQTT:error 2020-08-30 08:12:44: Error while starting zigbee-herdsman

Log is below, is this a problem?

2020-08-30T08:12:23: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-08-30T08:12:23: PM2 log: App [npm:0] starting in -fork mode-
2020-08-30T08:12:23: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.14.3
> node index.js
Zigbee2MQTT:info  2020-08-30 08:12:24: Logging to console and directory: '/share/zigbee2mqtt/log/2020-08-30.08-12-24' filename: log.txt
Zigbee2MQTT:info  2020-08-30 08:12:25: Starting Zigbee2MQTT version 1.14.3 (commit #unknown)
Zigbee2MQTT:info  2020-08-30 08:12:25: Starting zigbee-herdsman...
Zigbee2MQTT:error 2020-08-30 08:12:44: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2020-08-30 08:12:44: Failed to start zigbee
Zigbee2MQTT:error 2020-08-30 08:12:44: Exiting...
Zigbee2MQTT:error 2020-08-30 08:12:44: Error: SRSP - SYS - osalNvRead after 6000ms
    at Timeout._onTimeout (/zigbee2mqtt-1.14.3/node_modules/zigbee-herdsman/dist/utils/waitress.js:46:35)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm

You still have the ZHA integration active ?

I have deleted the ZHA code from configuration.yaml but it does still show in Integrations, should I delete it manually from there?

Probably .

OK, no errors now.
I have tried pairing again and I think I can see data in the log but still cant find any devices or sensors added to HA, where should they show up?

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
./run.sh: line 17: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2020-08-30T16:18:16: PM2 log: Launching in no daemon mode
2020-08-30T16:18:16: PM2 log: App [npm:0] starting in -fork mode-
2020-08-30T16:18:16: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.14.3
> node index.js
Zigbee2MQTT:info  2020-08-30 16:18:18: Logging to console and directory: '/share/zigbee2mqtt/log/2020-08-30.16-18-17' filename: log.txt
Zigbee2MQTT:info  2020-08-30 16:18:18: Starting Zigbee2MQTT version 1.14.3 (commit #unknown)
Zigbee2MQTT:info  2020-08-30 16:18:18: Starting zigbee-herdsman...
Zigbee2MQTT:info  2020-08-30 16:18:20: zigbee-herdsman started
Zigbee2MQTT:info  2020-08-30 16:18:20: Coordinator firmware version: '{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}}'
Zigbee2MQTT:info  2020-08-30 16:18:20: Currently 0 devices are joined:
Zigbee2MQTT:warn  2020-08-30 16:18:20: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2020-08-30 16:18:20: Allowing new devices to join.
Zigbee2MQTT:warn  2020-08-30 16:18:20: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2020-08-30 16:18:20: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2020-08-30 16:18:20: Connecting to MQTT server at mqtt://philwashere.duckdns.org
Zigbee2MQTT:info  2020-08-30 16:18:20: Connected to MQTT server
Zigbee2MQTT:info  2020-08-30 16:18:20: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2020-08-30 16:18:21: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.14.3","commit":"unknown","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}},"network":{"panID":6754,"extendedPanID":"0xdddddddddddddddd","channel":11},"log_level":"info","permit_join":true}'
Zigbee2MQTT:info  2020-08-30 19:04:54: Device '0x00158d00053efd30' joined
Zigbee2MQTT:info  2020-08-30 19:04:54: Starting interview of '0x00158d00053efd30'
Zigbee2MQTT:info  2020-08-30 19:04:54: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:04:54: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:04:55: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_announced","message":"announce","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:04:55: MQTT publish: topic 'homeassistant/sensor/0x00158d00053efd30/temperature/config', payload '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/0x00158d00053efd30","json_attributes_topic":"zigbee2mqtt/0x00158d00053efd30","name":"0x00158d00053efd30_temperature","unique_id":"0x00158d00053efd30_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00053efd30"],"name":"0x00158d00053efd30","sw_version":"Zigbee2MQTT 1.14.3","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
Zigbee2MQTT:info  2020-08-30 19:04:55: MQTT publish: topic 'homeassistant/sensor/0x00158d00053efd30/humidity/config', payload '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/0x00158d00053efd30","json_attributes_topic":"zigbee2mqtt/0x00158d00053efd30","name":"0x00158d00053efd30_humidity","unique_id":"0x00158d00053efd30_humidity_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00053efd30"],"name":"0x00158d00053efd30","sw_version":"Zigbee2MQTT 1.14.3","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
Zigbee2MQTT:info  2020-08-30 19:04:55: MQTT publish: topic 'homeassistant/sensor/0x00158d00053efd30/pressure/config', payload '{"unit_of_measurement":"hPa","device_class":"pressure","value_template":"{{ value_json.pressure }}","state_topic":"zigbee2mqtt/0x00158d00053efd30","json_attributes_topic":"zigbee2mqtt/0x00158d00053efd30","name":"0x00158d00053efd30_pressure","unique_id":"0x00158d00053efd30_pressure_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00053efd30"],"name":"0x00158d00053efd30","sw_version":"Zigbee2MQTT 1.14.3","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
Zigbee2MQTT:info  2020-08-30 19:04:55: MQTT publish: topic 'homeassistant/sensor/0x00158d00053efd30/battery/config', payload '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/0x00158d00053efd30","json_attributes_topic":"zigbee2mqtt/0x00158d00053efd30","name":"0x00158d00053efd30_battery","unique_id":"0x00158d00053efd30_battery_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00053efd30"],"name":"0x00158d00053efd30","sw_version":"Zigbee2MQTT 1.14.3","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
Zigbee2MQTT:info  2020-08-30 19:04:55: MQTT publish: topic 'homeassistant/sensor/0x00158d00053efd30/linkquality/config', payload '{"icon":"mdi:signal","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d00053efd30","json_attributes_topic":"zigbee2mqtt/0x00158d00053efd30","name":"0x00158d00053efd30_linkquality","unique_id":"0x00158d00053efd30_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00053efd30"],"name":"0x00158d00053efd30","sw_version":"Zigbee2MQTT 1.14.3","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
Zigbee2MQTT:info  2020-08-30 19:04:57: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.51,"humidity":60.21,"pressure":1023.9,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:07: Successfully interviewed '0x00158d00053efd30', device has successfully been paired
Zigbee2MQTT:info  2020-08-30 19:05:07: Device '0x00158d00053efd30' is supported, identified as: Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)
Zigbee2MQTT:info  2020-08-30 19:05:07: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x00158d00053efd30","model":"WSDCGQ11LM","vendor":"Xiaomi","description":"Aqara temperature, humidity and pressure sensor","supported":true}}'
Zigbee2MQTT:warn  2020-08-30 19:05:17: Device '0x00158d00053efd30' left the network
Zigbee2MQTT:info  2020-08-30 19:05:17: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:05:19: Device '0x00158d00053efd30' joined
Zigbee2MQTT:info  2020-08-30 19:05:19: Starting interview of '0x00158d00053efd30'
Zigbee2MQTT:info  2020-08-30 19:05:19: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:05:19: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:05:19: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_announced","message":"announce","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-30 19:05:20: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.66,"humidity":54.78,"pressure":1023.8,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:24: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.76,"humidity":54.78,"pressure":1023.8,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:24: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.76,"humidity":54.65,"pressure":1023.8,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:24: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.76,"humidity":54.65,"pressure":1023.8,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:28: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.75,"humidity":54.65,"pressure":1023.8,"linkquality":94}'
Zigbee2MQTT:info  2020-08-30 19:05:28: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.75,"humidity":54.94,"pressure":1023.8,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:28: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.75,"humidity":54.94,"pressure":1023.8,"linkquality":92}'
Zigbee2MQTT:info  2020-08-30 19:05:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.79,"humidity":54.94,"pressure":1023.8,"linkquality":94}'
Zigbee2MQTT:info  2020-08-30 19:05:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.79,"humidity":54.95,"pressure":1023.8,"linkquality":94}'
Zigbee2MQTT:info  2020-08-30 19:05:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":100,"voltage":3005,"temperature":23.79,"humidity":54.95,"pressure":1023.8,"linkquality":94}'
Zigbee2MQTT:info  2020-08-30 19:05:51: Successfully interviewed '0x00158d00053efd30', device has successfully been paired
Zigbee2MQTT:info  2020-08-30 19:05:51: Device '0x00158d00053efd30' is supported, identified as: Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)
Zigbee2MQTT:info  2020-08-30 19:05:51: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x00158d00053efd30","model":"WSDCGQ11LM","vendor":"Xiaomi","description":"Aqara temperature, humidity and pressure sensor","supported":true}}'

If ypu click on configuration -> integrations -> mqtt -> devices, it should show
image

I has this:

It was paired successfully, according to the logs.

Does your zigbee2mqtt add-on look something like this : (specially the homeassistant: true line)

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto:1883'
  user: YOURMQTTUSERNAME
  password: YOURMQTTPASSWORD
serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000FFB7947-if00
advanced:
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Do these show a value already :

image

None of them show values…?

My details for the config screen are a little different:

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://philwashere.duckdns.org'
  user: pluckroses
  password: xxxxx
serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000FFB7947-if00
advanced:
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: true

I just tried putting a new battery in and pairing again, still no sensor showing up in front end but looking at the log below it is actually working! I can see temp readings, I can even see the old battery level and new battery level.
So there must be another step I am missing to make this show up as a sensor…?
Is it automatic or do I need to setup code?

Zigbee2MQTT:info  2020-08-31 02:25:33: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.01,"humidity":54.77,"pressure":1020.9,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 03:17:48: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.63,"humidity":54.77,"pressure":1020.9,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 03:17:48: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.63,"humidity":54.85,"pressure":1020.9,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 03:17:48: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.63,"humidity":54.85,"pressure":1020.6,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 03:22:00: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.61,"humidity":54.86,"pressure":1020.6,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 03:50:18: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.43,"humidity":54.86,"pressure":1020.6,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 03:50:18: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.43,"humidity":54.86,"pressure":1020.6,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 03:50:18: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.43,"humidity":54.86,"pressure":1020.3,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 04:14:15: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.24,"humidity":54.9,"pressure":1020.3,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 05:04:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.92,"humidity":54.9,"pressure":1020.3,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 05:04:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.92,"humidity":54.97,"pressure":1020.3,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 05:04:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.92,"humidity":54.97,"pressure":1020.5,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 05:06:02: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.99,"humidity":54.9,"pressure":1020.5,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 06:00:40: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.72,"humidity":55.14,"pressure":1020.7,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 06:02:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.72,"humidity":55.14,"pressure":1020.7,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 06:02:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.72,"humidity":55.17,"pressure":1020.7,"linkquality":97}'
Zigbee2MQTT:info  2020-08-31 06:02:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":17.72,"humidity":55.17,"pressure":1020.8,"linkquality":94}'
Zigbee2MQTT:info  2020-08-31 06:53:37: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.04,"humidity":55.92,"pressure":1020.9,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 06:58:49: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.23,"humidity":55.92,"pressure":1020.9,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 06:58:49: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.23,"humidity":56.01,"pressure":1020.9,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 06:58:49: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.23,"humidity":56.01,"pressure":1021,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 07:18:44: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.46,"humidity":56.01,"pressure":1021,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 07:18:44: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.46,"humidity":56.26,"pressure":1021,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 07:18:44: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.46,"humidity":56.26,"pressure":1021.2,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 07:45:50: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.97,"humidity":56.26,"pressure":1021.2,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 07:45:50: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.97,"humidity":56.45,"pressure":1021.2,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 07:45:50: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.97,"humidity":56.45,"pressure":1021.4,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 07:50:22: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":18.99,"humidity":56.42,"pressure":1021.4,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 08:35:44: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.48,"humidity":56.42,"pressure":1021.4,"linkquality":65}'
Zigbee2MQTT:info  2020-08-31 08:35:44: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.48,"humidity":58.99,"pressure":1021.4,"linkquality":63}'
Zigbee2MQTT:info  2020-08-31 08:35:44: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.48,"humidity":58.99,"pressure":1021.3,"linkquality":63}'
Zigbee2MQTT:info  2020-08-31 08:46:26: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.66,"humidity":58.46,"pressure":1021.3,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 09:01:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.99,"humidity":58.46,"pressure":1021.3,"linkquality":70}'
Zigbee2MQTT:info  2020-08-31 09:01:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.99,"humidity":58.08,"pressure":1021.3,"linkquality":73}'
Zigbee2MQTT:info  2020-08-31 09:01:31: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":19.99,"humidity":58.08,"pressure":1021.2,"linkquality":73}'
Zigbee2MQTT:info  2020-08-31 09:31:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":20.38,"humidity":58.08,"pressure":1021.2,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 09:31:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":20.38,"humidity":57.93,"pressure":1021.2,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 09:31:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":91,"voltage":2985,"temperature":20.38,"humidity":57.93,"pressure":1020.9,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 09:46:16: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":20.59,"humidity":57.58,"pressure":1020.9,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 09:52:09: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":20.72,"humidity":57.58,"pressure":1020.9,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 09:52:09: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":20.72,"humidity":57.32,"pressure":1020.9,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 09:52:09: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":20.72,"humidity":57.32,"pressure":1020.6,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 10:13:49: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.18,"humidity":57.32,"pressure":1020.6,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 10:13:49: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.18,"humidity":57.03,"pressure":1020.6,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 10:13:49: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.18,"humidity":57.03,"pressure":1020.4,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 10:24:13: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.38,"humidity":57.03,"pressure":1020.4,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 10:24:13: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.38,"humidity":56.87,"pressure":1020.4,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 10:24:13: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.38,"humidity":56.87,"pressure":1020.1,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 10:42:01: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.78,"humidity":56.71,"pressure":1020,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 10:42:22: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.84,"humidity":56.71,"pressure":1020,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 10:42:22: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.84,"humidity":56.74,"pressure":1020,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 10:42:22: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":21.84,"humidity":56.74,"pressure":1019.8,"linkquality":84}'
Zigbee2MQTT:info  2020-08-31 10:52:35: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.04,"humidity":56.74,"pressure":1019.8,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 10:52:35: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.04,"humidity":57.3,"pressure":1019.8,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 10:52:35: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.04,"humidity":57.3,"pressure":1019.6,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 11:12:23: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.55,"humidity":57.3,"pressure":1019.6,"linkquality":81}'
Zigbee2MQTT:info  2020-08-31 11:12:23: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.55,"humidity":53.65,"pressure":1019.6,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 11:12:23: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.55,"humidity":53.65,"pressure":1019.4,"linkquality":78}'
Zigbee2MQTT:info  2020-08-31 11:19:25: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.62,"humidity":53.65,"pressure":1019.4,"linkquality":73}'
Zigbee2MQTT:info  2020-08-31 11:19:25: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.62,"humidity":53.73,"pressure":1019.4,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 11:19:25: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":22.62,"humidity":53.73,"pressure":1019.1,"linkquality":76}'
Zigbee2MQTT:info  2020-08-31 11:21:05: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.21,"humidity":53.73,"pressure":1019.1,"linkquality":21}'
Zigbee2MQTT:info  2020-08-31 11:21:05: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.21,"humidity":75.44,"pressure":1019.1,"linkquality":23}'
Zigbee2MQTT:info  2020-08-31 11:21:05: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.21,"humidity":75.44,"pressure":1019.1,"linkquality":23}'
Zigbee2MQTT:info  2020-08-31 11:21:16: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.31,"humidity":75.44,"pressure":1019.1,"linkquality":23}'
Zigbee2MQTT:info  2020-08-31 11:21:16: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.31,"humidity":57.66,"pressure":1019.1,"linkquality":23}'
Zigbee2MQTT:info  2020-08-31 11:21:16: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.31,"humidity":57.66,"pressure":1019.1,"linkquality":23}'
Zigbee2MQTT:info  2020-08-31 11:21:36: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.42,"humidity":57.66,"pressure":1019.1,"linkquality":26}'
Zigbee2MQTT:info  2020-08-31 11:21:36: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.42,"humidity":69.51,"pressure":1019.1,"linkquality":26}'
Zigbee2MQTT:info  2020-08-31 11:21:36: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.42,"humidity":69.51,"pressure":1018.9,"linkquality":26}'
Zigbee2MQTT:info  2020-08-31 11:21:46: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.41,"humidity":69.51,"pressure":1018.9,"linkquality":42}'
Zigbee2MQTT:info  2020-08-31 11:21:46: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.41,"humidity":58.07,"pressure":1018.9,"linkquality":42}'
Zigbee2MQTT:info  2020-08-31 11:21:46: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.41,"humidity":58.07,"pressure":1019,"linkquality":42}'
Zigbee2MQTT:info  2020-08-31 11:22:17: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":23.41,"humidity":58.07,"pressure":1019,"linkquality":0}'
Zigbee2MQTT:info  2020-08-31 11:22:47: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":25.31,"humidity":58.07,"pressure":1019,"linkquality":0}'
Zigbee2MQTT:info  2020-08-31 11:22:47: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":25.31,"humidity":76.07,"pressure":1019,"linkquality":7}'
Zigbee2MQTT:info  2020-08-31 11:22:47: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":25.31,"humidity":76.07,"pressure":1018.9,"linkquality":5}'
Zigbee2MQTT:info  2020-08-31 11:23:08: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":25.93,"humidity":76.07,"pressure":1018.9,"linkquality":39}'
Zigbee2MQTT:info  2020-08-31 11:23:08: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":25.93,"humidity":71.45,"pressure":1018.9,"linkquality":39}'
Zigbee2MQTT:info  2020-08-31 11:23:08: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":25.93,"humidity":71.45,"pressure":1019,"linkquality":36}'
Zigbee2MQTT:info  2020-08-31 11:23:28: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.26,"humidity":71.45,"pressure":1019,"linkquality":110}'
Zigbee2MQTT:info  2020-08-31 11:23:28: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.26,"humidity":57.59,"pressure":1019,"linkquality":110}'
Zigbee2MQTT:info  2020-08-31 11:23:28: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.26,"humidity":57.59,"pressure":1019,"linkquality":110}'
Zigbee2MQTT:warn  2020-08-31 11:23:45: Device '0x00158d00053efd30' left the network
Zigbee2MQTT:info  2020-08-31 11:23:45: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-31 11:23:47: Device '0x00158d00053efd30' joined
Zigbee2MQTT:info  2020-08-31 11:23:47: Starting interview of '0x00158d00053efd30'
Zigbee2MQTT:info  2020-08-31 11:23:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-31 11:23:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-31 11:23:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_announced","message":"announce","meta":{"friendly_name":"0x00158d00053efd30"}}'
Zigbee2MQTT:info  2020-08-31 11:23:48: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.36,"humidity":66.63,"pressure":1019.1,"linkquality":110}'
Zigbee2MQTT:info  2020-08-31 11:23:52: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.28,"humidity":66.63,"pressure":1019.1,"linkquality":110}'
Zigbee2MQTT:info  2020-08-31 11:23:52: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.28,"humidity":60.45,"pressure":1019.1,"linkquality":107}'
Zigbee2MQTT:info  2020-08-31 11:23:52: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.28,"humidity":60.45,"pressure":1019,"linkquality":107}'
Zigbee2MQTT:info  2020-08-31 11:23:56: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.37,"humidity":60.45,"pressure":1019,"linkquality":107}'
Zigbee2MQTT:info  2020-08-31 11:23:56: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.37,"humidity":58.85,"pressure":1019,"linkquality":107}'
Zigbee2MQTT:info  2020-08-31 11:23:56: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.37,"humidity":58.85,"pressure":1019,"linkquality":107}'
Zigbee2MQTT:info  2020-08-31 11:23:59: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.33,"humidity":58.85,"pressure":1019,"linkquality":86}'
Zigbee2MQTT:info  2020-08-31 11:23:59: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.33,"humidity":58.2,"pressure":1019,"linkquality":89}'
Zigbee2MQTT:info  2020-08-31 11:23:59: MQTT publish: topic 'zigbee2mqtt/0x00158d00053efd30', payload '{"battery":86,"voltage":2975,"temperature":26.33,"humidity":58.2,"pressure":1019,"linkquality":86}'

Try removing your mqtt integration, mqtt add-on, and install them again.
If your mqtt was working properly, the sensors should show values.
Be sure to use same username and password again.

Hmm, very reluctant todo that, took along time to get mqtt working in the first place. I have other automations using that mqtt and they work

How does this temp sensor data know where to be stored? I havent set any sensors up for it…

So you have other mqtt devices working ? Did you enable auto-discovery on mqtt ?
The strange thing is : in your logs zigbee2mqtt connects to mqtt, but the zigbee2mqtt sensors show ‘unknown’ and your temp sensor does not show up. So there must be something wrong in the communication zigbee2mqtt <-> mqtt <-> HA.
The temp sensor should be autodiscovered.

Yes, they are not zigbee sensors, it was just a input_boolean but i did have to code them into configuration.yaml
I use Hive MQTT, havent seen an auto discovery setting?

There is a switch on the integration ( the 3 dots, system options)

image

Yes that was set.

Im just wondering if I need to define topics?
Below is the Hive config screen which as the ones I currently use defined.

ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
broker: true
allow_anonymous: true
mqttusers:
  - username: xxxx
    password: xxxx
    readonly: false
    topics:
      - '#letterbox'
      - '#test/test/test'

I think you need to add

- #zigbee2mqtt

under topics.

or possibly

- zigbee2mqtt/#

It is easy to test of zigbee2mqtt can talk to HA :
Go to configuration -> integrations -> mqtt -> reconfigure

Enter zigbee2mqtt/# under listen to a topic, hit ‘start listening’, and restart zigbee2mqtt

You should see messages appear.

I tried adding those topics but no change…
I have a laptop with mqtt lens and I have found if i connect and listen to both topics i do see data. zigbee2mqtt/bridge/state
zigbee2mqtt/0x00158d00053efd30

I tried adding that sensor manually but no joy either.

Although same thing with all the sensors in: /config/packages/zigbee2mqtt.yaml
They all say unavailable…?