Skip to content

update to latest commit#1

Merged
jdsnape merged 248 commits intojdsnape:masterfrom
ikalchev:dev
Apr 18, 2020
Merged

update to latest commit#1
jdsnape merged 248 commits intojdsnape:masterfrom
ikalchev:dev

Conversation

@jdsnape
Copy link
Copy Markdown
Owner

@jdsnape jdsnape commented Apr 18, 2020

No description provided.

ikalchev and others added 30 commits February 14, 2018 00:26
This change introduces the AccessoryEncoder interface, which an
AccessoryDriver can use to store and load the state of an Accessory. To
recall, the state contains the accessory public and private keys, the
public key and UUID of all paired clients, etc. and it is needed to
support the correct operation of the Accessory after a restart.

The default encoder - AccessoryEncoder, stores the minimum required
state in a json format. The encoder can be changed by passing a
different encoder instance to the AccessoryDriver.

Impact on existing users: If you have a "*.pickle" accessory state and
do nothing, what will probably happen is that your code will correctly
unpickle right after the upgrade to version 1.1.2. On the next restart,
however, the code will crash, as the AccessryDriver will have overriden
the pickle with a non-pickle state representation. At this point, just
don't unpickle as shown in main.py. Alternatively, run
pickle_to_state.py to convert your state.
Bugfix: Changed CurrentTemperature default min/max values
Accessory.publish and Characteristic.notify should not fail when the
broker is not set. This is to allow updates to happen before the
Accessory is added to a driver or the Characteristic is added to an
Accessory.
But it doesn't appear to work.
But still not finding the accessory when scanning.
Add accessory to control Mac display status.
Issue #24 - Initial X-HM:// URI and QR Setup Code work
Fixed encoded_payload rjust
..., persist_state='~/.foo_bar.state')
Also bump version to 1.1.4. This change will be uploaded to pypi, so
users can install/upgrade and use the new QR setup code functionality
and dynamic generation of setup ID and pincode.
This is useful when both you and clients can update the value of a
Characteristic and you want your callback called only when clients
update the value.
sanvd0000 and others added 29 commits December 7, 2019 15:02
RPI 3b+ relay module via GPIO pins
Clients that made the characteristic change are NOT supposed to get
events
about the characteristic change as it can cause an unexpected HTTP
disconnect (connection
reset by peer) which leads temporary unresponsive accessories and
violates the HAP spec
Homekit needs the headers and content sent
in a single write call or it will randomly
get connection reset by peer which leads
to iOS stalling and devices showing up
as non-responsive.

Without HTTP/1.1 keep-alives, 50+ devices
would cause a bridge to timeout or devices
to go non-responsive because homekit would
have to make a new connection to get / put
for each device.  With HTTP/1.1 it can avoid
all of this overhead

After this change, devices in homekit on
the bridges with > 80 devices were
now immediately responsive in testing.
Add support for HTTP/1.1 and random non-responsive devices #197
Fix multiple responses that are missing end_response
…t_addr

Ensure events are not sent to the initiator client
For some services we want to send all the char value
changes at once.  This resolves an issue where we send
ON and then BRIGHTNESS and the light would go to 100%
and then dim to the brightness because each callback
would only send one char at a time.
Switch to cryptography to resolve performance concerns.
* Fix typo in camera method

* Use random ssrcs in camera

* Add v_ssrc to camera session

* Unpack v_ssrc in camera start stream

* Rename audio_srtp_key in camera session
Make service callbacks handle multiple aids
@jdsnape jdsnape merged commit 736aa1c into jdsnape:master Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.