Hello everybody, I hope you are doing well !
My Name is Jérôme, English is not my native language so feel free to ask me for more details if I’m unclear.
I have a lot my Mysa thermostats at home, they are all working perfectly. However, one of them is having trouble to record temperature and humidity.
Sometime it works, then stops working for a couple of hours, then works again.
I’m running Home Assistant in Docker on Debian.
Here is a screenshot of the temperature recordings :
And here is a log when the crash happen :
Logger: aiohomekit.utils
Source: /usr/local/lib/python3.13/site-packages/aiohomekit/utils.py:45
First occurred: 2:36:43 AM (1 occurrence)
Last logged: 2:36:43 AM
Failure running background task: Task-207129
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohomekit/utils.py", line 40, in _handle_task_result
task.result()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/pairing.py", line 451, in _process_config_changed
await self.list_accessories_and_characteristics()
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/pairing.py", line 211, in list_accessories_and_characteristics
response = await self.connection.get_json("/accessories")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/connection.py", line 376, in get_json
response = await self.get(target)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/connection.py", line 370, in get
return await self.request(
^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/connection.py", line 520, in request
resp = await self.protocol.send_bytes(request_bytes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/connection.py", line 204, in send_bytes
return await self._send_lines(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohomekit/controller/ip/connection.py", line 127, in _send_lines
return await result
^^^^^^^^^^^^
aiohomekit.exceptions.AccessoryDisconnectedError: Connection closed
Again, it’s only one of the Mysas, all the other one are working perfectly fine.
Thank you a lot in advance for your help and have a wonderfull day !
Jérôme.



