Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.59 KB

Readme.md

File metadata and controls

35 lines (21 loc) · 1.59 KB

HappinessRadar

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.

Functionality

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 📊

Configuration

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.

Hardware

Connect the green button to D7 and Ground. And the red button to D3 and Ground

Wiring

Flash the ESP with Arduino IDE