Closed rogierlommers closed 1 year ago
Sorry, totally my bad.
I forgot to add the environment var DSMRREADER_OPERATION_MODE=api_client
.
After adding this, everything works fine.
Maybe accept this, @xirixiz ? https://github.com/xirixiz/dsmr-reader-docker/pull/323
Support guidelines
Description
The situation is as follows:
But I want to get rid of a server in the "meterkast", so I hired a VPS. The plan is to run dsmr in "api" mode in the VPS and in my "meterkast" I want to run dsmr in client-mode (so only reading P1 port and sending the telegrams to the API).
I would expect that no db access is required, but I receive a DB connection error.
Why is that? Basically my question is:
Expected behaviour
A very lightweight instance of dsmr reader which only reads the telegrams from the P1 port and sends them to a remote API instance.
Actual behaviour
Container doesn't start, with DB connection errors.
Steps to reproduce
Run the docker-compose snippet
Docker info
Version
Everything is running on Ubuntu 22.04 LTS, using latest docker versions.
Docker compose