I cannot start the DSMR Reader addon. It keeps stopping immediately. I don’t know why.
It has been working fine for quite a long time. Yesterday evening I installed HA 2022.9.4.
The logfile doesn’t say much.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-set-hassio-vars: executing...
Home Assistant DSMR Reader Add-on - Release: 1.7.0
[cont-init.d] 01-set-hassio-vars: exited 60.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
How to get some more information what is going wrong?
I’ve tried to reinstall the addon. Same error.
The database seems to run fine because I can login with the postgres user with the help of the pgAdmin4 addon.
I’m running hassos on a VM.
The logfile after a fresh install:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-set-hassio-vars: executing...
parse error: Expected string key before ':' at line 1, column 4
[14:53:50] ERROR: Unknown HTTP error occured
Home Assistant DSMR Reader Add-on - Release:
parse error: Expected string key before ':' at line 1, column 4
[14:53:51] ERROR: Unknown HTTP error occured
parse error: Expected string key before ':' at line 1, column 4
[14:53:51] ERROR: Unknown HTTP error occured
[cont-init.d] 01-set-hassio-vars: exited 60.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal
I’ve installed a fresh hassos 7.6 on a VM (ESXi) and upgraded HA to version 2022.9.4.
Then I installed timescaledb 2.0.1 with the default settings and added the dsmrreader database.
Started the addon and it runs fine.
Now I installed the dsmrreader 1.7.0 addon. Did not change the configuration and start the addon.
Again I got the same error.
Yes! After investigation of the file “01-set-hassio-vars” I found what the problem is.
The webfilter of my firewall (Fortigate FG40F) is blocking the url https://api-check.duckdns.org/
I have the addon running in docker. I have pasted the files in in the root of the container. restarted the addon. but he can still not connect to my mqtt broker.
Hello.
I did a fresh installation of homeassistant en installed this addon DSMR reader.
Everything workes okay but no i want to import the data from a previous installation.
How can i restore my data from a previous installation of the DSMR reader?
I just did a fresh installation of this add-on and it works nicely it seems, thanks for developing and maintaining this!
I have a question: can I also reach the ‘normal’ Web UI? What would be the default webserver port? Or does it only run within HA?
Also: would it be beneficial to setup the DSMR Reader Dropbox backup? Or is the database part of the complete HA backup? I am using the TimescaleDB Add-on.
Sorry for the noob questions.
Edit: by the way, can I just remove the homeassistant db that TimescaleDB creates by default? I don’t use that as of yet…
Yes you can reach the direct UI by setting webserver to ‘Standard’ and under 'Network", show disabled ports, and put a port (ex 7777) there. After this you can go to http://yourha:7777 in your browser and you should see the DSMR Reader UI. But be aware that this disables Ingress support.
Regarding the backup question, all the data is in the DB you are using. So if you want backups of your data, either backup the database or use the Dropbox backup options.
I did mentioned this a few days ago. I don’t know if it’s you can help me or I have to be at Dennis.
I do have this warning in the addon. And if I see at retention data rotation. It’s in the settings on “a month”. And if i see at “geplande processen” then I see “nu”. And if i see inside the “retention data rotation” I can change date and time. If I do that, the message is gone for a while. And when the time is paste, I get the message again.
Vacuum timescale db with pgadmin.
And the error was gone. Was a bit of scared to do this, because it’s a db for dsmr. But did made a backup. And also I remember that dsmr has also his own db. So al history data was save. Timescale did shrink from >500mb to 50mb
And thanks for the new update @sanderdw. Works great
It may be coincidence, but I’ve just upgraded my HA OS to version 9.4, and now the DSMR Reader add-on (version 1.9.0) is no longer working. It crashes every time I restart it.