Nissan Leaf Integration

thatsme@serverbox:~/leaf2mqtt$ sudo docker-compose up

Creating leaf2mqtt ... done Attaching to leaf2mqtt leaf2mqtt | SEVERE: 2022-01-28 16:24:39.544831: main: V0.10 leaf2mqtt | INFO: 2022-01-28 16:24:39.544900: MqttClientWrapper: Creating MQTT client with 192.168.1.6:1883 listening on leaf. leaf2mqtt | INFO: 2022-01-28 16:24:39.545020: MqttClientWrapper: Connecting... leaf2mqtt | INFO: 2022-01-28 16:24:39.548388: MqttClientWrapper: Mqtt connection code: MqttConnectReturnCode.connectionAccepted leaf2mqtt | INFO: 2022-01-28 16:24:39.548411: main: Logging in. leaf2mqtt | null leaf2mqtt | WARNING: 2022-01-28 16:24:44.095378: 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. leaf2mqtt | FINE: 2022-01-28 16:24:44.095487: main: NoSuchMethodError: The method '[]' was called on null. leaf2mqtt | Receiver: null leaf2mqtt | Tried calling: []("realm") leaf2mqtt | FINE: 2022-01-28 16:24:44.095551: main: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:68) leaf2mqtt | #1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:115) leaf2mqtt | #2 NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:299) leaf2mqtt | <asynchronous suspension> leaf2mqtt | #3 NissanConnectSessionWrapper.login (file:///app/src/leaf/nissan_connect_wrapper.dart:20) leaf2mqtt | <asynchronous suspension> leaf2mqtt | #4 _login (file:///app/src/leaf_2_mqtt.dart:87) leaf2mqtt | <asynchronous suspension> leaf2mqtt | #5 main (file:///app/src/leaf_2_mqtt.dart:63) leaf2mqtt | <asynchronous suspension> leaf2mqtt | leaf2mqtt | WARNING: 2022-01-28 16:24:44.095569: main: Could not execute request. leaf2mqtt | FINEST: 2022-01-28 16:24:44.095579: MqttClientWrapper: Publishing message lastErrorDateTimeUtc 2022-01-28T16:24:44.095576Z leaf2mqtt | null leaf2mqtt | WARNING: 2022-01-28 16:24:53.657106: 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. leaf2mqtt | FINE: 2022-01-28 16:24:53.657151: main: NoSuchMethodError: The method '[]' was called on null. leaf2mqtt | Receiver: null leaf2mqtt | Tried calling: []("realm") leaf2mqtt | FINE: 2022-01-28 16:24:53.657197: main: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:68) leaf2mqtt | #1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:115) leaf2mqtt | #2 NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:299) leaf2mqtt | <asynchronous suspension> leaf2mqtt | #3 NissanConnectSessionWrapper.login (file:///app/src/leaf/nissan_connect_wrapper.dart:20) leaf2mqtt | <asynchronous suspension> leaf2mqtt | #4 _login (file:///app/src/leaf_2_mqtt.dart:87) leaf2mqtt | <asynchronous suspension> leaf2mqtt | #5 main (file:///app/src/leaf_2_mqtt.dart:63) leaf2mqtt | <asynchronous suspension> leaf2mqtt | leaf2mqtt | WARNING: 2022-01-28 16:24:53.657228: main: Could not execute request. leaf2mqtt | FINEST: 2022-01-28 16:24:53.657247: MqttClientWrapper: Publishing message lastErrorDateTimeUtc 2022-01-28T16:24:53.657243Z CGracefully stopping... (press Ctrl+C again to force) Stopping leaf2mqtt ... done

Thanks again for your earlier replies and assistance. I'm learning leaps and bounds lately.

/r/homeassistant Thread Parent