yp87 / leaf2mqtt

Pull in data from the Nissan Connect platform for the LEAF and publish over MQTT
GNU General Public License v3.0
42 stars 39 forks source link

expected int.? #57

Open Globemaster86 opened 1 year ago

Globemaster86 commented 1 year ago

Just updated to the latest version but ran into an error. Also tried to uninstall and reinstall, again the same issue. I thought I had filled in all the mandatory fields but still get the error, I can't figure out what I have done wrong. Any help is appreciated.

Failed to save add-on configuration, expected int. Got {'LEAF_USERNAME': 'Username', 'LEAF_PASSWORD': 'password', 'LEAF_TYPE': 'newerThanMay2019', 'MQTT_HOST': 'core-mosquitto', 'MQTT_PORT': '', 'MQTT_USERNAME': 'Username ', 'MQTT_PASSWORD': 'password', 'MQTT_BASE_TOPIC': '', 'UPDATE_INTERVAL_MINUTES': '', 'CHARGING_UPDATE_INTERVAL_MINUTES': '', 'COMMAND_ATTEMPTS': '', 'LOG_LEVEL': 'All'

Bpasop commented 1 year ago

I ran in to exactly the same issue. Also just updated today till the lastest core update.

jenny-lynn-ax commented 1 year ago

I managed to get past it by filling most of the optional fields. Specifically the ones which want numbers.

Happyboy0980 commented 1 year ago

Ran in to the same issue, but indeed, if you fill in the connected attempts en mqtt port manual, it runs OK.

zekje commented 11 months ago

i have the same issue, but if you complete ALL things it's work.

user name -> your mail to log nissan server password , your nissan password leaftype your nissan model ( oldereurope for my 2018 france ) mqtthost : core-mosquitto port: 1883 login: addons password , i found it on zwaveJS :) leaf base topic: leaf update: 45 update/charge: 10 command attempt: 3 loglevel warning

this is working for me :)