Xiaomi temperature sensor stops sending after pairing

I’m very new to Zigbee and associated technologies, so humble apologies if this is a stupid question.

I have setup a Docker-based stack (zigbee2mqtt / mosquitto / telegraf / influxdb) on a Gigabyte Brix which I’m already using as a media server. I’m using a CC2531 sniffer and a Xiaomi temperature sensor:

After some poking the stack seems to be working. I can press the button on the sensor and I get a group of log messages from zigbee2mqtt:

zigbee2mqtt | Zigbee2MQTT:info 2020-12-10 10:33:37: MQTT publish: topic ‘sensors/Temperature1’, payload ‘{“battery”:58,“humidity”:93.84,“last_seen”:1607596417914,“linkquality”:65,“temperature”:10.28,“voltage”:2700}’

And these propagate into the sensors database in influxdb. However, it does not continue to send temperature readings. Reading documentation I can see that some of these temperature sensors only send when the temperature changes, but I’ve left it outside in a day/night transition and it has not sent anything. I’ve tried re-pairing (hold down the button for 5s) and it dumps another batch of temperature messages but then stops again.

Have I failed to configure the update cadence on the sensor properly? Or could this be a hardware problem?

Thanks,

Peter

Could be that your sensor is too far away from your coordinator, and looses connection.

Yes, the CC2531 has very, VERY limited range.
So try to put the sensor next to your coordinator, it should see some temperature change over time even indoors.
Also, they are not really rated for outdoor use anyway.

Yes, you’re both right - thanks!