J. Nick Koston

Results 1844 comments of J. Nick Koston

I changed `RequestInfo` to lazy construction. That should take care of the other one. Since they already have to adjust subclassing for `ClientRequest` we might as well do it now...

We may need to expose a public method in aiohttp for this so this library doesn't need to access the protected one

I’d probably add a note in the Home Assistant documentation that there is no encryption, so you shouldn’t rely on the sensor for secure operation

Please follow the steps to provide debug logs https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics

It looks like the device is closing the connection as soon as it attempts to verify the pairing ``` 2024-09-04 23:20:01.317 DEBUG (MainThread) [aiohomekit.controller.ip.connection] 192.128.0.69: raw request: b"POST /pair-verify HTTP/1.1\r\nHost:...

``` 2024-10-14 12:05:47.043 ERROR (MainThread) [aiohomekit.controller.ip.connection] Weather Station [192.168.86.35:5001] (id=3D:55:CE:8D:7F:C1): Unexpected error whilst trying to connect to accessory. Will retry. Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohomekit/controller/ip/connection.py", line 647, in...

Which version of `aiohappyeyeballs` do you have installed?

``` docker exec -it homeassistant /bin/bash pip3 show aiohappyeyeballs ```

Might also try moving `sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)` to the end of the function or turning it off

https://github.com/Jc2k/aiohomekit/blob/29b77e72d391d4bf0f4a3a0b17fe6ce0d2047f77/aiohomekit/controller/ip/connection.py#L611C9-L611C47 could be moved into the try https://github.com/Jc2k/aiohomekit/blob/29b77e72d391d4bf0f4a3a0b17fe6ce0d2047f77/aiohomekit/controller/ip/connection.py#L587 We probably need to add some more logging as well as its not clear whats going on. The device seems to be...