config.ini accessible from home assistant
Hello,
From what I understand, I don't have access to the config.ini file when HA is supervised. Would it be possible to be able to modify the variables in the config.ini file from the addon configuration in home assistant?
Also, the command http://localhost:5000/wakeup/YOURVIN does not work on my end.
Thanks
Hello pika28, You find the solution for the HA addon in this discussion: https://github.com/flobz/psacc-ha/issues/21
Hello,
I managed to move forward thanks to you with this new addon that allows you to use docker commands.
I manage to make a "docker ps" and I finally see psa car controller.
Now how to extract or modify the config.ini file?
Thanks
I tried this command but I get access denied :
docker exec -it addon_abcb0dfb_psacc /bin/sh -c /psa_car_controller
Pika,
the good command is:
docker exec -it "Names or Container ID" /bin/bash
After that, you can navigate in the container folders
I finally found this command.
I did in order:
apt-get update
apt-get install vim
vim /
I then modified the config.ini file present in data but nothing changes.
have you restart the container?
yes the container and HAOS
what parameter did you want to change?
[General]
currency = ~B
minimum trip lenght = 1
lenght unit = km
[Electricity config]
day price = 0.17
night price = 0.17
night hour start = 23h00
night hour end = 6h00
I close this PR because its a discussion, not a PR.