Hello together,
i installed the PSA connected Car in my HA.
But the only thing i see, is the Charge and the price.
(i have a Opel Mokka e and i use the Myopel app)
But how can i change the price per kwh.
i found the ini in my terminal but i didn´t know how i can change it there
How have then created a new file in HA in the location /config/sensor.yaml with the settings replacing the IPofTheSoftware:5000 with my local HA IP and the YourVIN with the VIN of our car throughout the scipt.
I have also updated the configuration.yaml with the second section again replacing the IP and VIN in the script.
Lastly I create the customize.yaml with the setting mentioned and didn’t change these for now.
I rebooted and logged into the PSA Module that was downloaded, applied our registered email address and password, which passed, the applied the OTP code with the PIN, again this passed.
I could see the battery percentage on the screen along with the Odometer reading on the PSA Car Control tab in HA yesterday but that’s all the data that is displaying.
Since a few days suddenly my car location shows up. I don’t know why but I enjoy it.
Still the moving status always shows false and also no tracking of trips yet in the Map page of the My Car Info dashboard. I guess recording is not enabled which according to the manual should be done using the -r argument in: python3 psa-car-controller -f config.json -c charge_config.json -r
Where can I find this command line? Or is there another way to enable recording the position?
Hi,
As of this afternoon the battery percentage is not being updated anymore, anybode else with same? Also when I look at trips those are not updated anymore, what to do about that?
Thanks
If you are getting the same as me and it’s says entity not available you are probable missing the last part in the Configuration.yaml.
Essentially I was missing this line, as the instructions say to create a new /config/sensor.yaml file but don’t tell you that you have to reference this.
sensor: !include sensor.yaml
Once in place I restarted Home Assistant and everything started to work.
Uuuuh, no, it’s not in the Docker. /config is the HA config folder and sensor.yaml is there or not. I for example have no sensor.yaml and added the whole bunch into configuration.yaml. If you want a sensor.yaml, add that to the beginning of your configuration.yaml: sensor: !include sensor.yaml
This ONLY works if you don’t have any other sensor: part in your current configuration.yaml. Else you have to move the other sensors in the new file, too. There are other ways like adding only the include to the current sensor: block, but I have no clue how I should explain that.
OK done that now I get an error that my sensor IDs are not unique (and they’re therefore unavailable)
“This entity (‘sensor.e2008_battery_autonomy’) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.”
No other “sensor” includes - and in the other includes (script, scene,mqtt,template) there don’t appear to be any sensors defined in those either (and definitely not any related to the car)
Tried that yaml file called sensor.yaml, random.yaml - it appears to be parsed - but the sensors defined within don’t have a unique ID and are always unavailable/unusable
Probably explaining this poorly - I’m not new to YAML/Linux etc - but this is making my head hurt.
New data: on a restart (via Developer Tools > Check & Restart) the entities become briefly available - but by the time it completes loading they’re gone again.
It’s working now and I’ve changed nothing. I bet it’s PSA’s API servers.
@hunnymonster how did you enter your phone number for the text (as i can not get past that stage) was it in the normal 07712 or using county code +447712 ?
2023-02-08 19:47:54,158 :: INFO :: Connected with result code {‘session present’: 0}
2023-02-08 19:47:54,159 :: INFO :: subscribe to psa/RemoteServices/to/cid/OV-ACNT200007983641/#
2023-02-08 19:47:54,160 :: INFO :: subscribe to psa/RemoteServices/events/MPHRTServices/VIN HIDDEN
2023-02-08 19:47:54,161 :: WARNING :: Disconnected with result code 5
2023-02-08 19:47:54,162 :: WARNING :: The connection was refused.
Somehow not able to switch on preconditioning lately.
Hi everybody!
On one hand we have the original instructions from here: GitHub - Flodu31/HomeAssistant-PeugeotIntegration: Integration between Peugeot API and Home Assistant
On the other hand, we have several good posts here improving the original instructions.
Can someone with a good working configuration post here their full yaml setup (config, sensors, automations, etc)? I know it’s a pain to remove all your personal data such as IP and VIN, but please, find the time to help us all start with the right foot.
Thank you!
i have just a new E2008 and afcourse the first priority was to intergrate it in home assistant
But… it looks like everyting is working fine, i can see the charge overview, Control tab is also working and on my dashboard i cannot
see the Autonomy, charging status and battery status but i am missing a couple of things:
Charge price? where can i adjust it?
in the control tab i only see the Battery status but not the Mileage. Mileage is empty like “-km”
Map is also not showing anything.
Trips are also not there
the “My Peugeot” app it showing the data perfectly.