Amazon Echo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Philips Hue Emulator for Vera Home Automation and Harmony Hub<br> This is written for a Raspberry Pi, but could be modified for any linux platform with Java 8<br> Reference:...") |
No edit summary |
||
| Line 5: | Line 5: | ||
Reference: https://github.com/bwssytems/ha-bridge<br> | Reference: https://github.com/bwssytems/ha-bridge<br> | ||
Grab ha-bridge-W.X.Y.jar from https://github.com/bwssytems/ha-bridge/releases | Grab ha-bridge-W.X.Y.jar from https://github.com/bwssytems/ha-bridge/releases | ||
mkdir habridge && cd habridge | |||
wget https://github.com/bwssytems/ha-bridge/releases/download/v3.2.0/ha-bridge-3.2.0.jar | |||
run with (default listen on port 80) | run with (default listen on port 80) | ||
java -jar ha-bridge-W.X.Y.jar | java -jar ha-bridge-W.X.Y.jar | ||
run with (port 8080) | run with (port 8080) | ||
java -jar -Dserver.port=8080 ha-bridge-W.X.Y.jar | java -jar -Dserver.port=8080 ha-bridge-W.X.Y.jar | ||
=== Startup === | |||
nano /etc/systemd/system/habridge.service | |||
[Unit] | |||
Description=HA Bridge | |||
Wants=network.target | |||
After=network.target | |||
[Service] | |||
Type=simple | |||
ExecStart=/usr/bin/java -jar -Dconfig.file=/home/pi/habridge/data/habridge.config /home/pi/habridge/ha-bridge-3.2.0.jar | |||
[Install] | |||
WantedBy=multi-user.target | |||
sudo systemctl enable habridge.service | |||
sudo systemctl start habridge.service | |||
[[Category:Linux]] | [[Category:Linux]] | ||
Revision as of 15:47, 24 October 2016
Philips Hue Emulator for Vera Home Automation and Harmony Hub
This is written for a Raspberry Pi, but could be modified for any linux platform with Java 8
Reference: https://github.com/bwssytems/ha-bridge
Grab ha-bridge-W.X.Y.jar from https://github.com/bwssytems/ha-bridge/releases
mkdir habridge && cd habridge wget https://github.com/bwssytems/ha-bridge/releases/download/v3.2.0/ha-bridge-3.2.0.jar
run with (default listen on port 80)
java -jar ha-bridge-W.X.Y.jar
run with (port 8080)
java -jar -Dserver.port=8080 ha-bridge-W.X.Y.jar
Startup
nano /etc/systemd/system/habridge.service
[Unit] Description=HA Bridge Wants=network.target After=network.target [Service] Type=simple ExecStart=/usr/bin/java -jar -Dconfig.file=/home/pi/habridge/data/habridge.config /home/pi/habridge/ha-bridge-3.2.0.jar [Install] WantedBy=multi-user.target
sudo systemctl enable habridge.service sudo systemctl start habridge.service