Is it possible to integrate emonPi with a database, or does it already have a database for default ?
Hello @pedro_oppti and welcome!
The emonPi does already have a database / data storage. You can record and access your data locally on the emonPi . The guide here goes through how this works System Overview - Guide | OpenEnergyMonitor
You can if you want post data to a remote server as well. We run a service called emoncms.org which can be used for this 3. Log Remotely - Guide | OpenEnergyMonitor or you can post to your own server running emoncms.
If you want more detail on how the data is stored let me know.
How do I point emoncms data to the mysql structure of its database by default? instead of sending to these files:
/ var / lib / phpfiwa
/ var / lib / phpfina
/ var / lib / phptimeseries
/ var / lib / timestore