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 https://guide.openenergymonitor.org/setup/
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 https://guide.openenergymonitor.org/setup/remote/ or you can post to your own server running emoncms.
If you want more detail on how the data is stored let me know.