{"id":21223885,"url":"https://github.com/niklauslee/web-clock","last_synced_at":"2026-03-14T09:38:47.815Z","repository":{"id":77037349,"uuid":"482700141","full_name":"niklauslee/web-clock","owner":"niklauslee","description":"A clock device reading time from web.","archived":false,"fork":false,"pushed_at":"2022-04-18T03:36:08.000Z","size":337,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T13:38:47.054Z","etag":null,"topics":["clock","kaluma","raspberry-pi-pico","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niklauslee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-18T03:19:51.000Z","updated_at":"2024-05-01T15:08:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"76dd6c70-39cd-45c2-aacd-2e782ecf35f0","html_url":"https://github.com/niklauslee/web-clock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklauslee%2Fweb-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklauslee%2Fweb-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklauslee%2Fweb-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklauslee%2Fweb-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklauslee","download_url":"https://codeload.github.com/niklauslee/web-clock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794605,"owners_count":21162615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clock","kaluma","raspberry-pi-pico","web"],"created_at":"2024-11-20T22:53:56.644Z","updated_at":"2026-03-14T09:38:42.792Z","avatar_url":"https://github.com/niklauslee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nA clock device reading time from web. 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.\n\n![assemble](https://github.com/niklauslee/web-clock/blob/main/images/assemble.jpg?raw=true)\n\n# Components\n\n| Part                            | Quantity | Note                      |\n| ------------------------------- | -------- | ------------------------- |\n| Raspberry Pi Pico               | 1        |                           |\n| 1.3\" OLED Display (SSD1306 I2C) | 1        | Purchased from Aliexpress |\n| Wi-Fi module (ESP-01 module)    | 1        |                           |\n| Breadboard                      | 1        |                           |\n\n# Wiring\n\n| Raspberry Pi Pico | ESP8266    | SSD1306   |\n| ----------------- | ---------- | --------- |\n| 3V3               | VCC, CH_PD | VCC (VDD) |\n| GND               | GND        | GND       |\n| GP0 (UART0 TX)    | RXD        |           |\n| GP1 (UART0 RX)    | TXD        |           |\n| GP4 (I2C0 SDA)    |            | SDA       |\n| GP5 (I2C0 SCL)    |            | SCL (SCK) |\n\n![circuit](https://github.com/niklauslee/web-clock/blob/main/images/circuit.png?raw=true)\n\n# Setup\n\nTo run this project, you need to store `WIFI_SSID`, `WIFI_PASSWORD` keys in storage via Terminal as below.\n\n```js\n\u003e storage.setItem('WIFI_SSID', 'MyHome'); // WiFi SSID\n\u003e storage.setItem('WIFI_PASSWORD', '********'); // Wi-Fi Password\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklauslee%2Fweb-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklauslee%2Fweb-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklauslee%2Fweb-clock/lists"}