Closed eterpstra closed 2 years ago
Hi, just to make sure, can you uninstall en reinstall/reconfigure the addon just to be sure that's not the problem? See https://github.com/sanderdw/hassio-addons/issues/45
If it still doesn't work, let me know what setup you are using? So how the smart meter is connected?
Hi Sander,
Yesterday i removed the addon and reinstalled it again. unfortunately it did not solved the problem. The live data / readings are working fine, however, the day data is not saved/stored in the ''Archives".
I have a DSMR 5.0 Smartmeter. I am using proxmox as a hypervisor. The P1 USB is connected to the correct VM (i am gettings reading just fine)
Is there a way to check of dsmr_backend is running correctly with this addon?
What does the about page say, everything green? And which DB are you using?
From what i can say now it seems everything is just running fine and it takes a while for the archives to be generated?
This is the page. can i simply use another database? I was using timescaledb as it was mentioned in the Wiki
Can you post the addon log? timescaledb should be fine.
[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.2.0
Home Assistant DSMR Reader Add-on - This addon is the latest version
Home Assistant DSMR Reader Add-on - Configuring addon settings
Home Assistant DSMR Reader Add-on - Ingress disabled, when started, you can open the interface at:
Home Assistant DSMR Reader Add-on - http://192.168.1.205:7777/
[cont-init.d] 01-set-hassio-vars: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------
User UID: 0
User GID: 0
-------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-set-app-defaults: executing...
[ INFO ] DSMR Reader release: 5.1.0
[ INFO ] DSMR Reader Docker release: 2022.04.01
[ INFO ] Ensure permissions...
[ INFO ] Setting architecture requirements...
[ INFO ] X64 Architecture
[ INFO ] Enabling IFrame...
[ INFO ] Fixing /dev/ttyUSB* security...
chmod: changing permissions of '/dev/ttyUSB0': Read-only file system
chmod: changing permissions of '/dev/ttyUSB1': Read-only file system
[ INFO ] Verifying if the DSMR web credential variables have been set...
[ INFO ] Verifying database connectivity to host: 77b2833f-timescaledb with port: 5432...
[ INFO ] Database connectivity successfully verified!
[ INFO ] Running post configuration...
Operations to perform:
Apply all migrations: admin, auth, contenttypes, dsmr_api, dsmr_backend, dsmr_backup, dsmr_consumption, dsmr_datalogger, dsmr_dropbox, dsmr_frontend, dsmr_influxdb, dsmr_mindergas, dsmr_mqtt, dsmr_notification, dsmr_pvoutput, dsmr_stats, dsmr_weather, sessions
Running migrations:
No migrations to apply.
560 static files copied to '/var/www/dsmrreader/static'.
Updating password of superuser "admin"
Deactivating any other existing superusers
[ INFO ] Checking for NGINX SSL configuration...
[ INFO ] ENABLE_NGINX_SSL is disabled, nothing to see here. Continuing...
[ INFO ] Checking for HTTP AUTHENTICATION configuration...
[ INFO ] ENABLE_HTTP_AUTH is disabled, nothing to see here. Continuing...
[ INFO ] Configuring DSMR in standlone datalogger mode....
[cont-init.d] 20-set-app-defaults: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting DSMR Reader - webinterface...
Starting DSMR Reader - datalogger...
Starting DSMR Reader - backend...
Starting DSMR Reader - nginx...
[services.d] done.
[2022-05-10 10:28:36 +0200] [492] [INFO] Starting gunicorn 20.1.0
[2022-05-10 10:28:36 +0200] [492] [INFO] Listening at: unix:/tmp/gunicorn--dsmr_webinterface.socket (492)
[2022-05-10 10:28:36 +0200] [492] [INFO] Using worker: sync
[2022-05-10 10:28:36 +0200] [520] [INFO] Booting worker with pid: 520
Seems fine by me. Think you need to just let it run for a day. You can also check https://dsmr-reader.readthedocs.io/en/v5/how-to/troubleshooting/lagging-statistics.html and see if that helps?
So go to http://192.168.1.205:7777/admin/dsmr_backend/scheduledprocess/
Not sure how to do that with this addon? Can i simply SSH with terminal addon? And were is this addon located?
Thats not needed? Just go to http://192.168.1.205:7777/admin/dsmr_backend/scheduledprocess/ in your browser?
@eterpstra does you dashboard say "now" as latest update ? if my dsmr loses the connection with, in my case, the p1 esp , it shows the last state "returning/consuming x" but then the it shows in that table that the last update is 3weeks ago instead of now or 1 sec ago
I close this issue because of no response.
Since 3 weeks now my day data is not saved in DSMR. The error message is: Dagstatistieken lopen achter (3 weken geleden)
Is there a way to check if this progress is running correctly? I'm asking here since Dennis is not responsable for the HA addon.
I am running HA Supervised in Proxmox with the Wisker script for the VM/LXC.