aiohomekit
aiohomekit copied to clipboard
asyncio for homekit
https://community.home-assistant.io/t/2022-8-you-can-fix-it/446505/133?u=bdraco
The original plan was to put something like this in `pyproject.toml`: ```toml [tool.poetry.dependencies] python = "^3.9" cryptography = ">=2.9.2" commentjson = "^0.9.0" zeroconf = { version=">=0.32.0", optional=True } aiocoap =...
I optimistically put the BLE PDU code in aiohomekit/pdu.py. But how generic is it? We can move the CoAP versions for `OpCode` and `PDUStatus` to `aiohomekit.pdu` for sure. In terms...
We want the following: * https://github.com/chrysn/aiocoap/pull/270/files * https://github.com/chrysn/aiocoap/issues/271
I've got a HomePod Mini on order. I'm going to see how the Home app provisions Nanoleaf Essentials bulbs onto Apple Thread networks.
https://www.python.org/dev/peps/pep-0593/ Requires python 3.9+ which is what we are currently targetting. Example from the PEP is: ``` UnsignedShort = Annotated[int, struct2.ctype('H')] SignedChar = Annotated[int, struct2.ctype('b')] class Student(struct2.Packed): # mypy typechecks...
One of the issues fixed in #9 could have easily be prevented by not employing a roll-your-own HTTP header parsing library. While the custom framing requirements making using a full-blown...
The TLV parsing we have adopted from upstream returns a list of tuples. This means you can't do: ``` result[TLV.kTLVType_State] ``` You have to instead order the results and do:...
The HAP client should raise if the status code is outside the 200 range. It should preserve the body in the exception - for example a 400 maybe accompanied by...