J. Nick Koston

Results 1828 comments of J. Nick Koston

The log you posted doesn't have debug enabled. Please follow the steps at https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging Make sure to reproduce the problem when debug logging is enabled

``` 2025-04-06 12:55:33.026 DEBUG (MainThread) [aiohomekit.controller.ip.connection] 192.168.178.68: raw request: b'PUT /characteristics HTTP/1.1\r\nHost: 192.168.178.68\r\nContent-Length: 83\r\nContent-Type: application/hap+json\r\n\r\n{"characteristics":[{"aid":141,"iid":10,"value":32},{"aid":141,"iid":9,"value":1}]}' 2025-04-06 12:55:34.150 DEBUG (MainThread) [aiohomekit.controller.ip.connection] 192.168.178.68: raw response: bytearray(b'') 2025-04-06 12:55:34.151 DEBUG (MainThread) [aiohomekit.controller.abstract] callback...

aid 141, iid 9 ``` { "type": "00000025-0000-1000-8000-0026BB765291", "iid": 9, "perms": [ "pr", "pw", "ev" ], "format": "bool", "value": true, "description": "On" }, ``` aid 141, iid 10 ``` {...

In this case you made a service call and it set the brightness to 32, and the power state to 1 (on) ``` 2025-04-06 12:55:33.026 DEBUG (MainThread) [aiohomekit.controller.ip.connection] 192.168.178.68: raw...

I don't see anything wrong with what we're sending; everything looks good to me. Maybe one of my colleagues will spot something I missed.

Maybe iOS doesn't send on if its already on You could try this patch and see if it makes a difference: ```diff diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index 5409df7c1a8..e249690c13e 100644 ---...

Doorbird support has been pretty good about escalating bugs. I'd try contacting them next. Let them know you are a developer working on the Home Assistant integration.

If the failures are transient we could wrap the api calls with https://github.com/jd/tenacity

Seems like tenacity with a backoff would be the way to go