Close
0%
0%

How to use your Milight lights with Google Home.

Also works for LimitlessLED, EasyBulb and Milight lights.

Similar projects worth following
Install milights-bridge on a Raspberry Pi to make your Milight lights compatible with the Google Home. This allows you to ask things like "Hey Google. Turn on living". Easy tutorial!

In this project, we will install the milights-bridge and ha-bridge on a Raspberry Pi. This will allow us to emulate Hue lights, when actually they are Milight/EasyBulb/LimitlessLED lights.


Once everything is set up, Google Home will recognise your lights as Hue lights, allowing you to use them with the Google Home.


As an additional extra, the miights-bridge comes with extra features such as

  • A visual remote control that works on any device (just browse to the web page)
  • A wake up light (set up the lights in a particular zone to gradually turn on at a specific time, to wake you up)
  • A disco mode (-disclaimer: does not yet work in this version, but it will in a few weeks) that changes your light's colours depending on the rhythm of the songs
  • A mood mode, allowing you to switch between two colours gradually until turned off
  • An API, that allows you to make your own widgets controlling your lights (for example, a turn on shortcut on your Android device)

  • 1
    Step 1

    Set up your Raspberry Pi. Open a command line, or open an SSH terminal.

  • 2
    Step 2

    Move into a directory you want to install the milights-bridge inside.

    cd ./scripts/
  • 3
    Step 3

    Install milights-bridge

    Clone the milights-bridge project from GitHub.

    sudo git clone https://github.com/KevinVR/milights-bridge.git

    Get into the milights-bridge folder

    cd ./milights-bridge/

    Ensure NodeJS and NPM are installed. If unsure, run the following commands.

    sudo apt-get update
    sudo apt-get install nodejs
    sudo apt-get install npm

    Install the required dependencies (make sure you have NPM installed)

    sudo npm install
    Copy the example configuration file.
    sudo cp config.example.js config.js
    Modify the configuration to suit your needs, follow the instructions within the file.
    sudo vi config.js 

    or

    sudo nano config.js
    Turn on the Milights-Bridge software
    sudo node server.js
    You should see some output from the command line, such as:
    Setting up EJS...
    Initialising Milight bridge connection (version v6)
    Checking for updates...
    Setting up port 3000
    milights-bridge is ready, please open your browser at http://192.168.1.60:3000

    Open a browser page to the URL shown in the output.

    http://192.168.1.60:3000
    Test out the milights-bridge features, ensure it works

View all 8 instructions

Enjoy this project?

Share

Discussions

joey wrote 12/15/2018 at 16:00 point

I've got a problem. It seems that i have configured everything right. Somehow the buttons on the webinterface do nothing.. I don't see the lights go on or off. I do see the logging in the SSH console which does reply the buttons i click.. Via the milight app it does work..

  Are you sure? yes | no

jobsmit1997 wrote 11/29/2018 at 22:58 point

ik kom er niet uit kan iemand mischien een video op youtube zetten

  Are you sure? yes | no

Erwin wrote 09/13/2018 at 18:18 point

I get the web interface working, but when I try to add the hue on the Google Home is says There are no bridges on your network.

  Are you sure? yes | no

joey wrote 12/15/2018 at 16:01 point

Hi Erwin, where did u configured the milight wifi ibox? I guess i'll mis that somewhere. In HA-Bridge somewhere?

  Are you sure? yes | no

dimple007 wrote 10/21/2017 at 11:11 point

Hey,

Thanks for a very clear tutorial, on my RPI + milight setup i run into three problems though 

1. the @reboot forever implementation does not seem to work, i guess a systemctl solution would solve this ?

2. the interface of the HA bridge has changed and it's not very clear how your settings fit into the new config fields, but got it to work eventually.

3. i cannot find the miight in home assistant. i've read on some sites, this is due to the update by google of the GA software. Can you comment if this is the problem with your setup as well, of if it should still work and i should keep looking to get it to work

thanks!

DimPle

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates