Hey there!
I made a Xiaomi sensor communicating with a ZigBee sniffer(CC 2531). I set up an MQTT-Server. Now my output looks like this:
zigbee2mqtt:info 2019-6-19 7:52:26 PM MQTT publish: topic 'zigbee2mqtt/xiaomi_sensor_temp-humi', payload '{"temperature":26.25,"linkquality":73,"humidity":57.53}'
my config file:
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: ‘mqtt://localhost’
serial:
port: /dev/ttyACM0
devices:
‘0x00158d0003160533’:
friendly_name: ‘xiaomi_sensor_temp-humi’
retain: false
How to get the raw data out to write it to a database?
Maybe it will go easily but I looked for a long time on the Ethernet a didn’t find anything.
Thanks