As a beginner with node-red I don't know where to start so some help would be very appreciated.
I have many sensors reporting themselves by publishing to mqtt topics. They send the following data:
10_52_1C_66_1D_CC/dsmr/smart_gateways/model = esp-dsmr-4
10_52_1C_66_1D_CC/dsmr/smart_gateways/mac_address = 10_52_1C_66_1D_CC
10_52_1C_66_1D_CC/dsmr/smart_gateways/startup_time = 2021-04-12T12:40:14Z
10_52_1C_66_1D_CC/dsmr/smart_gateways/running_firmware_version = 2021041002
10_52_1C_66_1D_CC/dsmr/smart_gateways/update_available = 2021041002
10_52_1C_66_1D_CC/dsmr/smart_gateways/wifi_rssi = -63
10_52_1C_66_1D_CC/dsmr/smart_gateways/use_blynk = true
Each sensor is publishing it's mac address as the topic prefix.
I want to combine all these different topics into one json message and write it as seperate measurements in influx.
The above topics arrive in sequence every 5 minutes from every sensor. I see this in the debug: