Replies: 4 comments 1 reply
-
In a docker container is no init system, only evcc as binary. Providing network is something that is part of the docker engine. I think the problem is located in the QNAP docker area. Are there any settings or updates? |
Beta Was this translation helpful? Give feedback.
-
I tried with/without DHCP, as well with providing a fixed DNS server during the setup of the container. The problem is only during startup when the meter is created, if I start a shell right after it - i can run |
Beta Was this translation helpful? Give feedback.
-
Just a suggestion: you can also run a Linux virtual machine on your QNAP. The App ist called "Ubuntu Linux Station". The advantage is also that - other than in a Docker container - evcc registers correctly via MDNS in your Network (with your Router). The only disadvantage for that setup is that you can't use the HybridDesk Station App offered by QNAP at the same time, because both "Stations" can't use the HDMI-Output at the same time and hence QNAP doesn't allow to run these in parallel. But if you don't need HybridDesk for example to watch movies using KODI on your TV, then the Ubuntu Linux Station is probably way better than using a Docker on a QNAP. I could install and run evcc on the Ubuntu station with literally following the Ubuntu installation manual for evcc by the letter. No error messages and no googling of anything needed. Plain vanilla execution of the steps described in the manual were sufficient. |
Beta Was this translation helpful? Give feedback.
-
I'm aware of running VMs but I'd prefer container images. However - this certainly now seems to be a QNAP issue and not related to evcc, hence self-closing the discussion. The issue does not occur if I use NAT mode networking, it only fails with bridge mode. |
Beta Was this translation helpful? Give feedback.
-
Dear,
I'm running EVCC on the Container Station of my QNAP Nas. I'm using Bridge mode, so all my containers get a dedicated IP address in my home lan and I don't need to bother around with Port forwarding or similar.
This works perfectly and EVCC get assigned its own IP address. evcc.yaml is mounted directly into the container, not whole /etc. However:
I'm using tibber and wanted to register tibber as my meter:
Now if i start the container I'm getting confronted with the following error:
The container then restarts after 5 minutes.
If i login to the container via a shell within that time and debug:
nslookup api.tibber.com
works perfectly and resolves to the prober IPsevcc -l debug meter
works and gives back proper data:It really looks like that EVCC wants to create the meter directly after boot - when possible the network is not fully ready/started.
Anyone any idea?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions