-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nissan_leaf Integration Broken (Related to pycarwings2 Library) #117674
Comments
Hey there @filcole, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) nissan_leaf documentation |
I'm having the same issue. |
Same problem over here as well. |
I think it has something to do with the latest HA update. I performed that update yesterday and only today I noticed that my Leaf was not (smart)charging. It needs the SoC to start charging. That's how I found out... |
Same problem, I updated tonight but I think that it was failing from before updating |
@RogMoe this issue affects older HA releases as well, not being related to HA itself but to the pycarwings2 library. I was able to fix the root cause by updating the API endpoint address, see filcole/pycarwings2#47. |
Yes, you're right. Just restored to HA core_2024.5.3 and that didn't solve the issue. This may sound like a stupid question, but how is it going to be fixed? Do I need to do enything or stay put and wait for as long as it takes? |
@RogMoe, the fix requires a new release of pycarwings2, which will also need to be integrated into the upcoming patch-level release of Home Assistant. In the meantime, you can update your existing Home Assistant instance by following the instructions provided in this comment: filcole/pycarwings2#46 (comment). |
I tried the fix and it did bring back the Nissan LEAF add-on but it seemed to break my GivTCP Add On. I guess I'll need to await the formal fix. |
Ignore my comment - bizarrely, at the same time that I was executing the suggestion, my router decided to change an IP address that it's never changed before. |
UPDATE: Applied the patch, worked for a while, not its broken yet again. Logger: pycarwings2.pycarwings2 Invalid JSON returned Logger: homeassistant.components.nissan_leaf An unknown error occurred while connecting to Nissan: <class 'pycarwings2.pycarwings2.CarwingsError'> |
I applied the patch. Env: Docker container |
It works now. Maybe there was a Nissan server connection problem. |
? Any update on this? But was waiting for a Patch. looks like @filcole is not really Active anymore?? Is this gona be another Dead Repo and so a Dead integration? |
The problem
The Nissan Leaf integration has stopped working since May 17, 2024. The integration is not being initialized correctly, causing all Nissan Leaf entities to remain in the "unavailable" state.
What version of Home Assistant Core has the issue?
core-2024.5.4
What was the last working version of Home Assistant Core?
core-2024.5.4
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
nissan_leaf
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nissan_leaf/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
It is similar to the issue discussed in pycarwings2 Issue #46, suggesting that the bug is inherent to the pycarwings2 library rather than Home Assistant's integration of it.
The text was updated successfully, but these errors were encountered: