Amazon Echo

From Hurlster Wiki
Revision as of 15:47, 24 October 2016 by Gqwill69 (talk | contribs)
Jump to navigation Jump to search

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