The OpenDTU logger logs to a PostgreSQL database and optionally supports TimescaleDB. Create a separate database and user using the following commands.
- The `opendtu_` dashboards contain visualisations for each table the OpenDTU logger records to.
-`PV.json` is a dashboard which combines the visualisations of each table that I found to be most useful.
-`Zonnepanelen.json` is the same as `PV.json`, but in Dutch language.
## Known issues
- The logger will currently log every event posted by OpenDTU to the websocket. Checks still need to be added to determine the uniqueness of an event. For more information, see also [this OpenDTU Github issue](https://github.com/tbnobody/OpenDTU/issues/1800).
- Upon restart of the OpenDTU, OpenDTU Logger will need to be restarted manually as well. Automatic reconnection logic is a work in progress.