Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Now SOC since installation from Pi-hole and unbound #305

Open
CarstenBunz opened this issue Jan 9, 2024 · 11 comments
Open

Now SOC since installation from Pi-hole and unbound #305

CarstenBunz opened this issue Jan 9, 2024 · 11 comments

Comments

@CarstenBunz
Copy link

Hello

I installed Pi-hole and unbound now I got no SOC Datas from VW-connect in IObroker!

I think it is a problem I installed "sudo apt-get -y install resolvconf" because I had to much DNS-Query in Pi-hole!
All other adapters in IObroker works well.

Can you fix this problem in VW-connect?

regards
Carsten

@CarstenBunz
Copy link
Author

PS: I think all values are not updated!

@TA2k
Copy link
Owner

TA2k commented Jan 9, 2024

Please provide log information

@CarstenBunz
Copy link
Author

Zeit

Nachricht

host.server
2024-01-10 09:27:48.053 info instance system.adapter.vw-connect.0 started with pid 45557
host.server
2024-01-10 09:27:45.577 info instance system.adapter.vw-connect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
host.server
2024-01-10 09:27:45.005 info stopInstance system.adapter.vw-connect.0 send kill signal
host.server
2024-01-10 09:27:45.000 info stopInstance system.adapter.vw-connect.0 (force=false, process=true)

The LOG looks like OK - I think the problem are the request from VW-Connect will take the cache from Pi-hole, Unbount or Resolve and so I got no new datas!

Other adapter like modbus, stiebel-isg, sma-sm, renault works!?

@TA2k
Copy link
Owner

TA2k commented Jan 10, 2024

Please activate debug log but it looks like the adapter is stopped before he can send requests

@CarstenBunz
Copy link
Author

Bildschirmfoto 2024-01-10 um 18 21 53

@TA2k
Copy link
Owner

TA2k commented Jan 11, 2024

Ja er wird nach 3 Sekunden beendet das hat nichts mit dem Adapter zu tun

@CarstenBunz
Copy link
Author

An was könnte das liegen!?

@CarstenBunz
Copy link
Author

Unter der version 0.056 kommen diese Fehlermeldungen

Bildschirmfoto 2024-01-11 um 08 49 31

@TA2k
Copy link
Owner

TA2k commented Jan 11, 2024

Das ist das Zeichen das die Adresse nicht aufgelöst/erreicht werden kann entweder kein Netzwerk oder Geblockt sein

@CarstenBunz
Copy link
Author

Hallo TA2k,

der Abbruch bei den letzten kam daher das ich den Adapter immer neu gestartet habe um einen log zu bekommen.
Habe jetzt nochmal V 0.0.67 neu installiert - beim installieren zeigt er einen Messpunkt an dan nicht mehr - unten das letzte Protokoll ohne das abschalten!
Netzwerk schlisse ich aus da er ja einmalig einen Messwert bekommt!?

vw-connect.0 2024-01-13 10:39:11.314 debug reverse pos deactivated
vw-connect.0 2024-01-13 10:39:11.308 debug No update lat ts 1705138746299 <-> lc 1705060609065, long ts 1705138746298 <-> lc 1705060609059
vw-connect.0 2024-01-13 10:39:06.349 debug {}
vw-connect.0 2024-01-13 10:39:06.262 debug {"data":{"lon":9.493939,"lat":48.598447,"carCapturedTimestamp":"2024-01-12T11:30:43Z"}}
vw-connect.0 2024-01-13 10:39:05.674 debug {"timestamp":"2024-01-13T09:39:05.624825862Z","result":{"automatic_renewal":false,"id":"f9c5fe6b-addb-4edb-8692-6d8d0b54e0a7","ionity_premium":false,"charging_conditions":[{"blocking_fee_ac":{"free_minutes":240,"fee_per_minute":0.05,"start_local_time":"09:00:00","end_local_time":"21:00:00"},"blocking_fee_dc":{"free_minutes":90,"fee_per_minute":0.15,"start_local_time":"00:00:00","end_local_time":"00:00:00"},"country_code":"DE","currency":"EUR","cpo_code":"DE*ION","fixed_pricing_ac_price":0.69,"fixed_pricing_dc_price":0.69,"fixed_pricing_unit":"kWh","pricing_model":"FIXED"},{"blocking_fee_ac":{"free_minutes":240,"fee_per_minute":0.05,"start_local_time":"09:00:00","end_local_time":"21:00:00"},"blocking_fee_dc":{"free_minutes":90,"fee_per_minute":0.15,"start_local_time":"00:00:00","end_local_time":"00:00:00"},"country_code":"DE","currency":"EUR","fixed_pricing_ac_price":0.69,"fixed_pricing_dc_price":0.89,"fixed_pricing_unit":"kWh","pricing_model":"FIXED"}],"code":"we_charge_free_v3_9","country_code":"DE","currency":"EUR","duration_months":3,"name":"We Charge Free","plug_and_charge_capable":true,"rfid_card_price":0,"revision":4,"sign_up_fee":0,"subscription_monthly_fee":0,"voucher_value":0}}
vw-connect.0 2024-01-13 10:39:05.673 debug https://wecharge.apps.emea.vwapps.io/charge-and-pay/v1/user/tariffs/f9c5fe6b-addb-4edb-8692-6d8d0b54e0a7
vw-connect.0 2024-01-13 10:39:05.615 debug {"timestamp":"2024-01-13T09:39:05.561645324Z","result":{"automatic_renewal":false,"id":"6381e808-7a93-4e0d-b4d0-48347215da81","ionity_premium":false,"charging_conditions":[{"blocking_fee_ac":{"free_minutes":240,"fee_per_minute":0.05,"start_local_time":"09:00:00","end_local_time":"21:00:00"},"blocking_fee_dc":{"free_minutes":90,"fee_per_minute":0.15,"start_local_time":"00:00:00","end_local_time":"00:00:00"},"country_code":"DE","currency":"EUR","fixed_pricing_ac_price":0.69,"fixed_pricing_dc_price":0.89,"fixed_pricing_unit":"kWh","pricing_model":"FIXED"},{"blocking_fee_ac":{"free_minutes":240,"fee_per_minute":0.05,"start_local_time":"09:00:00","end_local_time":"21:00:00"},"blocking_fee_dc":{"free_minutes":90,"fee_per_minute":0.15,"start_local_time":"00:00:00","end_local_time":"00:00:00"},"country_code":"DE","currency":"EUR","cpo_code":"DE*ION","fixed_pricing_ac_price":0.79,"fixed_pricing_dc_price":0.79,"fixed_pricing_unit":"kWh","pricing_model":"FIXED"}],"code":"we_charge_free_v3_9","country_code":"DE","currency":"EUR","description":"Für gelegentliches Laden ohne monatliche Gebühr.","duration_months":3,"name":"We Charge Free","plug_and_charge_capable":true,"promotion_text":"Eine monatliche Rechnung für alle Ladevorgänge.\nLaden per App und Ladekarte an mehr als 500.000 Ladestationen.\nBereit für Plug & Charge.","rfid_card_price":0,"revision":2,"sign_up_fee":0,"subscription_monthly_fee":0,"voucher_value":0}}
vw-connect.0 2024-01-13 10:39:05.613 debug https://wecharge.apps.emea.vwapps.io/charge-and-pay/v1/user/tariffs/6381e808-7a93-4e0d-b4d0-48347215da81
vw-connect.0 2024-01-13 10:39:05.567 debug {"timestamp":"2024-01-13T09:39:05.548357281Z","result":{"automatic_renewal":true,"id":"8e493673-f87a-4abb-9372-5a7a5c10bd9c","ionity_premium":false,"charging_conditions":[{"blocking_fee_ac":{"free_minutes":240,"fee_per_minute":0.05,"start_local_time":"09:00:00","end_local_time":"21:00:00"},"blocking_fee_dc":{"free_minutes":90,"fee_per_minute":0.15,"start_local_time":"00:00:00","end_local_time":"00:00:00"},"country_code":"DE","currency":"EUR","cpo_code":"DE*ION","fixed_pricing_ac_price":0.69,"fixed_pricing_dc_price":0.69,"fixed_pricing_unit":"kWh","pricing_model":"FIXED"},{"blocking_fee_ac":{"free_minutes":240,"fee_per_minute":0.05,"start_local_time":"09:00:00","end_local_time":"21:00:00"},"blocking_fee_dc":{"free_minutes":90,"fee_per_minute":0.15,"start_local_time":"00:00:00","end_local_time":"00:00:00"},"country_code":"DE","currency":"EUR","fixed_pricing_ac_price":0.69,"fixed_pricing_dc_price":0.89,"fixed_pricing_unit":"kWh","pricing_model":"FIXED"}],"code":"we_charge_free_v4","country_code":"DE","currency":"EUR","description":"Für gelegentliches Laden ohne monatliche Gebühr.","duration_months":1,"name":"We Charge Free","plug_and_charge_capable":true,"promotion_text":"Eine monatliche Rechnung für alle Ladevorgänge.\nLaden per App und Ladekarte an mehr als 500.000 Ladestationen.\nBereit für Plug & Charge.","rfid_card_price":0,"revision":6,"sign_up_fee":0,"subscription_monthly_fee":0,"voucher_value":0}}
vw-connect.0 2024-01-13 10:39:05.566 debug https://wecharge.apps.emea.vwapps.io/charge-and-pay/v1/user/tariffs/8e493673-f87a-4abb-9372-5a7a5c10bd9c
vw-connect.0 2024-01-13 10:39:05.322 debug {"timestamp":"2024-01-13T09:39:05.252902499Z","result":{"total_count":0,"offset":0,"limit":100,"stations":[]}}
vw-connect.0 2024-01-13 10:39:05.321 debug https://wecharge.apps.emea.vwapps.io/home-charging/v1/stations?limit=100
vw-connect.0 2024-01-13 10:39:05.313 debug Cannot extract empty: wecharge.homecharging.records.latestItem
vw-connect.0 2024-01-13 10:39:05.311 debug {"timestamp":"2024-01-13T09:39:05.250870415Z","limit":100,"offset":0,"total_count":0,"charging_records":[]}
vw-connect.0 2024-01-13 10:39:05.310 debug https://wecharge.apps.emea.vwapps.io/home-charging/v1/charging/records?start_date_time_after=2020-05-01T00:00:00.000Z&start_date_time_before=2024-01-13T09:39:05.047Z&limit=100
vw-connect.0 2024-01-13 10:39:05.270 debug {"timestamp":"2024-01-13T09:39:05.249481021Z","result":[{"id":"2352b1c4-0c76-43ab-8870-45b09ddf0b4e","automatic_renewal":false,"tariff_id":"6381e808-7a93-4e0d-b4d0-48347215da81","tariff_name":"We Charge Free","tariff_code":"we_charge_free_v3_9","status":"inactive","inactivation_reason":"EXPIRED","subscriber_id":"f81d6998-bd57-40f0-b2ba-c28269d0f28a","created_at":"2023-06-18T11:22:29.465Z","start_date":"2023-06-18T11:22:29.488Z","end_date":"2023-09-18T11:22:29.488Z","updated_at":"2023-09-18T11:25:00.553Z","currency":"EUR","sign_up_fee":0,"monthly_fee":0,"vin":"WVWZZZE1ZP8003765","plug_and_charge":{"state":"DISABLED","emaid":"DEGCECAIV07MJQU","message":"Subscription is not active or upcoming, hence Plug&Charge cannot be used."}},{"id":"2152c16a-f37d-4869-8f00-a0f4c65602b6","automatic_renewal":true,"tariff_id":"8e493673-f87a-4abb-9372-5a7a5c10bd9c","tariff_name":"We Charge Free","tariff_code":"we_charge_free_v4","status":"active","subscriber_id":"f81d6998-bd57-40f0-b2ba-c28269d0f28a","created_at":"2023-11-19T18:28:16.172Z","start_date":"2023-12-18T11:22:29.488Z","end_date":"2024-02-18T11:22:29.488Z","updated_at":"2024-01-04T11:26:52.309Z","currency":"EUR","sign_up_fee":0,"monthly_fee":0,"vin":"WVWZZZE1ZP8003765","plug_and_charge":{"state":"ENABLED","pcid":"WVWZZZE1ZP8003765","emaid":"DEGCECAIV07MJQU","message":"","validUntil":"2025-12-16T11:25:08.000Z"},"follow_up_eligibility":"NOT_YET_ELIGIBLE","upgrade_eligibility":"ELIGIBLE","total_duration":"PT1488H","ends_in":"PT865H43M24.238498272S"},{"id":"e2a24994-1811-46e0-9306-dc844a075bfc","automatic_renewal":false,"tariff_id":"f9c5fe6b-addb-4edb-8692-6d8d0b54e0a7","tariff_name":"We Charge Free","tariff_code":"we_charge_free_v3_9","status":"inactive","inactivation_reason":"EXPIRED","subscriber_id":"f81d6998-bd57-40f0-b2ba-c28269d0f28a","created_at":"2023-08-20T15:20:02.827Z","start_date":"2023-09-18T11:22:29.488Z","end_date":"2023-12-18T11:22:29.488Z","updated_at":"2023-12-18T11:25:01.342Z","currency":"EUR","sign_up_fee":0,"monthly_fee":0,"vin":"WVWZZZE1ZP8003765","plug_and_charge":{"state":"DISABLED","emaid":"DEGCECAIV07MJQU","message":"Subscription is not active or upcoming, hence Plug&Charge cannot be used."}}]}
vw-connect.0 2024-01-13 10:39:05.269 debug https://wecharge.apps.emea.vwapps.io/charge-and-pay/v1/user/subscriptions
vw-connect.0 2024-01-13 10:39:05.218 debug Cannot extract empty: wecharge.chargeandpay.records.latestItem
vw-connect.0 2024-01-13 10:39:05.216 debug {"timestamp":"2024-01-13T09:39:05.197114386Z","result":[]}
vw-connect.0 2024-01-13 10:39:05.215 debug https://wecharge.apps.emea.vwapps.io/charge-and-pay/v1/charging/records?limit=100&offset=0
vw-connect.0 2024-01-13 10:39:05.048 info Minimum update interval is 15min for Wallcharging data, to prevent blocking
vw-connect.0 2024-01-13 10:39:05.048 info Wallcharging login was successfull
vw-connect.0 2024-01-13 10:39:05.037 info Wallcharging login successfull
vw-connect.0 2024-01-13 10:39:04.613 debug Found WeCharge connection
vw-connect.0 2024-01-13 10:39:04.302 info Create vehicle WVWZZZE1ZP8003765
vw-connect.0 2024-01-13 10:39:04.301 info Found 1 vehicles
vw-connect.0 2024-01-13 10:39:04.300 debug {"data":[{"vin":"WVWZZZE1ZP8003765","role":"PRIMARY_USER","userRoleStatus":"ENABLED","enrollmentStatus":"COMPLETED","brandCode":"V","model":"ID.3","nickname":"ID.3 Pro S","capabilities":[{"id":"webApp","expirationDate":"2053-04-08T23:59:59Z","userDisablingAllowed":false},{"id":"automation","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"batteryChargingCare","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"batteryColdWarning","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"batterySupport","userDisablingAllowed":false},{"id":"charging","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"chargingProfiles","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"chargingStations","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"climatisation","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"climatisationTimers","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"cubicNetwork","userDisablingAllowed":false},{"id":"dealerAppointment","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"destinations","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"fuelStatus","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"ignition","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"mapUpdate","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"measurements","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"onlineSpeech","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"parkingBrake","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"parkingInformation","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"parkingPosition","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"personalizationOnline","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"plugAndCharge","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"poiSearch","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"privateEmergencyCall","expirationDate":"2033-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"readiness","userDisablingAllowed":false},{"id":"roadExperienceManagementLocalization","expirationDate":"2026-04-08T23:59:59Z","userDisablingAllowed":true},{"id":"roadsideAssistant","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"routing","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"state","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"trafficInformation","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"vehicleHealth","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":true},{"id":"vehicleHealthInspection","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"vehicleHealthWarnings","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"vehicleLights","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"vehicleWakeUpTrigger","expirationDate":"2083-03-23T23:59:59Z","userDisablingAllowed":false},{"id":"webRadio","expirationDate":"2026-03-23T23:59:59Z","userDisablingAllowed":true}],"images":{},"coUsers":[],"devicePlatform":"WCAR","tags":[]}]}
vw-connect.0 2024-01-13 10:39:03.743 info Login successful
vw-connect.0 2024-01-13 10:39:03.734 info Login in with id
vw-connect.0 2024-01-13 10:39:03.733 info Start Wallcharging login
vw-connect.0 2024-01-13 10:39:03.731 info History limit: 100, set to -1 to disable wallcharging login
vw-connect.0 2024-01-13 10:39:03.730 info ID login successfull
vw-connect.0 2024-01-13 10:39:03.467 debug Error: Invalid protocol: weconnect:
vw-connect.0 2024-01-13 10:39:02.918 debug {"date":"Sat, 13 Jan 2024 09:39:02 GMT","content-length":"0","connection":"close","apigw-requestid":"ReMIliC9liAEJ4Q=","x-content-type-options":"nosniff","x-xss-protection":"0","cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","expires":"0","strict-transport-security":"max-age=31536000; includeSubDomains; preload","x-frame-options":"DENY","location":"https://identity.vwgroup.io/oidc/v1/oauth/sso?clientId=a24fba63-34b3-4d43-b181-942111e6bda8@apps_vw-dilab_com&relayState=86612debe511a3e44391f454c3bbcc3441078522&userId=5ae1c62a-3ab0-4902-9c49-72600157576a&HMAC=dbc7c20875fcee3e5265872529dab882c63389896a10ad3d20f49da26cbe907c","content-language":"en-US"}
vw-connect.0 2024-01-13 10:39:02.917 debug ""
vw-connect.0 2024-01-13 10:39:02.580 debug emailPasswordForm2
vw-connect.0 2024-01-13 10:39:02.166 debug parseEmailForm
vw-connect.0 2024-01-13 10:39:01.183 info Login in with id
vw-connect.0 2024-01-13 10:39:01.133 info starting. Version 0.0.67 in /opt/iobroker/node_modules/iobroker.vw-connect, node: v18.19.0, js-controller: 5.0.17
vw-connect.0 2024-01-13 10:39:00.538 debug Plugin sentry Initialize Plugin (enabled=true)
vw-connect.0 2024-01-13 10:39:00.486 debug States connected to redis: 127.0.0.1:6379
vw-connect.0 2024-01-13 10:39:00.471 debug States create User PubSub Client
vw-connect.0 2024-01-13 10:39:00.469 debug States create System PubSub Client
vw-connect.0 2024-01-13 10:39:00.460 debug Redis States: Use Redis connection: 127.0.0.1:6379
vw-connect.0 2024-01-13 10:39:00.442 debug Objects connected to redis: 127.0.0.1:6379
vw-connect.0 2024-01-13 10:39:00.433 debug Objects client initialize lua scripts
vw-connect.0 2024-01-13 10:39:00.167 debug Objects create User PubSub Client
vw-connect.0 2024-01-13 10:39:00.165 debug Objects create System PubSub Client
vw-connect.0 2024-01-13 10:39:00.161 debug Objects client ready ... initialize now
vw-connect.0 2024-01-13 10:39:00.117 debug Redis Objects: Use Redis connection: 127.0.0.1:6379
host.server 2024-01-13 10:38:58.112 info instance system.adapter.vw-connect.0 started with pid 44766
host.server 2024-01-13 10:38:58.057 info "system.adapter.vw-connect.0" enabled

@TA2k
Copy link
Owner

TA2k commented Jan 13, 2024

Ich sehe kein Fehler läuft alles korrekt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants