core: Nissan Leaf Integration Error (error connecting to nissan)
The problem
While trying to setup the integration it errors stating it cannot connect to Nissan.
What version of Home Assistant Core has the issue?
core-2023.1.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
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
nissan_leaf:
username: <i'm a pikachu in a pikaworld>
password: <life's fantastic i'm so static>
region: NE
Anything in the logs that might be useful for us?
2023-01-23 20:12:10.858 DEBUG (SyncWorker_2) [homeassistant.components.nissan_leaf] Logging into You+Nissan
2023-01-23 20:12:15.619 ERROR (SyncWorker_2) [homeassistant.components.nissan_leaf] An unknown error occurred while connecting to Nissan: <class 'pycarwings2.pycarwings2.CarwingsError'>
Additional information
No response
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 43 (21 by maintainers)
I think something has changed at Nissan at the beginning of October. Stuff that no longer works: HA
leaf2mqtt
The Nissan android app (now says “The service cannot be provided Please try again or contact NISSAN”) The android myLeaf app
Stuff that works The you+nissan web page
I suspect Nissan has changed the apis again
I did some digging into this, and it appears that the EU app uses kamereon api, which is the same as renault… So maybe the renault codebase can be leveraged to output nissan data…