Jc2k

Results 34 issues of Jc2k

https://github.com/Jc2k/aiohomekit/pull/67/files

BLE

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...

CoAP
BLE

We want the following: * https://github.com/chrysn/aiocoap/pull/270/files * https://github.com/chrysn/aiocoap/issues/271

CoAP

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...

enhancement

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:...

help wanted

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...

help wanted

## Proposed change Add support for the MiFlora battery sensor. Unlike the other sensors, we cannot collect this passively. We only poll it once a day to conserve battery use....

cla-signed
new-feature
has-tests
by-code-owner
integration: bluetooth
integration: xiaomi_ble

## Problem I'd ultimately like to expose metrics to prometheus from most of my operators so having a blessed way to do it via the built in kopf aiohttp server...

enhancement

Hi! I have a few questions about resume handlers: * Are there any guarantees about call order with `.on.resume` vs update and create? * Will resume get called always, or...

question