Changes your light bulb color depending on the build status of your project. Built on top of Google FireBase, ESP8266 and Phillips Hue. Currently, it only integrates with BitBucket Pipelines, but soon other CI platforms will follow.
- Install Arduino 1.6.10
- Install Arduino ESP8266 core
- Download FirebaseArduino library
- Start Arduino
- Click
Sketch > Include Library > Add .ZIP Library... - Choose
firebase-arduino-master.zipdownloaded in step3.
- Create a new FireBase project.
- Create a new hierarchy
build-status > YOUR_REPO > successwith the valuetrueorfalse. - Configure the access mentioned below.
- Obtain a FireBase access key from the control panel.
{
"rules": {
"build-status":
{
".read": true,
".write": "auth != null"
},
".read": "auth != null",
".write": "auth != null"
}
}Checkout following readme according to your platform:
- Start Arduino
- Open
hue-build-status.ino - Replace
WIFI_SSIDandWIFI_PASSWORDwith WiFi credentials - Replace
FIREBASE_HOSTandFIREBASE_PATHaccording toYOUR_REPOand project ID from your FireBase configuration - Replace
HUB_IPandLAMP_IDaccording to your home Hue setup - Obtain a
USER_IDfrom your Hue API panel. For more info checkout Phillips developer docs. - Select the board
Board > ESP8266 Modules > NodeMCU 1.0 - Select the serial port
Port > /dev/tty... - Select the upload speed
Upload Speed > 115200 - Click
Sketch > Upload