flobz / psa_car_controller

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

Psa home assistant sensors #988

Open Stealth100 opened 1 week ago

Stealth100 commented 1 week ago

Hi all I have the psa controller running on raspberry pi and it shows everything, trips, battery etc. But all sensors in home assistant are unavailable is there a possible fix please?

RGx01 commented 5 days ago

Try this adding this config. https://www.speaktothegeek.co.uk/2023/03/using-home-assistant-to-control-your-vauxhall-peugeot-or-citroen-car/#configure-sensors

Stealth100 commented 5 days ago

Try this adding this config. https://www.speaktothegeek.co.uk/2023/03/using-home-assistant-to-control-your-vauxhall-peugeot-or-citroen-car/#configure-sensors

Tried that one along with many others. The psa addon works and shows all info but the ha never shows any sensors available

kurim commented 5 days ago

Alternative use Node-Red to expose the sensors, this works very good. image

JS-Lorthe commented 2 days ago

@kurim Waouh, great idea! Could you please give some details about this method? I'm not very familiar with Node Red.

Thank you!!

kurim commented 1 day ago

You need Node-Red as an Addon and Node-RED Companion Integration from HACS. Now you need to run Nod-Red Addon and add Node-Red as Integration.

Then open NodeRed: image

and load the flow (notice settings are in german, so you need to change them, also need to change IP + adding YOURVIN

flows.json

JS-Lorthe commented 7 hours ago

Hello, Thank you very much @kurim , I have imported the json file but I have an issue. I think it's about the IP. I have used 127.0.0.1:5000 (by default) but I have this issue below. Have you an idea about that?

Thank you again

image

And the detail of my IP

image