Read telemetry data from a MQTT broker & save them into a MongoDB server.
To be used with the project teleinfo.
Start a web server on port 3001.
Exposes two routes :
Return the last buffer of teleinfo from MongoDB server.
Return an array of teleinfo from MongoDB server.
You need to edit the config.js file at the project root.