Jc2k

Results 290 comments of Jc2k
trafficstars

As suspected, it looks h11 would not work for this particular HTTP dialect (directly). E.g. https://github.com/python-hyper/h11/blob/master/h11/_abnf.py#L84 This is used in a regex here (via `status_line`, defined a few lines below...

In general the dirty horrible nasty worse thing in the world HTTP parser seems to be coping with real world HAP devices. It has struggled most with homebrew non-certified HAP...

Release 0.2.51 contains a `TLVStruct` helper that can help with translating to and from a python 3.7 dataclass. It's intended for use with characterings like `.streaming-status` or `.supported-rtp-configuration`. It needs...

NM, just saw https://github.com/home-assistant/core/pull/53801 👍 But if you do need any help let me know.

I'd be interested in seeing the pairing log (with `aiohomekit: debug` in your logging config). Mostly to see if the device is returning an empty response or if its returning...

The protocol is AIUI PFS, so you don't leak your security code if we see it. Keypairs get rotated per session. And your device is (the one that looks like...

As per above, have pulled the bluetooth part out into https://github.com/home-assistant/core/pull/76549.

Ok, this is all rebased again.

Havent seen that myself, but I just bumped the parser to always return False in needs_poll if parser.pending (pending is True until it has definitely pased something).

Sometimes I have to use bluetoothctl to run `power off`, `power on`, `scan on` to unstick bluez on the host wen I get that error. However I *think* (haven't proven)...