Open JAFC-BandO opened 11 months ago
I recomend to use Citroen's readme https://github.com/Flodu31/HomeAssistant-PeugeotIntegration/blob/main/Citroen-ec4.md If you are using HA with Addon like me you can try with http://homeassistant.local:5000/charge_control?vin=YOUR_VIN&percentage=70
I am also not able to get this to work. All of my sensors are "unavailable" Are you able to see something wrong here:
#friendly_name: "Autonomy"
#unit_of_measurement: "m"
#value_template: "{{ ((state_attr('sensor.peugeot_e2008', 'energy')[0]['autonomy']) / 1.609) | round(0)}}"
e2008_charging_status: friendly_name: "Charging Status" value_template: '{{ states.sensor.peugeot_e2008.attributes["energy"][0]["charging"]["status"] }}' e2008_mileage: friendly_name: "Mileage" unit_of_measurement: "km" value_template: '{{ states.sensor.peugeot_e2008.attributes["timed_odometer"]["mileage"] }}'
#friendly_name: "Mileage"
#unit_of_measurement: "m"
#value_template: "{{ ((state_attr('sensor.peugeot_e2008', 'timed_odometer')['mileage']) / 1.609) | round(2)}}"
I putted in my my vin number offcourse
Solved
I tried using the http://YOUR_SERVER_IP:5000/charge_control?vin=YOUR_VIN&percentage=80 with the IP (I think its using according to PSA logs. its 172.30.32.1) But I have no idea...
But its not doing anything, can someone help ?