Skip to content

add integration, this Messages appers: %key:common::config_flow::error::cannot_connect% #83

@deepsee1

Description

@deepsee1

Hello DeerMaximum,

I have a new installation of homeassist and I get this error "%key:common::config_flow::error::cannot_connect%" when I try to connect the plugin to CIM
Homeassist Version :
Core 2025.1.4
Supervisor 2024.12.3
Operating System 14.2
Frontend 20250109.2

COE to Http-Plugin:
2.1.4

Technische Alternative COE-Plugin:
V1.5.3

Technische Alternative CIM:
CMI034145
V1.43.4 - B1.08 - H4.00

Log-File from COE-HTTP Server

02.02.25-11:04:04 DEBUG coeserver_v1(44): Received new CAN-Message: b'6\x014\x02\x00\x00\x00\x00\x00\x00\n\x00\x00\x00'
02.02.25-11:04:04 DEBUG coeserver_v1(48): Parsed message: Analog(Node: 54, Page: 1, IP: 192.168.0.202, Content: ((56.4, 10), (0.0, 0), (0.0, 0), (0.0, 0)))
02.02.25-11:09:04 DEBUG coeserver_v1(44): Received new CAN-Message: b'6\x014\x02\x00\x00\x00\x00\x00\x00\n\x00\x00\x00'
02.02.25-11:09:04 DEBUG coeserver_v1(48): Parsed message: Analog(Node: 54, Page: 1, IP: 192.168.0.202, Content: ((56.4, 10), (0.0, 0), (0.0, 0), (0.0, 0)))
02.02.25-11:14:04 DEBUG coeserver_v1(44): Received new CAN-Message: b'6\x017\x02\x00\x00\x00\x00\x00\x00\n\x00\x00\x00'
02.02.25-11:14:04 DEBUG coeserver_v1(48): Parsed message: Analog(Node: 54, Page: 1, IP: 192.168.0.202, Content: ((56.7, 10), (0.0, 0), (0.0, 0), (0.0, 0)))
02.02.25-11:19:04 DEBUG coeserver_v1(44): Received new CAN-Message: b'6\x017\x02\x00\x00\x00\x00\x00\x00\n\x00\x00\x00'
02.02.25-11:19:04 DEBUG coeserver_v1(48): Parsed message: Analog(Node: 54, Page: 1, IP: 192.168.0.202, Content: ((56.7, 10), (0.0, 0), (0.0, 0), (0.0, 0)))

it looks like the COE http server is receiving data from the CMI

Log from /config/home-assistant.log
025-02-02 10:20:06.171 ERROR (MainThread) [custom_components.ta_coe] Unexpected exception: Invalid credentials
Traceback (most recent call last):
File "/config/custom_components/ta_coe/config_flow.py", line 108, in async_step_user
await coe.get_server_version()
File "/usr/local/lib/python3.13/site-packages/ta_cmi/coe.py", line 98, in get_server_version
await self.check_version()
File "/usr/local/lib/python3.13/site-packages/ta_cmi/coe.py", line 25, in check_version
ver = await self._api.get_coe_version()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/ta_cmi/coe_api.py", line 59, in get_coe_version
data = await self._make_request_get(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/ta_cmi/api.py", line 29, in _make_request_get
return self.parse_json(await self._make_request_no_json(url))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/ta_cmi/api.py", line 55, in _make_request_no_json
raise InvalidCredentialsError("Invalid credentials")
ta_cmi.api.InvalidCredentialsError: Invalid credentials

Regards

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions