hi
LEAF_USERNAME: Login@login.com
LEAF_PASSWORD: "password"
LEAF_TYPE: newerThanMay2019
MQTT_HOST: 192.168.1.104
MQTT_PORT: 1883
MQTT_USERNAME: mqttuser
MQTT_PASSWORD: paswword
MQTT_BASE_TOPIC: leaf
UPDATE_INTERVAL_MINUTES: 45
CHARGING_UPDATE_INTERVAL_MINUTES: 10
COMMAND_ATTEMPTS: 3
LOG_LEVEL: All
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.
FINE: 2024-02-20 02:32:59.393866: LeafSession: NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("realm")
FINER: 2024-02-20 02:32:59.393936: LeafSession: #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 LeafSession._executeWithRetry (file:///app/src/leaf/leaf_session.dart:146)
<asynchronous suspension>
#5 LeafSession.executeWithRetry (file:///app/src/leaf/leaf_session.dart:129)
<asynchronous suspension>
#6 Future.wait.<anonymous closure> (dart:async/future.dart:522)
<asynchronous suspension>
FINEST: 2024-02-20 02:32:59.393943: LeafSession: Executing
FINE: 2024-02-20 02:32:59.760658: LeafSession: RangeError (length): Invalid value: Not in inclusive range 0..3: 4
FINER: 2024-02-20 02:32:59.760711: LeafSession: #0 new NissanConnectBattery (package:dartnissanconnect/src/nissanconnect_battery.dart)
#1 NissanConnectVehicle.requestBatteryStatus (package:dartnissanconnect/src/nissanconnect_vehicle.dart:53)
<asynchronous suspension>
#2 NissanConnectVehicleWrapper.fetchBatteryStatus (file:///app/src/leaf/nissan_connect_wrapper.dart:69)
<asynchronous suspension>
#3 LeafSession._executeWithRetry (file:///app/src/leaf/leaf_session.dart:153)
<asynchronous suspension>
#4 LeafSession.executeWithRetry (file:///app/src/leaf/leaf_session.dart:129)
<asynchronous suspension>
#5 Future.wait.<anonymous closure> (dart:async/future.dart:522)
<asynchronous suspension>
FINE: 2024-02-20 02:32:59.760731: LeafSession: Exception: Execution failed.
FINER: 2024-02-20 02:32:59.760743: LeafSession: #0 LeafSession._executeWithRetry (file:///app/src/leaf/leaf_session.dart:161)
<asynchronous suspension>
#1 LeafSession.executeWithRetry (file:///app/src/leaf/leaf_session.dart:129)
<asynchronous suspension>
#2 Future.wait.<anonymous closure> (dart:async/future.dart:522)
<asynchronous suspension>
WARNING: 2024-02-20 02:32:59.760752: main: Could not execute request.
FINEST: 2024-02-20 02:32:59.760758: MqttClientWrapper: Publishing message lastErrorDateTimeUtc 2024-02-20T01:32:59.760755Z
FINEST: 2024-02-20 02:32:59.760999: MqttClientWrapper: Publishing message {vin}/lastErrorDateTimeUtc 2024-02-20T01:32:59.760755Z
`thx :)`
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.