Buildwatch
Buildwatch | |
---|---|
founder: | jirka-v |
depends on: | |
interested: | |
software license: | - |
hardware license: | - |
~~META: status = done &relation firstimage = :project:buildwatch-logo-small.png ~~
Purpose of the project is to create a device that shows status of the last build performed on continuous integration server. This sort of devices is called “extreme feedback device” and while many such devices can be found on the web (lava lamps, lights with batman-sign, ambient orbs, water fountains,…) they all seemed to be complicated or expensive.
another extreme feedback devices:
- DIYOrb https://weblogs.java.net/blog/kohsuke/archive/2006/11/diyorb_my_own_e.html - probably most close to the intended device
requirements:
- show at least 3 colors (everything OK, failing tests, compilation errors)
- glowing effect when tests are failing or compilation error occurs - nobody can take color blindness as excuse then.
- device cannot be connected to the network directly but can be attached to Windows PC that may run 24/7.
- make it simple (and not expensive)
realization:
Device is connected to the PC that periodically runs powershell script. Script gets build results from Jenkins CI via REST API and sends signal to the arduino.
hw:
- 1x arduino nano
- 1x translucent container (I used small food box)
- 2x mini breadboard
- 4x 150R resistor
- 2x 100R resistor
- 2x choc-ice stick
- paper for lamp shade
- scotch tape
- wires
Note: I tried LEDs with higner luminous intensity (100000 mcd) and narrower viewing angle (15°) but overall result is better with weaker LEDs (400 mcd) that have wider viewing angle (150°).
sw:
https://github.com/jiri-vinarek/buildwatch
thx: