example
desktop-clock
An Internet-connected desktop clock
2900kameleon-core
clocktimedesktop
README.md

Overview

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.

1582691861803.jpg

1582691869457.jpg

Components and Wiring

It uses the same components and wiring with @niklauslee/weather-station.

Assembly

The case is modeled by Tinkercad and printed using a FDM 3D printer. You can get the original model from Tinkercad and Thingiverse.

1582691892599.png

Setup

To run this project, you need to store WIFI_SSID, WIFI_PASSWORD keys in storage via Terminal as below.

> storage.setItem('WIFI_SSID', 'MyHome'); // WiFi SSID
> storage.setItem('WIFI_PASSWORD', '********'); // Wi-Fi Password