Emulated Hue problems

Can’t remember, are you running on Raspberry Pi?

Here are steps for Raspberry Pi, you can change these to match your system. Let me know if you have any problems:

*** UPDATE *** Thanks to @xbmcnut

I had forgotten that java may not be installed already on your Raspberry Pi, so you must do the following before running:


  1. On your Raspberry Pi, make sure you are in the Pi home folder:

cd /home/pi/

  1. Then make an habridge folder:

mkdir habridge

  1. Now change to the folder and download the latest ha-bridge jar file:

    cd habridge
    wget https://github.com/bwssytems/ha-bridge/releases/download/v3.1.0/ha-bridge-3.1.0.jar

  2. I can’t remember if ha-bridge automatically creates the data folder or not, but I could have sworn it wasn’t created for me, so you an just create it yourself:

mkdir data

  1. Now you have to create the systemd service file:

nano habridge.service

  1. Then copy and paste the following:

    [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.1.0.jar

    [Install]
    WantedBy=multi-user.target

  2. Now, to save the file, hit CTRL-X, then hit Y and RETURN

  3. This step was added thanks to @xbmcnut as I forgot that Java may not already be installed on your system.

  1. Next you need to enable the systemd service so it will automatically start every time you reboot your Raspberry Pi:

sudo systemctl enable /home/pi/habridge/habridge.service

  1. Now that it is enabled, you have to start it. Since it is enabled, you don’t need the full path to run it:

sudo systemctl start habridge

  1. The default port for HA Bridge is 8080, so open your browser and go to your RPI address, port 8080:

http://[your-ip-address]:8080

4 Likes