mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9e09851ee | ||
|
|
d57bfec7ba | ||
|
|
483b165f2a | ||
|
|
e2969c1a49 | ||
|
|
c99777efe7 | ||
|
|
8363d4c78c | ||
|
|
e015bca721 | ||
|
|
3b5eea0dce | ||
|
|
25e8b3f24f |
@@ -161,7 +161,7 @@ pi@raspberrypi:~ $ docker run \
|
|||||||
--volume=$PWD:/ha-bridge/data \
|
--volume=$PWD:/ha-bridge/data \
|
||||||
--volume=/etc/localtime:/etc/localtime:ro \
|
--volume=/etc/localtime:/etc/localtime:ro \
|
||||||
--volume=/etc/timezone:/etc/timezone:ro \
|
--volume=/etc/timezone:/etc/timezone:ro \
|
||||||
habridge/ha-bridge-raspberry-pi3 \
|
habridge/ha-bridge-raspberrypi3 \
|
||||||
-Dserver.port=8080 \
|
-Dserver.port=8080 \
|
||||||
-Dsecurity.key=secret
|
-Dsecurity.key=secret
|
||||||
```
|
```
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.bwssystems.HABridge</groupId>
|
<groupId>com.bwssystems.HABridge</groupId>
|
||||||
<artifactId>ha-bridge</artifactId>
|
<artifactId>ha-bridge</artifactId>
|
||||||
<version>5.4.1RC1-java11</version>
|
<version>5.4.1-java11</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>HA Bridge</name>
|
<name>HA Bridge</name>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
<artifactId>httpclient</artifactId>
|
<artifactId>httpclient</artifactId>
|
||||||
<version>4.5.1</version>
|
<version>4.5.13</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import com.google.gson.Gson;
|
|||||||
|
|
||||||
public class DomoticzHandler {
|
public class DomoticzHandler {
|
||||||
private static final Logger log = LoggerFactory.getLogger(DomoticzHandler.class);
|
private static final Logger log = LoggerFactory.getLogger(DomoticzHandler.class);
|
||||||
private static final String GET_REQUEST = "/json.htm?type=";
|
private static final String GET_REQUEST = "/json.htm?type=command¶m=";
|
||||||
private static final String DEVICES_TYPE = "devices";
|
private static final String DEVICES_TYPE = "getdevices";
|
||||||
private static final String SCENES_TYPE = "scenes";
|
private static final String SCENES_TYPE = "scenes";
|
||||||
private static final String FILTER_USED = "&used=true";
|
private static final String FILTER_USED = "&used=true";
|
||||||
private NamedIP domoticzAddress;
|
private NamedIP domoticzAddress;
|
||||||
|
|||||||
Reference in New Issue
Block a user