Skip to content
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

hems not working in home assistant docker mode (maybe all docker container?) #3027

Closed
AnduriI opened this issue Mar 28, 2022 · 3 comments
Closed

Comments

@AnduriI
Copy link

AnduriI commented Mar 28, 2022

Describe the bug

I have a running evcc instance on my home assistant machine and one for test purpose and interactive usage (e.g. creating config.yaml). I tried to enable my sma hems. Directly installed on my RPi it works fine, but not in the docker environment.

Steps to reproduce

starting evcc with and without hems enabled.

Configuration details

hems:
  type: sma
#  AllowControl: false

Log details

in the log in my home assistant I see the following:

starting evcc: 'evcc --config  /config/evcc.yaml'
[main  ] INFO 2022/03/28 13:05:30 evcc 0.87
[main  ] INFO 2022/03/28 13:05:30 using config file /config/evcc.yaml
[main  ] INFO 2022/03/28 13:05:30 listening at 0.0.0.0:7070
[main  ] FATAL 2022/03/28 13:05:34 failed configuring hems: creating device id: machineid: machineid: open /etc/machine-id: no such file or directory

What type of operating system are you running?

Linux

Version

both are running evcc version 0.87

@premultiply
Copy link
Member

We do not provide docker support, sorry.
https://docs.evcc.io/docs/installation/docker/#docker-installation

@andig
Copy link
Member

andig commented Mar 28, 2022

See denisbrodbeck/machineid#5

@AnduriI
Copy link
Author

AnduriI commented Mar 28, 2022

Thanks both of your for the clarification, now I understand the problem. As I'm using https://github.com/evcc-io/hassio-addon/ could it be possible to mount the machine-id along with the config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants