DSMR datalogger Add-on for Home Assistant

first setup for postgres and dsmr-reader addons. Should make the changes described above and add all configuration values available from the Hassio supervisor UI.

Also feel free to send a PR with changes/improvements if you have any.

Hi @westenberg, seems there is already an postgres addon here: Home Assistant Add-on: PostgreSQL + TimescaleDB

I think it needs a more basic Postgres add-on. TimescaleDB is meant for time series databases, built on top of Postgres.

The Timescaledb addon just runs a postgres server, with optional TimescaleDb support. So if you need a few databases there without TimescaleDb-addon installed, just don’t config those databaes for Timescale.

1 Like

In that case TimescaleDb can be used as well :slightly_smiling_face:

1 Like

The DSMR Reader add-on is released, DSMR Reader Add-on for Home Assistant! Would love your feedback! @westenberg, @Dengaman, @nelbs

1 Like

Yay!! This looks very nice!

How does it work?
Do I need the three DSMR Reader + Datalogger + Postgres addon’s?

really nice!!

No only 2 :slight_smile:. You just need to install the Postgres addon first and afterwards you just need to install the DSMR Reader addon. You don’t need the Datalogger addon. You can find the instructions here: https://github.com/sanderdw/hassio-addons/tree/master/dsmr_reader

Allright! So… what are the main differences with: DSMR Slimme Meter - Home Assistant (home-assistant.io)

Does the DSMR Reader replaces this sensor-integration? And put a nice GUI on top?

Good question, yes it’s an alternative piece of software which is handeling and aggregating the telegrams with a lot of functionality build in, see here: https://dsmr-reader.readthedocs.io/en/v4/intro.html. You won’t get that with https://www.home-assistant.io/integrations/dsmr/ where you would need create all the logic yourself.

You can additionally use https://www.home-assistant.io/integrations/dsmr_reader/ to get the data back in HA. Or just use https://www.home-assistant.io/integrations/sql/ against the DSMR Reader PostgresDB created in the TimescaleDb addon.

I responded to a similar discussion earlier here: https://github.com/sanderdw/hassio-addons/issues/2#issuecomment-716523320

Very nice. I will install + test it and delete my repo afterwards to avoid confusion.

1 Like

This is very cool!
I still haven’t come to a complete graphana dashboard for all my power insights, but this looks like it’s thrown into my lap!

I will certainly try your addon!

BTW: If you need any guidance on how to enable ingress, I’m willing to let a hand.

1 Like

This is nice!
Can i update to DSMR-reader v4.12 with homeassistant addon?

Thanks mennog! Yes update wil come soon but i want to test it first before i release it to the world :slightly_smiling_face:. So expect it in 1 or 2 days or so.

I Wait for it!
This version is all very nice

Have tried it and everything works like a charm, thanks for all the work! :+1:

How can I restore a backup? and is it also possible to restore a backup from my previous installation of dsmr- reader?

There is some documentation here https://dsmr-reader.readthedocs.io/en/latest/faq.html#how-do-i-restore-a-backup & https://github.com/xirixiz/dsmr-reader-docker

Thanks,

I tried the Backup and restore mechanism 1 from the second link but apparently I dont have docker compose. So I stopped the dsmr container with portainer and tried the docker exec command. But then I get an error that the container is not running…

When I do not stop the container I dont get an error but nothing happened.

The first link I have not tried because It’s about a “regular installation” without docker so I believe I cant use it.

Check out my recently released Metabase addon for Home Assistant, nice to create some dashboards on top of your DSMR data.