yp87 / leaf2mqtt

Pull in data from the Nissan Connect platform for the LEAF and publish over MQTT
GNU General Public License v3.0
42 stars 39 forks source link

typo #29

Closed guni12 closed 2 years ago

guni12 commented 2 years ago

I've successfully managed to integrate leaf2mqtt into Home Assistant with this

https://community.home-assistant.io/t/nissan-leaf-component-s-platform/38663/638

but couldn't get all sensor values out.

When I downloaded MQTT-explorer I learned that this command: leaf/{vin}/cockpitStatus/totalMileage

should be leaf/{vin}/cockpit/totalMileage

and now it works.

Thank you for letting us integrate the car into HA :-)

yp87 commented 2 years ago

Hello,

I added the cockpitStatus message along cockpit for backward compatibility.

Thank you for reporting this!