TA2k / ioBroker.vw-connect

ioBroker Adapter for VW We connect and Skoda connect
MIT License
90 stars 22 forks source link

State "vw-connect.0.*.remote.windowheating" has no existing object, this might lead to an error in future versions #293

Open disaster123 opened 7 months ago

disaster123 commented 7 months ago

Describe the bug
I get the following error every few seconds / minutes in log:

State "vw-connect.0.*.remote.windowheating" has no existing object, this might lead to an error in future versions

To Reproduce
Steps to reproduce the behavior: none

Expected behavior
no error message

Screenshots & Logfiles

Versions:

TA2k commented 7 months ago

Which type

disaster123 commented 7 months ago

You mean this?

vw-connect.0
2023-12-05 08:47:13.373 warn    State "vw-connect.0.XXX.remote.windowheating" has no existing object, this might lead to an error in future versions

vw-connect.0
2023-12-05 08:47:13.371 warn    State "vw-connect.0.XXX.remote.windowheating" has no existing object, this might lead to an error in future versions

vw-connect.0
2023-12-05 08:47:12.958 info    Found 1 vehicles

vw-connect.0
2023-12-05 08:47:12.036 info    Login successful

vw-connect.0
2023-12-05 08:47:09.210 info    Login in with seatcupra

vw-connect.0
2023-12-05 08:47:09.197 info    starting. Version 0.3.2 in /opt/iobroker/node_modules/iobroker.vw-connect, node: v18.19.0, js-controller: 4.0.24
TA2k commented 7 months ago

does the app allows window heating?

disaster123 commented 7 months ago

yes the rear window

nicomania commented 7 months ago

I have the same in Log. Also using Seat Cupra #1. And yes, the car has front, rear and seat heating in App (Cupra Born).

TA2k commented 7 months ago

need an account to implement this tombox2020@gmail.com

nicomania commented 7 months ago

If you are referring to the link, this was added by github faulty and automatically by using "#" Just wanted to say I am unsing: image

TA2k commented 7 months ago

with the latest version the warning should be gone but to implement the remote control I need a login

cvoelkel76 commented 7 months ago

Ich habe das gleich Problem mit meinem Audi.

vw-connect.0 (192757) starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.vw-connect, node: v18.19.0, js-controller: 5.0.17

Vielleicht helfen dir ja die Debug Informationen:

{ " access ": { " accessStatus ": { " value ": { " overallStatus ": " safe ", " carCapturedTimestamp ": " 2023 - 12 - 12T16: 50: 20Z ", " doors ": [{ " name ": " bonnet ", " status ": [" closed "] }, { " name ": " frontLeft ", " status ": [" locked ", " closed "] }, { " name ": " frontRight ", " status ": [" locked ", " closed "] }, { " name ": " rearLeft ", " status ": [" locked ", " closed "] }, { " name ": " rearRight ", " status ": [" locked ", " closed "] }, { " name ": " trunk ", " status ": [" locked ", " closed "] } ], " windows ": [{ " name ": " frontLeft ", " status ": [" closed "] }, { " name ": " frontRight ", " status ": [" closed "] }, { " name ": " rearLeft ", " status ": [" closed "] }, { " name ": " rearRight ", " status ": [" closed "] }, { " name ": " roofCover ", " status ": [" unsupported "] }, { " name ": " sunRoof ", " status ": [" unsupported "] } ], " doorLockStatus ": " locked " } } }, " userCapabilities ": { " capabilitiesStatus ": { " value ": [{ " id ": " charging ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " chargingTimers ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " climatisation ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " climatisationTimers ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " destinations ", " expirationDate ": " 2115 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": true }, { " id ": " fuelStatus ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " measurements ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " news ", " expirationDate ": " 2115 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " onlineTraffic ", " expirationDate ": " 2024 - 03 - 06T10: 25: 00Z ", " userDisablingAllowed ": false }, { " id ": " parkingInformation ", " expirationDate ": " 2024 - 03 - 06T10: 25: 00Z ", " userDisablingAllowed ": false }, { " id ": " parkingPosition ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": true }, { " id ": " poiVoice ", " expirationDate ": " 2115 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": true }, { " id ": " state ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " tripStatistics ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " vehicleHealthInspection ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " vehicleLights ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " vehicleWakeUp ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " vehicleWakeUpTrigger ", " expirationDate ": " 2026 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false }, { " id ": " weatherInformation ", " expirationDate ": " 2115 - 05 - 19T22: 00: 00Z ", " userDisablingAllowed ": false } ] } }, " charging ": { " batteryStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 49Z ", " currentSOC_pct ": 7, " cruisingRangeElectric_km ": 0 } }, " chargingStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 49Z ", " remainingChargingTimeToComplete_min ": 5, " chargingState ": " notReadyForCharging ", " chargeMode ": " invalid ", " chargeType ": " unsupported " } }, " plugStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 55Z ", " plugConnectionState ": " disconnected ", " plugLockState ": " unlocked ", " externalPower ": " unavailable ", " ledColor ": " none " } }, " chargeMode ": { " value ": { " preferredChargeMode ": " invalid ", " availableChargeModes ": [] } } }, " climatisation ": { " climatisationSettings ": { " value ": { " carCapturedTimestamp ": " 2021 - 01 - 11T04: 19: 28Z ", " climatisationWithoutExternalPower ": true } }, " climatisationStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 51Z ", " climatisationState ": " off " } }, " windowHeatingStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 53Z ", " windowHeatingStatus ": [{ " windowLocation ": " front ", " windowHeatingState ": " off " }, { " windowLocation ": " rear ", " windowHeatingState ": " off " } ] } } }, " climatisationTimers ": { " climatisationTimersStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 05 - 17T16: 55: 27Z ", " timeInCar ": " 2023 - 12 - 09T10: 17: 25Z ", " timers ": [{ " id ": 1, " enabled ": false, " singleTimer ": { " startDateTime ": " 2023 - 11 - 30T04: 55: 00Z ", " targetDateTime ": " 2023 - 11 - 30T04: 55: 00Z " } } ] } } }, " fuelStatus ": { " rangeStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 49Z ", " carType ": " hybrid ", " primaryEngine ": { " type ": " electric ", " currentSOC_pct ": 7, " remainingRange_km ": 0 }, " secondaryEngine ": { " type ": " gasoline " }, " totalRange_km ": 0 } } }, " vehicleLights ": { " lightsStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 50: 20Z ", " lights ": [{ " name ": " right ", " status ": " off " }, { " name ": " left ", " status ": " off " } ] } } }, " vehicleHealthInspection ": { " maintenanceStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T15: 49: 57Z ", " inspectionDue_days ": 22, " inspectionDue_km ": 5100, " mileage_km ": 54893 } } }, " measurements ": { " rangeStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 49Z ", " electricRange ": 0, " totalRange_km ": 0 } }, " odometerStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 50: 20Z ", " odometer ": 54893 } }, " fuelLevelStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 12 - 12T16: 48: 49Z ", " currentSOC_pct ": 7, " primaryEngineType ": " electric ", " secondaryEngineType ": " gasoline ", " carType ": " hybrid " } } }, " chargingTimers ": { " chargingTimersStatus ": { " value ": { " carCapturedTimestamp ": " 2023 - 05 - 17T16: 55: 27Z ", " timeInCar ": " ", " timers ": [{ " id ": 1, " enabled ": false, " climatisation ": false, " recurringTimer ": { " departureTime ": " 11: 00 ", " targetTime ": " 11: 00 ", " repetitionDays ": [" monday ", " tuesday ", " wednesday ", " thursday ", " friday ", " saturday ", " sunday "] } }, { " id ": 2, " enabled ": false, " climatisation ": false, " recurringTimer ": { " departureTime ": " 15: 00 ", " targetTime ": " 15: 00 ", " repetitionDays ": [" monday ", " tuesday ", " wednesday ", " thursday ", " friday ", " saturday ", " sunday "] } } ] } } } }

2023-12-13 17:10:36.790 - debug: vw-connect.0 (192757) make state with ending writable : WAUZZZ8VXXXXXXXX.status.climatisationSettings 2023-12-13 17:10:36.796 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationSettings.carCapturedTimestamp:{" val ":" 2021 - 01 - 11T04: 19: 28Z "," ack ":true," ts ":1702483836796," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1699965909161} 2023-12-13 17:10:36.843 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationSettings.climatisationWithoutExternalPower:{" val ":true," ack ":true," ts ":1702483836842," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1699965909166} 2023-12-13 17:10:36.900 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationStatus.carCapturedTimestamp:{" val ":" 2023 - 12 - 12T16: 48: 51Z "," ack ":true," ts ":1702483836899," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702400304894} 2023-12-13 17:10:36.949 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationStatus.climatisationState:{" val ":" off "," ack ":true," ts ":1702483836948," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1699965909178} 2023-12-13 17:10:36.955 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0.*/vw-connect.0.WAUZZZ8VXXXXXXXX.remote.climatisation:{" val ":false," ack ":true," ts ":1702483836954," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702455601648}

2023-12-13 17:10:36.957 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0.*/vw-connect.0.WAUZZZ8VXXXXXXXX.status.windowHeatingStatus.carCapturedTimestamp:{" val ":" 2023 - 12 - 12T16: 48: 53Z "," ack ":true," ts ":1702483836955," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702400304938} 2023-12-13 17:10:36.958 - warn: vw-connect.0 (192757) State " vw - connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating " has no existing object, this might lead to an error in future versions

2023-12-13 17:10:36.959 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating:{" val ":true," ack ":true," ts ":1702483836958," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702483836958} 2023-12-13 17:10:37.006 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.windowHeatingStatus.windowHeatingStatus.front:{" val ":" off "," ack ":true," ts ":1702483837005," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1699965909232} 2023-12-13 17:10:37.008 - warn: vw-connect.0 (192757) State " vw - connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating " has no existing object, this might lead to an error in future versions

2023-12-13 17:10:37.009 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating:{" val ":false," ack ":true," ts ":1702483837008," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702483837008} 2023-12-13 17:10:37.063 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.windowHeatingStatus.windowHeatingStatus.rear:{" val ":" off "," ack ":true," ts ":1702483837062," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1701321308676} 2023-12-13 17:10:37.064 - warn: vw-connect.0 (192757) State " vw - connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating " has no existing object, this might lead to an error in future versions

2023-12-13 17:10:37.065 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating:{" val ":false," ack ":true," ts ":1702483837064," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702483837008} 2023-12-13 17:10:37.114 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationTimersStatus.carCapturedTimestamp:{" val ":" 2023 - 05 - 17T16: 55: 27Z "," ack ":true," ts ":1702483837113," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1700781308112} 2023-12-13 17:10:37.163 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationTimersStatus.timeInCar:{" val ":" 2023 - 12 - 09T10: 17: 25Z "," ack ":true," ts ":1702483837163," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702117817026} 2023-12-13 17:10:37.211 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.climatisationTimersStatus.1.id:{" val ":1," ack ":true," ts ":1702483837210," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702453167186}

Mir ist auch noch ein anderer Fehler aufgefallen, er fragt Batteriedaten ab und meint dann No climater found:

2023-12-13 17:10:36.250 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.userCapabilities.capabilitiesStatus.weatherInformation.expirationDate:{" val ":" 2115 - 05 - 19T22: 00: 00Z "," ack ":true," ts ":1702483836249," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702453167074} 2023-12-13 17:10:36.252 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.userCapabilities.capabilitiesStatus.weatherInformation.userDisablingAllowed:{" val ":false," ack ":true," ts ":1702483836252," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702453167076} 2023-12-13 17:10:36.255 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.batteryStatus.carCapturedTimestamp:{" val ":" 2023 - 12 - 12T16: 48: 49Z "," ack ":true," ts ":1702483836255," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702400304778} 2023-12-13 17:10:36.266 - debug: vw-connect.0 (192757) AxiosError: Request failed with status code 403 2023-12-13 17:10:36.266 - debug: vw-connect.0 (192757) No climater found 2023-12-13 17:10:36.268 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.batteryStatus.currentSOC_pct:{" val ":7," ack ":true," ts ":1702483836258," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702400304779} 2023-12-13 17:10:36.276 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.batteryStatus.cruisingRangeElectric_km:{" val ":0," ack ":true," ts ":1702483836275," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702399408039} 2023-12-13 17:10:36.279 - silly: vw-connect.0 (192757) States user redis pmessage vw-connect.0./vw-connect.0.WAUZZZ8VXXXXXXXX.status.chargingStatus.carCapturedTimestamp:{" val ":" 2023 - 12 - 12T16: 48: 49Z "," ack ":true," ts ":1702483836279," q ":0," from ":" system.adapter.vw - connect.0 "," user ":" system.user.admin "," lc ":1702400304781}

@TA2k wenn das nicht reicht, melde dich kurz, dann setze ich das Passwort für meinen myAudi Account zurück und stelle es dir zur Verfügung.

TA2k commented 7 months ago

Bitte mal die GitHub version testen

cvoelkel76 commented 7 months ago

Jupp, gerade in der Testinstanz installiert und sieht gut aus. Fehler sind weg.

image

TA2k commented 7 months ago

funktioniert windowheating?

cvoelkel76 commented 7 months ago

Das würde ich mir morgen mal anschauen. Es ist finster und regnet in strömen.

Edit: Also mein A3 Etron unterstützt das Laden und Standheizung. Mehr kann ich in der App momentan auch nicht sehen. Müsste also zum Auto flitzen 😄 Keine Ahnung was windowsheating sein sollte, Heckscheibenheizung sollte man mal annehmen.

cvoelkel76 commented 7 months ago

Bin heute zum Testen gekommen. Glaube aber mein Wagen unterstützt es nicht.

2023-12-14 19:14:48.296 - silly: vw-connect.0 (370799) States user redis pmessage vw-connect.0.*/vw-connect.0.WAUZZZ8VXXXXXXXX.remote.windowheating:{"val":true,"ack":false,"ts":1702577688294,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1702577688294} 2023-12-14 19:14:48.297 - debug: vw-connect.0 (370799) https://emea.bff.cariad.digital/vehicle/v1/vehicles/WAUZZZ8VXXXXXXXX/windowheating/start 2023-12-14 19:14:48.297 - debug: vw-connect.0 (370799) {"spin":""} 2023-12-14 19:14:52.611 - error: vw-connect.0 (370799) 502 2023-12-14 19:14:52.611 - error: vw-connect.0 (370799) {"error":{"message":"Bad Gateway","info":"Looks like your service has expired. Please update your service subscription.","code":4104,"retry":false,"group":4}} 2023-12-14 19:14:52.611 - error: vw-connect.0 (370799) failed set state windowheating

Das müsste ggf. jemand anderes Testen. Zumindest ist bei mir die Fehlermeldung jetzt weg.