- Control lights (Hue)
- On/Off
- Color
- Brightness
- Set TV channel (Sync box)
- Control heat pump (Phillips Comfort Cloud)
- Temperature
- Mode
- Fan speed
- Clone the project.
git clone [email protected]:imp-dance/hue-remix-testing.git
- Alternatively, download the project source directly through Github
- Navigate into the project.
cd hue-remix-testing
- Start the dev server.
npm run dev
You will need to pair your device(s) before opening the root route.
- Create a
.env
file in the root of the project. - Install the dependencies
npm i
- Launch the dev server.
npm run dev
The terminal will show you the localhost url for the project. - Navigate to the
localhost:<port>/connect
route.
- Open up the Hue app on your phone.
- Go to the settings menu in the app.
- Go to Hue Bridges.
- Select your bridge. The ip address of the bridge will show.
- Open up the Hue Sync app on your phone.
- Go to the settings menu in the app.
- Go to sync boxes
- Select your sync box. The ip address of the sync box will show.
- Enter the IP of your bridge into the relevant input on the
/connect
route. - Go to your physical hue bridge device. Click the sync button and hold it down for just a couple of seconds.
- Click Sync with Bridge.
- Copy the credentials into your
.env
file as prompted.
- Enter the IP of your sync box into the relevant input on the
/connect
route. - Go to your physical sync box device. Hold down the main button for 5 seconds until it blinks.
- Click Sync with sync Box.
- Copy the credentials into your
.env
file as prompted.
To host the website on your local network, run the dev command with the --host
flag, and optionally the --port [port]
flag to specify which port you want to expose.