DATA MANAGEMENT MQTT & IOT AUTOMATION RESEARCH

MQTT Telegraf to decode before insertion – Telegraf

{“msg_id”:3070,“device_info”:{“mac”:“40915188c970”},“data”:[{“timestamp”:1701060326565,“timezone”:11,“adv_data”:“0201060303aafe0c16aafe2101070e211bcbff00”,“rsp_data”:“091680206f010000000007097a6f6d61746f”,“type_code”:10,“type”:“other”,“rssi”:-57,“connectable”:1,“mac”:“bc5729009415”},{“timestamp”:1701060326579,“timezone”:11,“adv_data”:“0201060303aafe1216aafe21010f0be51b933ab4002effb203d8”,“rsp_data”:“091680206801000000000d094b4250726f5f333734323739”,“type_code”:10,“type”:“other”,“rssi”:-67,“connectable”:1,“mac”:“bc572902a655”},{“timestamp”:1701060326888,“timezone”:11,“adv_data”:“0201060303aafe0b16aafe2100230c0e1b4001”,“rsp_data”:“091680206c010000000010095049522d524f4f4d5f343236333030”,“type_code”:10,“type”:“other”,“rssi”:-48,“connectable”:1,“mac”:“bc572904f039”},{“timestamp”:1701060327082,“timezone”:11,“adv_data”:“0201060303aafe1216aafe21010f0bdf1c0438be007d003e03f7”,“rsp_data”:“091680206701000000000d094b4250726f5f333938323338”,“type_code”:10,“type”:“other”,“rssi”:-61,“connectable”:1,“mac”:“bc572903f5d5”},{“timestamp”:1701060327412,“timezone”:11,“type_code”:6,“type”:“bxp-th”,“rssi”:-82,“connectable”:1,“mac”:“ce48e37ed75c”,“txpower”:0,“ranging_data”:0,“adv_interval”:1000,“temperature”:29.4,“humidity”:69.2,“batt_vol”:2519}]} adv_data”:“0201060303aafe0c16aafe2101070e211bcbff00”“rsp_data”:”091680206c010000000010095049522d524f4f4d5f343236333030 The adv data contains temperature , humidity , light , co2, x,y,z Till now i was using node red to extract and insert into influxdb. is there any…Read moreMQTT Telegraf to decode before insertion – Telegraf