robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
339 stars 61 forks source link

error on new install on Homeassistant 0.100.2 #43

Closed andlo closed 5 years ago

andlo commented 5 years ago

On a fresh installed homeassistant 0.100.2 on raspberrypi3 I face a problem setting up carnet.

I followed the instructions wich has been working earlier, but now I cat getit to work. What am I missing?

The log tells me that it loads the component, and login to carnet goes OK. But it fails...


2019-10-18 16:31:09 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for volkswagencarnet which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-10-18 16:31:12 INFO (MainThread) [homeassistant.setup] Setting up volkswagencarnet
2019-10-18 16:31:14 DEBUG (SyncWorker_0) [custom_components.volkswagencarnet] Creating connection to volkswagen carnet
2019-10-18 16:31:14 DEBUG (SyncWorker_0) [custom_components.volkswagencarnet] Logging in to volkswagen carnet
2019-10-18 16:31:22 INFO (SyncWorker_0) [custom_components.volkswagencarnet] Starting volkswagencarnet component
2019-10-18 16:31:22 WARNING (MainThread) [homeassistant.setup] Setup of volkswagencarnet is taking over 10 seconds.
2019-10-18 16:31:26 DEBUG (SyncWorker_0) [custom_components.volkswagencarnet] Updating data from volkswagen carnet
2019-10-18 16:31:26 INFO (SyncWorker_0) [custom_components.volkswagencarnet] Adding data for VIN: wvwzzzaazed902044 from carnet
2019-10-18 16:31:26 ERROR (MainThread) [homeassistant.setup] Error during setup of component volkswagencarnet
  File "/config/custom_components/volkswagencarnet/__init__.py", line 149, in setup
  File "/config/custom_components/volkswagencarnet/__init__.py", line 137, in update
  File "/config/custom_components/volkswagencarnet/__init__.py", line 107, in discover_vehicle
  File "/usr/local/lib/python3.7/site-packages/volkswagencarnet.py", line 401, in dashboard
  File "/usr/local/lib/python3.7/site-packages/volkswagencarnet.py", line 704, in charging_time_left
2019-10-18 16:33:29 DEBUG (SyncWorker_16) [custom_components.volkswagencarnet] Updating data from volkswagen carnet
2019-10-18 16:35:31 DEBUG (SyncWorker_19) [custom_components.volkswagencarnet] Updating data from volkswagen carnet
2019-10-18 16:37:33 DEBUG (SyncWorker_12) [custom_components.volkswagencarnet] Updating data from volkswagen carnet
2019-10-18 16:39:35 DEBUG (SyncWorker_4) [custom_components.volkswagencarnet] Updating data from volkswagen carnet
2019-10-18 16:41:37 DEBUG (SyncWorker_10) [custom_components.volkswagencarnet] Updating data from volkswagen carnet

´´´

strange is that there isnt anything in the /config/deps folder. 

Anyone have a hint what is wrong or what I am dooing wrong ? 
nicklaseklund commented 5 years ago

I got the same issue for 99.1.

It’s saying that it’s updating data. But nothing is visible in HA.

I am using HA via docker.

nicklaseklund commented 5 years ago

Hmm, sorry. For me it is not even adding Vin as according to your log.

andlo commented 5 years ago

Just updated to HA 0.100.3 and everything seems working :) GREAT