Open JulienLivet opened 8 months ago
Hello, it works without any adjustments. No more trace of that error. It seems like using the vehicle might have resolved the issue, but I'm not entirely sure.
Hello, it works without any adjustments. No more trace of that error. It seems like using the vehicle might have resolved the issue, but I'm not entirely sure.
Odd, I'm having a similar issue I think @JulienLivet...
WARNING: 2024-02-22 18:31:53.618286: main: An error occured while logging in. Please make sure you have selected the right LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD. Retrying in 5 seconds.
FINE: 2024-02-22 18:31:53.618561: main: NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("realm")
FINE: 2024-02-22 18:31:53.618815: main: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:85)
#2 NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:299)
<asynchronous suspension>
#3 NissanConnectSessionWrapper.login (file:///app/src/leaf/nissan_connect_wrapper.dart:21)
<asynchronous suspension>
#4 _login (file:///app/src/leaf_2_mqtt.dart:87)
<asynchronous suspension>
#5 main (file:///app/src/leaf_2_mqtt.dart:63)
<asynchronous suspension>
WARNING: 2024-02-22 18:31:53.618878: main: Could not execute request.
FINEST: 2024-02-22 18:31:53.618955: MqttClientWrapper: Publishing message lastErrorDateTimeUtc 2024-02-22T23:31:53.618937Z
hi
I'm using the add-on for Home Assistant. I have latitude, longitude, mileage, and temperature. I don't have any other information, and I have the following error in the logs.