Seite 89 von 102

Re: Support: EVCC

Verfasst: Sa Mai 18, 2024 7:26 am
von Bubbagump
Nissan hat die API geändert, siehe

https://github.com/evcc-io/evcc/issues/13941

Re: Support: EVCC

Verfasst: Sa Mai 18, 2024 10:36 am
von andig
Nissan soeben behoben, in 10min sollte es wieder klappen.

Re: Support: EVCC

Verfasst: Sa Mai 18, 2024 2:00 pm
von Oeffly
leider auch bei Audi und VW bekome gerade auch keine SOC bei der OpenWB angezeigt.....

Version 2.1.4. Beta 2 und auch nun RC2

folgende Log-Eintrag:

Code: Alles auswählen


2024-05-18 16:41:03,486 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc.RpcError'> (<_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "vehicle not available"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-05-18T16:41:03.482144813+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>,), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 71, in fetch_soc
    response = stub.SoC(
  File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "vehicle not available"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-05-18T16:41:03.482144813+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
    return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
  File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 86, in fetch_soc
    raise grpc.RpcError(rpc_error)
grpc.RpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "vehicle not available"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-05-18T16:41:03.482144813+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>

2024-05-18 16:41:04,802 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev2} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc.RpcError'> (<_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "vehicle not available"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-05-18T16:41:04.796329376+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>,), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 71, in fetch_soc
    response = stub.SoC(
  File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "vehicle not available"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-05-18T16:41:04.796329376+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
    return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
  File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 86, in fetch_soc
    raise grpc.RpcError(rpc_error)
grpc.RpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "vehicle not available"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-05-18T16:41:04.796329376+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>


Re: Support: EVCC

Verfasst: So Mai 19, 2024 9:04 am
von andig
Mhhm. Bitte mal im Forum einen Thread eröffnen und mrhinas mit rein nehmen. Bei mir geht das mit der Cloud:

Code: Alles auswählen

gor main.go vehicle --log trace,db:error --log-headers -c cfg/audi.yaml
[main  ] INFO 2024/05/19 11:03:21 evcc 0.0.0
[main  ] INFO 2024/05/19 11:03:21 using config file: cfg/audi.yaml
Soc:      30%
Capacity: 0.0kWh
Features: []

Re: Support: EVCC

Verfasst: So Mai 19, 2024 11:18 am
von Bubbagump
andig hat geschrieben: Sa Mai 18, 2024 10:36 am Nissan soeben behoben, in 10min sollte es wieder klappen.
kann ich bestätigen, allerdings erst nachdem ich zum zweiten Mal in einer Woche evcc erneut als SOC Modul gespeichert habe und zuvor ein anderes Modul kurz ausgewählt hatte.

SoC-modul "EVCC" Wert wird mit 0% angezeigt

Verfasst: So Mai 19, 2024 1:14 pm
von Oeffly
hallo,

eit gestern Mittag ca. 12 Uhr wir der SOC von denn Autos was über Evcc ausgelesen wird nicht mehr angezeigt. Die Autos haben eine SoC von 0%.
in der App wird der richtige Wert angezeigt.

Version 2.1.4. Beta 2 und auch nun RC2

Log:

2024-05-19 14:55:05,846 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev2} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc.RpcError'> (<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-05-19T14:55:05.839882092+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>,), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 71, in fetch_soc
response = stub.SoC(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-05-19T14:55:05.839882092+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 86, in fetch_soc
raise grpc.RpcError(rpc_error)
grpc.RpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-05-19T14:55:05.839882092+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>

2024-05-19 15:03:23,663 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc._channel._InactiveRpcError'> (<grpc._channel._RPCState object at 0x6ec4ee50>,), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 57, in fetch_soc
vehicle_to_fetch = create_vehicle(evcc_config, stub)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 33, in create_vehicle
response = stub.New(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "token is malformed: token contains an invalid number of segments"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-05-19T15:03:23.654680059+02:00", grpc_status:2, grpc_message:"token is malformed: token contains an invalid number of segments"}"
>

2024-05-19 15:03:24,942 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev2} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc.RpcError'> (<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"vehicle not available", grpc_status:2, created_time:"2024-05-19T15:03:24.937276108+02:00"}"
>,), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 71, in fetch_soc
response = stub.SoC(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"vehicle not available", grpc_status:2, created_time:"2024-05-19T15:03:24.937276108+02:00"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 86, in fetch_soc
raise grpc.RpcError(rpc_error)
grpc.RpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"vehicle not available", grpc_status:2, created_time:"2024-05-19T15:03:24.937276108+02:00"}"
>
2024-05-19_15h10_34.png
2024-05-19_15h10_34.png (8.96 KiB) 910 mal betrachtet

Re: Support: EVCC

Verfasst: So Mai 19, 2024 1:15 pm
von Oeffly
andig hat geschrieben: So Mai 19, 2024 9:04 am Mhhm. Bitte mal im Forum einen Thread eröffnen und mrhinas mit rein nehmen. Bei mir geht das mit der Cloud:

Code: Alles auswählen

gor main.go vehicle --log trace,db:error --log-headers -c cfg/audi.yaml
[main  ] INFO 2024/05/19 11:03:21 evcc 0.0.0
[main  ] INFO 2024/05/19 11:03:21 using config file: cfg/audi.yaml
Soc:      30%
Capacity: 0.0kWh
Features: []
okay... hab mal ein Software 2.0 einen Thread erstellt. Wie nehme ich jemanden dazu?

Re: Support: EVCC

Verfasst: So Mai 19, 2024 2:11 pm
von andig
ping @mrhinas

Re: Support: EVCC

Verfasst: Mo Mai 20, 2024 8:41 am
von ruffieuxh
Hallo zusammen,

In welchem Logfile stehen eigentlich die Meldungen vom EVCC? Auch im openwb.log file?

Ich habe derzeit mit meinem Mustang Mach-e das gleiche Problem (0% SoC) aber mit der 1.9er SW.

Schöne Grüsse

Heinz

Re: Support: EVCC

Verfasst: Mo Mai 20, 2024 8:53 am
von rleidner
ruffieuxh hat geschrieben: Mo Mai 20, 2024 8:41 am Hallo zusammen,

In welchem Logfile stehen eigentlich die Meldungen vom EVCC? Auch im openwb.log file?

Ich habe derzeit mit meinem Mustang Mach-e das gleiche Problem (0% SoC) aber mit der 1.9er SW.

Schöne Grüsse

Heinz
sollte im "EV SoC-Log" sein.