An ESP8266 with a green and a red button to use it as an Happiness Radar
TeamCity build is again red? Press the Red button π΄. Saw a good review? π Green button π
It supports also different locations, if you work in a team on different locations.
The ESP8266 sends a request to the backend application dependent on location and button color. The backend application will increment an internal Prometheus Counter so you can create afterwards nice charts with Grafana π
In radar.ino you have to configure following part:
const char* ssid = "foo";
const char* password = "foo";
const char* host = "192.168.42.42";
int port = 5000;
String location = "leipzig";
host is the IP of your backend app. Normally it runs on port 5000.
- NodeMCU ESP8266, CPU/WLAN
- Arcade buttons (can be found on aliexpress.com as well)
- cable for wiring up
Connect the green button to D7 and Ground. And the red button to D3 and Ground
Flash the ESP with Arduino IDE
