SpaceState ESP
From
I wanted to see if the TkkrLab hackerspace is open on my clock. For this I used an nodeMCU with a RGB led to request the spaceapi every 10 mins and display open (green) or losed (red) status.
Contents
Resources
Parts List
- Clock
- nodeMCU v2
- 10 mm RGB LED
- 1x 1K resistor
Software
- source code for nodeMCU : https://github.com/zeno4ever/spacestatus_ESP
- Library for json processing https://bblanchon.github.io/ArduinoJson/
Steps
I used male breadboard connectors to connect everything to the nodeMCU, you can solder the RGB led directly on the wire (with one resistor on the anode (+))
The clock I have has a 6v that is connected to the Vin and GND of the nodeMCU
There are a few different types of nodemcu, check out this article for more information about these