Hello all, I am fairly new to Home Assistant (but not self-hosting or server setup) and I am struggling to find the documentation I need to help me correct my issues.
I am trying to setup the Matrix Notification Integration and I have edited my config.yaml and created a simple automation so I can test it. This is for a self-hosted Matrix server, complete with an FQDN.
When I run the automation I get the following error:
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/matrix/__init__.py", line 410, in _handle_room_send
response: Response = await self._client.room_send(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/nio/client/base_client.py", line 103, in wrapper
raise LocalProtocolError("Not logged in.")
nio.exceptions.LocalProtocolError: Not logged in.
I have verified the login credentials multiple times, then I noticed that HA is not even hitting my Matrix server. At least the Matrix server has no log of it. I can log into the Matrix server with my phone and it works without a hitch. I feel like there is something basic I am missing in my setup. Like a command to connect to the server.
Here is the relevant part of my config with info redacted:
# Matrix Server Config
matrix:
homeserver: https://<domain>
username: "@<user>:<domain>"
password: <password>
rooms:
- "#ha-control:<domain>"
- "#Assistant-Chat:<domain>"
commands:
- word: nabu
name: nabu
# End Matrix Server Config
notify:
# Matrix Notifiers
- name: matrix_chat
platform: matrix
default_room: "#Assistant-Chat:<domain>"
I’d welcome any feedback or pointers people can offer.