-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENV for Remote datalogger is not used #303
Comments
Hi, it seems DSMRREADER_REMOTE_DATALOGGER_MODE is not set correctly. This should be set to "receiver" https://github.com/xirixiz/dsmr-reader-docker#dsmr-datalogger-related Can you try and validate this? Thanks! |
Hi.
The errors are gone. But when checking the dsmr page it still gives no data. Or do I need to go the admin level and setup the datalogger settings there? I thought it would be forced, so after a docker reboot it isn't back to defaults. |
Hi, maybe @zuidwijk can help himself. He's been active here as well. Maybe it requires a different set of configuration. I`m not sure. |
Dont think the issue is with the P1 ethernet reader from zuidwijk. Just switched back to standalone and manually setup the settings: http://x.x.x.x:7777/admin/dsmr_datalogger/dataloggersettings/ And now it works. Yet when stopping the compose and starting it will wipe this setting. This is the current snippet:
I've setup the debug log for the datalogger aswell and it doesnt show any debug log.... |
What I meant is that Zuidwijk knows exactly how to set it up properly. I'm sure Zuidwijks solution is working fine. What is it you change after starting the container? |
Ik switch even naar nederlands ;-) De P1 ethernet verzorgt alleen maar een telegram/console. Dus de DSMR Reader moet daar z'n info vandaan halen. Ik heb het idee als ik de remote_datalogger_mode als receiver in stel, deze niet meer externe informatie gaat opvragen. En enkel als ontvanger (via de API) z'n gegevens kan ontvangen. Momenteel heb ik de remote_datalogger_mode als standalone ingesteld en middels de admin pagina wel de P1 Ethernet reader ingesteld. En nu werkt het allemaal. |
Het ziet er allemaal ingewikkelder uit dan dat hoe ik het draai. Dit is mijn docker compose: version: '3.8'
services:
dsmrdb:
image: postgres:12.4-alpine
container_name: dsmrdb
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- ./dsmrdb:/var/lib/postgresql/data
environment:
- TZ=Europe/Amsterdam
- PG_TZ=Europe/Amsterdam
- POSTGRES_USER=dsmrreader
- POSTGRES_PASSWORD=dsmrreader
- POSTGRES_DB=dsmrreader
dsmr:
image: xirixiz/dsmr-reader-docker:latest
container_name: dsmr
depends_on:
- dsmrdb
cap_add:
- NET_ADMIN
links:
- dsmrdb
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- ./dsmr_backups:/dsmr/backups
environment:
- TZ=Europe/Amsterdam
- DJANGO_TIME_ZONE=Europe/Amsterdam
- VIRTUAL_HOST=localhost
- DSMRREADER_ADMIN_USER=****
- DSMRREADER_ADMIN_PASSWORD=****
ports:
- 7777:80
- 7779:443 |
Bedankt voor het delen 👍🏻. Ik zal de check aanpassen voor standalone. Ik merk dat het vaak verwarrend is wanneer /dev/ttyUSB niet gevonden wordt. |
Readme updated. |
Support guidelines
I've found an issue and checked that ...
Description
Got a new docker installation running with the following snippet:
I've got a P1 E20 ethernet (Zuidwijk) running nicely. When checking telnet for data, there is actual data. So something is wrong regarding the docker compose ENV.
Expected behaviour
Actual data!
Actual behaviour
Errors :(
Steps to reproduce
basic yaml with added remote datalogger
Docker info
Version
see docker info
Docker compose
Container logs
see errors
Additional info
No response
The text was updated successfully, but these errors were encountered: