flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
391 stars 199 forks source link

Documentation for home assistant add-on possibly wrong for price update instructions #602

Closed bgoncal closed 9 months ago

bgoncal commented 11 months ago

Hey folks, Ive been following the instructions to create my config and update the price per kWh but I think the instructions are incorrect or my setup is incorrect. Context: Everything is working perfectly for me, I just can't create my config file.

Screenshot 2023-08-11 at 19 39 00 Screenshot 2023-08-11 at 19 39 04
kagehisa commented 10 months ago

Same problem here. It is possible to edit the settings vie the UI but they are not persistent. The Post install docker command gives me a similiar path as @cpvbruno. But it seems that path is not existant or missing the leading part of the path that shows where docker is storing the image.

bgoncal commented 10 months ago

I was able to update the config file but through a very "difficult" way... I used Portainer addon to see all HA containers, then I open a console on PSA addon container and then I found the config file and edit it

kagehisa commented 10 months ago

Thak you I will try that but it would still be nice to do this directly on the console. Edit: I switched back to a native install on a raspberry. I could not configure the port of the psa controller to be accessible from the outside. Also the parameters to run the psa-controller productive in HA remain a mystery to me. It only starts with the web-conf flag. I will try again once the documentation is more mature.

Holewijn commented 9 months ago

I was able to update the config file but through a very "difficult" way... I used Portainer addon to see all HA containers, then I open a console on PSA addon container and then I found the config file and edit it

Could u tell me how i can do this? when i go to portainer and open the console on the psacc addon, i dont get nothing tho

bgoncal commented 9 months ago

I was able to update the config file but through a very "difficult" way... I used Portainer addon to see all HA containers, then I open a console on PSA addon container and then I found the config file and edit it

Could u tell me how i can do this? when i go to portainer and open the console on the psacc addon, i dont get nothing tho

I don't recall exactly the path, but you need to find the config file and then use vi or nano to edit it, let me know if you find it

Holewijn commented 9 months ago

I was able to update the config file but through a very "difficult" way... I used Portainer addon to see all HA containers, then I open a console on PSA addon container and then I found the config file and edit it

Could u tell me how i can do this? when i go to portainer and open the console on the psacc addon, i dont get nothing tho

I don't recall exactly the path, but you need to find the config file and then use vi or nano to edit it, let me know if you find it

Found it cd /data nano config.ini