I archived my repository (yp87/leaf2mqtt) since I don’t use it anymore because it has reliability issues caused by Nissan always looking for a way to break third party integrations.
@TNT_Larsn, @andyc , since it looks like you would like to keep using it, I unarchived and updated the libraries to latest version. Please tag me here if they need to be updated again as I won’t be using it, I won’t know if it stopped working.
@TNT_Larsn, I added support for arm64. I tried it on my raspberry pi 2, but it did not work since it needs arm/v7 support (32 bit) and it gives me an error when I try to build with it. If you have a Raspberry pi 3 or newer with 64 bit, it could work, you have to try it (Use the same image as below).
@Sriracha I also thank you very much. If you provide a personal link to https://www.buymeacoffee.com/ I would donate one … or two … or even three
Once again! Thank you
Also thank you but, no, I don’t take donations There is so many people who work way way more for free on home assistant, you could donate there, or to Tobias, the My Leaf author who builds the libraries used by leaf2mqtt, he takes donations through the My Leaf app.
Timing on this could not be more perfect. I just stumbled upon your image and turned it into a local add-on. It’s running on Home Assistant Blue, so I can confirm the arm64 version works fine (on my 2016 Canadian leaf).
This is great, thank you for the work you’ve put into this.
Thanks—had to uninstall/reinstall. It works! Though, like previous versions, it still doesn’t seem to update the battery as reliably as the climate/location. Might post some logs later after a little more observation.
I’m really pleased for the possibility to integrate our car into Home Assistant, via Leaf2Mqtt. I went through this post and learned that @Sriracha has been really kind and kept updating the addon for the rest of us. Amazing!
I do need some help however with extracting the stats values. I don’t seem to get anything out - I’m checking with MQTT explorer as well as the listener tool in Home Assistant. It would be interesting to get the kilometersPerKwh and the kwhUsed etc.
I did race an issue - stats - help needed · Issue #32 · yp87/leaf2mqtt · GitHub, but perhaps it’s only something simple I’m missing. I’ve noticed there is a tripHistory and therefor tried swopping stats to tripHistory to alter the dates, but no luck.