Thanks one of the most usefull components in HA!
It was working great for some time with a older version of nissan_leaf module on HASSIO in docker. But with the new integrated module it crashed, and I was unable to get nissan_leaf working. I therefore made a new setup with pure HASSIO on a RPI. Then the new module was working, but after some reboots it is failing like this:
2019-03-24 17:43:21 DEBUG (SyncWorker_8) [homeassistant.components.nissan_leaf] Logging into You+Nissan...
2019-03-24 17:43:21 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] invoking carwings API: https://gdcportalgw.its-mo.com/api_v181217_NE/gdc/InitialApp.php
2019-03-24 17:43:21 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] params: {
"RegionCode": "NE",
"custom_sessionid": "",
"initial_app_strings": "geORNtsZe5I4lRGjG9GZiA",
"lg": "en-US"
}
2019-03-24 17:43:22 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] Response HTTP Status Code: 200
2019-03-24 17:43:22 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] Response HTTP Response Body: b'{"status":200,"message":"success","baseprm":"uyI5Dj9g8VCOFDnBRUbr3g"}'
2019-03-24 17:43:22 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] invoking carwings API: https://gdcportalgw.its-mo.com/api_v181217_NE/gdc/UserLoginRequest.php
2019-03-24 17:43:22 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] params: {
"Password": "vVajL1BW+oJG0VYLUFKPbg==",
"RegionCode": "NE",
"UserId": "myuserID",
"custom_sessionid": "",
"initial_app_strings": "geORNtsZe5I4lRGjG9GZiA"
}
2019-03-24 17:44:06 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] Response HTTP Status Code: 200
2019-03-24 17:44:06 DEBUG (SyncWorker_8) [pycarwings2.pycarwings2] Response HTTP Response Body: b'{"status":"-2001","message":"INVALID PARAMS"}'
2019-03-24 17:44:06 ERROR (SyncWorker_8) [pycarwings2.pycarwings2] carwings error INVALID PARAMS: -2001
2019-03-24 17:44:06 ERROR (SyncWorker_8) [homeassistant.components.nissan_leaf] An unknown error occurred while connecting to Nissan: <class 'pycarwings2.pycarwings2.CarwingsError'>
Is this because of unstable server at Nissan’s side? Anything I can do?