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.zip
downloaded in step3.
- Create a new FireBase project.
- Create a new hierarchy
build-status > YOUR_REPO > success
with the valuetrue
orfalse
. - 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_SSID
andWIFI_PASSWORD
with WiFi credentials - Replace
FIREBASE_HOST
andFIREBASE_PATH
according toYOUR_REPO
and project ID from your FireBase configuration - Replace
HUB_IP
andLAMP_ID
according to your home Hue setup - Obtain a
USER_ID
from 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