An Internet-connected desktop clock. It shows current date and time on OLED display. It periodically requests current time and date to a time server. I use World Time API (http://worldtimeapi.org/) as a time server. I cannot guarantee how this is reliable and correct, but it is easy to get current date and time as a JSON format.
Components and Wiring
It uses the same components and wiring with @niklauslee/weather-station.
The case is modeled by Tinkercad and printed using a FDM 3D printer. You can get the original model from Tinkercad and Thingiverse.
- Tindercad: https://www.tinkercad.com/things/8WOtp1wSubT
- Thingiverse: https://www.thingiverse.com/thing:4180915
To run this project, you need to store
WIFI_PASSWORD keys in storage via Terminal as below.
> storage.setItem('WIFI_SSID', 'MyHome'); // WiFi SSID > storage.setItem('WIFI_PASSWORD', '********'); // Wi-Fi Password