mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
6a16c889f2
* [homekit] persist all known accessories, to prevent loss of homekit information See the readme for more details, but basically this keeps track of every accessory we've ever created, and if it no longer exists, presents a dummy accessory instead. If the accessory comes back, nothing is lost in the Home app; if you meant to prune it permanently, you have to run a console command. there are also several fixes to prevent presenting the device with missing data - such as when the bundle stops, _don't_ explicitly remove the accessories until the server has stopped. we also don't increment the configuration version unless the configuration has _actually_ changed (so removing and re-adding the exact same thing won't trigger the device to reconnect). this even works across restarts of the bundle, because we're persisting all the accessory information for dummy information anyway. * [homekit] Address review comments for accessory persistence * update hap-java to 2.0.4 * remove unused local variable * [homekit] ensure accessories are replaced in a batch so that HAP-Java can maintain subscriptions with the new objects * [homekit] log individual dummy accessories up to 5 * [homekit] Tweak readme for dummy accessories slightly. * Be consistent with proper usage of useDummyAccessories. * Make the sentence more clear about the effects of having dummy accessories. Signed-off-by: Cody Cutrer <cody@cutrer.us>
108 lines
3.3 KiB
XML
108 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.openhab.addons.bundles</groupId>
|
|
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
|
|
<version>3.4.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>org.openhab.io.homekit</artifactId>
|
|
|
|
<name>openHAB Add-ons :: Bundles :: IO :: Homekit</name>
|
|
|
|
<properties>
|
|
<dep.noembedding>javax.json,javax.json-api,netty-common,netty-buffer,netty-transport,netty-handler,netty-codec,netty-codec-http,netty-resolver</dep.noembedding>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.github.hap-java</groupId>
|
|
<artifactId>hap</artifactId>
|
|
<version>2.0.4</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.json</artifactId>
|
|
<version>1.0.4</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.json</groupId>
|
|
<artifactId>javax.json-api</artifactId>
|
|
<version>1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-common</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-buffer</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-handler</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-http</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-resolver</artifactId>
|
|
<version>${netty.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nimbusds</groupId>
|
|
<artifactId>srp6a</artifactId>
|
|
<version>1.5.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.vrallev.ecc</groupId>
|
|
<artifactId>ecc-25519-java</artifactId>
|
|
<version>1.0.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.51</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.zeromq</groupId>
|
|
<artifactId>curve25519-java</artifactId>
|
|
<version>0.1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|