Get Raw data from sensor

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
base_topic: zigbee2mqtt
server: ‘mqtt://localhost’
port: /dev/ttyACM0


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.