ocpp icon indicating copy to clipboard operation
ocpp copied to clipboard

ABB Tera AC w22-T-R-O - all entities are 'unavailable'

Open NiiiYaa opened this issue 1 year ago • 4 comments

Hello,

I have a charging unit ABB Tera AC w22-T-R-O.

I'm trying to connect it to my Home Assistant Via the HACS OCPP integration.

  • HA version - Core: 2024.9.0 | Supervisor: 2024.08.0 | Operating System: 13.1
  • Version of the custom_component OCPP- v0.5.9
  • No YAML configuration was added/created.

After following the documentation steps/instructions, a new integration was added: image image

Accordingly, 2 device were added: image

The 'central' device has no entities: image

The abb device has 52 entities, which all of those (expect one) are grayed-out (unavailable): image

image

I cannot find any error logs related to this...

What do I do wrong? Can someone kindly please assist me

Thank you in advance, N

NiiiYaa avatar Sep 06 '24 06:09 NiiiYaa

Not sure if it's only ABB related, but after upgrading HA to 2024.9.0 mine w11 stopped working. image

juri-antonov avatar Sep 06 '24 08:09 juri-antonov

I suspect it is related to #1275. At least that was an issue with my charger. Fortunately, there is a fix and its submitted: #1292. We have to wait a bit for review process to get it sorted out.

If you want to test it, you could use this branch: https://github.com/rinigus/ha-ocpp/tree/config-autodetect-measurands Note that this branch has also updated documentation regarding ABB chargers. Please read it first.

Until the fix is applied, I would suggest to switch off the charger or connect it somewhere else. If it is the same issue as #1275, your charger would be bootloop'ing otherwise.

rinigus avatar Sep 06 '24 10:09 rinigus

Not sure if it's only ABB related, but after upgrading HA to 2024.9.0 mine w11 stopped working. image

This seems to unrelated to HA update, WIFI connection issue.

juri-antonov avatar Sep 06 '24 10:09 juri-antonov

Please test with the latest OCPP version (0.5.11) and follow instructions at https://home-assistant-ocpp.readthedocs.io/en/latest/supported-devices.html under ABB subsection. I hope your issue is fixed.

rinigus avatar Sep 09 '24 19:09 rinigus

Stale issue message

github-actions[bot] avatar Nov 09 '24 06:11 github-actions[bot]

Please test with the latest OCPP version (0.5.11) and follow instructions at https://home-assistant-ocpp.readthedocs.io/en/latest/supported-devices.html under ABB subsection. I hope your issue is fixed.

The workarounds described in the link worked for me. Charger firmware V1.8.21 and OCPP v0.5.14

ksga avatar Nov 13 '24 10:11 ksga

The workaround with disable automatic measureands works somewhat for me as well.. It does, however, often give me the "StartupOfTheDevice" notification. Today it stopped reporting back and I saw the following in my logs.

Firmware 1.8.21 as well

` 2024-11-15 22:44:53.858 INFO (MainThread) [websockets.server] connection closed 2024-11-15 22:44:53.859 DEBUG (MainThread) [websockets.server] = connection is CLOSED 2024-11-15 22:44:53.869 DEBUG (MainThread) [websockets.server] = connection is CONNECTING 2024-11-15 22:45:00.821 DEBUG (MainThread) [websockets.server] ! invalid handshake Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/websockets/legacy/server.py", line 288, in read_http_request path, headers = await read_request(self.reader) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/websockets/legacy/http.py", line 81, in read_request raise ValueError(f"invalid HTTP request line: {d(request_line)}") from None ValueError: invalid HTTP request line: \x81\xfe\xe2abcd:PODCRS]QSV\CNCF,FMBF

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/websockets/legacy/server.py", line 171, in handler await self.handshake( File "/usr/local/lib/python3.12/site-packages/websockets/legacy/server.py", line 591, in handshake path, request_headers = await self.read_http_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/websockets/legacy/server.py", line 292, in read_http_request raise InvalidMessage("did not receive a valid HTTP request") from exc websockets.legacy.exceptions.InvalidMessage: did not receive a valid HTTP request 2024-11-15 22:45:00.824 DEBUG (MainThread) [websockets.server] > HTTP/1.1 400 Bad Request 2024-11-15 22:45:00.825 DEBUG (MainThread) [websockets.server] > Date: Fri, 15 Nov 2024 21:45:00 GMT 2024-11-15 22:45:00.825 DEBUG (MainThread) [websockets.server] > Server: Python/3.12 websockets/13.1 2024-11-15 22:45:00.825 DEBUG (MainThread) [websockets.server] > Content-Length: 157 2024-11-15 22:45:00.826 DEBUG (MainThread) [websockets.server] > Content-Type: text/plain 2024-11-15 22:45:00.826 DEBUG (MainThread) [websockets.server] > Connection: close 2024-11-15 22:45:00.826 DEBUG (MainThread) [websockets.server] > [body] (157 bytes) 2024-11-15 22:45:00.828 INFO (MainThread) [websockets.server] connection rejected (400 Bad Request) 2024-11-15 22:45:00.829 DEBUG (MainThread) [websockets.server] x closing TCP connection 2024-11-15 22:45:00.829 DEBUG (MainThread) [websockets.server] = connection is CLOSED 2024-11-15 22:45:00.831 INFO (MainThread) [websockets.server] connection closed 2024-11-15 22:45:00.858 DEBUG (MainThread) [websockets.server] = connection is CONNECTING `

oh-c avatar Nov 15 '24 22:11 oh-c

Stale issue message

github-actions[bot] avatar Jan 15 '25 06:01 github-actions[bot]