A decimal clock on a 64x16 LED Matrix and a DHT11 temperature and humidity sensor. Applicable for ESP8266 boards (like NodeMCU). The current time is gathered via NTP. Contains work of other persons, see each file for more information.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Visit my webpage! (images etc.)



SmartMirror is a DIY project. Basically it is an LED-Matrix of 64x16 placed behind a translucent mirror. It is powered by a NodeMCU chip, so it has WiFi capabilities. It can show the time in some special decimal form (where the day has 10 hours, a hour 100 minutes and a minute 100 seconds) but a normal 24-hour format is also possible. A DHT11 temperature and humidity sensor provides ambient values. Through implementation of a simple HTTP server, the mirror can react to GET requests. It gathers the current time via NTP (thus it needs to be connected to the Internet).

Required libraries:

GET request modes

/clock10Shows the clock in decimal mode.
/clock24Shows the clock in 24-hour format.
/temperatureReturns the temperature.
/humidityReturns the humidity.
/disableShuts off the display (but continues to respond to requests).
/enableTurns the display on.
/text?Shows text on the screen.
style=[ marquee | rightbound | leftbound | center ], default is marquee
In case of marquee: direction=[ right | left ], default is left; speed=THE HIGHER, THE SLOWER

Parts list