fhempy: Skoda Connect

Begonnen von dominik, 30 Juli 2021, 21:34:14

Vorheriges Thema - Nächstes Thema

Nogga


scooty

Zitat von: Nogga am 04 November 2023, 21:30:41Seit zwei Tagen synced mein Enyaq nicht mehr mit FHEM.
Bei mir gehts nach Update des FHEMPY-Server auf Version 0.1.673 wieder.
Bin mir aber nicht sicher, ob dies der Grund ist, dass es wieder funktioniert?

Viele Grüße,
Andreas
Fhem auf Gigabyte Brix
CUL V3 HM / CUL V3 MAX / MaxCube aFW Homematic&MAX / ZWave.me ZME_UZB1 / SDuino 433 / Velux KLF200
Homematic / MAX / Logitech Hub / ZWave / Wifi LED / div. 433 Temperatursensoren / pywws WH10880 / IO Homecontrol

SimonHipp

AHHH, ich erhalte seit gestern, ohne was gemacht zu haben den Fehler -> 127.0.0.1: Verbindungsaufbau abgelehnt (111)
Kann mir jemand helfen, Fhem-Neustart, sowie NUC Neustart haben nix gebracht.
FHEM 6.0 auf AMD Ryzen 5 MICRO PC (NUC) mit VDSL 100/40Mbit/s

JoWiemann

Zitat von: SimonHipp am 15 Dezember 2023, 22:21:57AHHH, ich erhalte seit gestern, ohne was gemacht zu haben den Fehler -> 127.0.0.1: Verbindungsaufbau abgelehnt (111)
Kann mir jemand helfen, Fhem-Neustart, sowie NUC Neustart haben nix gebracht.

Hallo,

die Datenschutzbedingungen haben sich geändert. Dem musst erst durch Anmeldung über die Internetadresse zustimmen.

Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

BergMuel

hey vielen Dank für Eure Infos in diesem Kanal. Ich konnte meinen neuen Skoda Enyaq 85 problemlose mit wenigen Klicks einbinden. Funktioniert alles bestens, Top!!
Damit bin ich nun auf den Geschmack gekommen und möchte hier eine Frage stellen, die ich anderswo im Forum nirgends geklärt bekommen habe.
Skoda und Volkswagen basieren ja auf der gleichen Plattform und ich vermute auch die Zugriffe auf skodaconnect und weconnect dürften sehr ähnlich sein. Gibt es eine Möglichkeit mit fhempy auch meinen VW auszulesen? Kann ich irgendwo die geänderte Portaladresse eintragen oder einen Parameter einstellen? Hat das schon jemand realisiert?

satprofi

Da ja seat connect selbe anmeldeprozedur hat, versuchs einfach mit VW. VIN evt. eintragen bei attr
gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

Hausrobot

Hallo ihr,

Installation "Skoda Connect": habe fhempy installiert (soweit ok), aber hänge an:
FHEMWEB WEB CSRF error: csrf_124021830045776 ne csrf_92598614231964 for client WEB_192.168.178.62_56116 / command define fhempy_local BindingsIo fhempy. For details see the csrfToken FHEMWEB attribute.
2024.04.21 20:58:30 1: ERROR evaluating { getRange(1) }: Undefined subroutine &main::getRange called at (eval 1528) line 1.

2024.04.21 20:58:30 1: ERROR evaluating { getRange(2) }: Undefined subroutine &main::getRange called at (eval 1529) line 1. ##möglicherweise anderer Fehler im Log

2024.04.21 20:58:34 1: reload: Error:Modul 10_BindingsIo deactivated:
 Can't locate Protocol/WebSocket/Frame.pm in @INC (you may need to install the Protocol::WebSocket::Frame module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueab
ihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/10_BindingsIo.pm line 10.
BEGIN failed--compilation aborted at ./FHEM/10_BindingsIo.pm line 10.

https://github.com/ntruchsess/fhem-mirror/raw/websockets/fhem/FHEM/98_websocket.pm zeigt ins Nirwana.

Hm, weiß jemand bitte Rat?

Viele Grüße

hetterich

Hallo miteinander,

super Sache!

Die Readings werden alle angezeigt und auch aktualisiert.
Jedoch bei "Set charger on/off" rührt sich gar nichts.
Das wäre aber genau das, was ich für meinen Enyaq Bj24 brauchen würde.
Im fhempy-Log sehe ich nichts, es scheint so als ob der Set-Befehl gar nicht registriert werden würde.
Das ein und ausschalten des Ladens wäre für meinen Plan der Automatisierung (Überschussladen) wichtig.

Activating virtual environment...OK
2024-04-24 10:09:48,069 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.740...
2024-04-24 10:09:48,073 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2024-04-24 10:09:48,189 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2024-04-24 10:09:50,544 - INFO     - websockets.server: connection open
2024-04-24 10:09:50,545 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2024-04-24 10:09:52,132 - INFO     - skodaconnect.connection: Unofficial Skoda Connect library, version 1.3.10
2024-04-24 10:09:52,132 - INFO     - skodaconnect.connection: Initiating new login
2024-04-24 10:09:53,544 - INFO     - skodaconnect.connection: Token for technical verified OK.
2024-04-24 10:09:54,195 - INFO     - skodaconnect.connection: Token for connect verified OK.
2024-04-24 10:09:58,007 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:09:59,396 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:10:05,602 - ERROR    - fhempy.lib.fhem: FHEM took 5971ms for readingsSingleUpdate($defs{'SkodaEnyaq'},'position','(48.79964, 11.538322, datetime.datetime(2024, 4, 22, 7, 17, 29, tzinfo=datetime.timezone.utc))',1)
2024-04-24 10:10:12,640 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T07:44:07.427Z'
2024-04-24 10:15:15,709 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:15:16,147 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T07:44:07.427Z'
2024-04-24 10:20:18,233 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:20:18,722 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T07:44:07.427Z'
2024-04-24 10:25:19,218 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:25:20,395 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T07:44:07.427Z'
2024-04-24 10:30:21,022 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:30:21,537 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T07:44:07.427Z'
2024-04-24 10:35:22,002 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:35:24,067 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T08:31:58.873Z'
2024-04-24 10:40:24,852 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:40:27,530 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T08:31:58.873Z'
2024-04-24 10:41:38,462 - ERROR    - SkodaEnyaq: Exception raised by task: <Task finished name='Task-905' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py:216> exception=AttributeError("'str' object has no attribute 'get'")>
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py", line 224, in _handle_task_result
    task.result()
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py", line 218, in _run_coro
    await coro
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 459, in set_charger
    elif action.get('action', {}) == 'chargelimit':
AttributeError: 'str' object has no attribute 'get'
2024-04-24 10:45:31,266 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:45:31,684 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T08:42:20.013Z'
2024-04-24 10:46:58,423 - ERROR    - SkodaEnyaq: Exception raised by task: <Task finished name='Task-1026' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py:216> exception=AttributeError("'str' object has no attribute 'get'")>
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py", line 224, in _handle_task_result
    task.result()
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py", line 218, in _run_coro
    await coro
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 459, in set_charger
    elif action.get('action', {}) == 'chargelimit':
AttributeError: 'str' object has no attribute 'get'
2024-04-24 10:50:33,119 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:50:34,076 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T08:42:20.013Z'
2024-04-24 10:55:35,231 - INFO     - skodaconnect.connection: Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.65, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': False, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-04-24 10:55:37,981 - ERROR    - SkodaEnyaq: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/skodaconnect/skodaconnect.py", line 285, in update_readings_once
    val_state = instrument.state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 127, in state
    val = super().state
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 58, in state
    if hasattr(self.vehicle, self.attr):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected
    last_connected = datetime.fromisoformat(last_connected_utc)
ValueError: Invalid isoformat string: '2024-04-24T08:42:20.013Z'

Weis jemand was ich da falsch mache?

Viele Grüße
Peter

hetterich

OK, attr EV_Type war nicht gesetzt.

Erst nachdem ich mir die skodaconnect.py angeschaut habe, bin ich draufgekommen.
Allerdings ist es mir ein Rätsel, warum hier ein Unterschied (ohne Attr EV set charger on/off, mit EV start/stop)
gemacht wird. Die Readings waren auch ohne das Attr EV korrekt. Nur das set ging halt nicht.
Was bringt bei nicht EV Fahrzeugen der set on/off?

Viele Grüße
Peter