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

HASSIO: Adjust hassio config.json to map all data relevant directories #110

Open
Frintrop opened this issue Sep 3, 2024 · 2 comments
Open

Comments

@Frintrop
Copy link
Sponsor

Frintrop commented Sep 3, 2024

Describe the bug

In HASSIOs config.json only "config" is a mapped volume to hassio host.
Which mappings have to be configured for sqlite database and other configurations like SOC limit for chargers, soc handling for battery ?!

Steps to reproduce

Update HASSIO version of evcc..
Sometimes many configs are gone...

Configuration details

network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: xxx
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 30s # control cycle interval. Interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval

#database configuration for persisting charge sessions and settings
#database:
#   type: sqlite
#   dsn: /config/evcc.db

Log details

none

What type of operating system are you running?

HomeAssistant Add-on

Version

0.130

@goebelmeier
Copy link
Contributor

Did you change any Add-On configuration defaults? The default paths are

config_file: /config/evcc.yaml
sqlite_file: /data/evcc.db

and that's quite fine. /data is a persistent volume which is only accessible to that specific addon. More documentation can be found here https://developers.home-assistant.io/docs/add-ons/configuration/

@andig andig transferred this issue from evcc-io/evcc Sep 3, 2024
@thecem
Copy link
Collaborator

thecem commented Sep 3, 2024

Which mappings have to be configured for sqlite database and other configurations like SOC limit for chargers, soc handling for battery ?!

Actual there is only /config as volume configured and not planned to move to addon_config.

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