A set of tools (hacked in a day!!) to have Hue Lamps and a Raspberry PI monitoring your software and infrastructure and KPIs, the Web of Things way!
It currently support Jenkins, Pingdom and Hue out of the box.
The code is organized alongside two types of services in their respective folders: outputs and inputs. Inputs are the services you get your data from (e.g., Pingdom), Outputs the real-world services you use to display the status of your system (e.g., Hue lamps).
- Clone the repository.
npm install
- Add a
config.json
file to the root directory containing the credentials to access the inputs and outputs
{
"pingdom" : {
"url" : "",
"username" : "",
"password" : "",
"apiKey" : "",
"interval" : 30
},
"hue" : {
"url" : "",
"username" : "",
"password" : "",
"apiKey" : "",
"lampServices" : ["jenkins", "jenkinsbuild", "pingdom"]
},
"jenkins" : {
"url" : "",
"username" : "",
"password" : "",
"apiKey" : "",
"interval" : 30
},
"jenkinsbuild" : {
"url" : "",
"username" : "",
"password" : "",
"apiKey" : "",
"interval" : 30,
"watched" : ["JOB1", "JOB2", ...]
},
"evrythng" : {
"url" : "",
"apiKey" : ""
}
}
$ node statHues.js
This project was hacked in a day by a crew of devs at EVRYTHNG during one of our hackatons, it is definitely not mature neither clean but is a start!
To add an input / output service:
- Create your
*.js
file in the corresponding directory (libs/outputs
orlibs/inputs
). - Add the configuration for your service in your local
config.json
. - Add your new service to the
inputsOutputs
array instatHues.js
(we should probably remove this step!)