{"id":16322056,"url":"https://github.com/balassy/rocket-clock","last_synced_at":"2026-05-15T20:03:19.112Z","repository":{"id":147827654,"uuid":"188625832","full_name":"balassy/rocket-clock","owner":"balassy","description":"A network connected clock with ESP8266.","archived":false,"fork":false,"pushed_at":"2020-08-12T05:31:08.000Z","size":206,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T15:48:38.992Z","etag":null,"topics":["arduino-iot","arduino-sketch","esp8266","esp8266-arduino","iot","vscode"],"latest_commit_sha":null,"homepage":"","language":"C++","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/balassy.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":"2019-05-26T00:47:57.000Z","updated_at":"2020-08-12T05:31:10.000Z","dependencies_parsed_at":"2023-05-27T15:15:12.934Z","dependency_job_id":null,"html_url":"https://github.com/balassy/rocket-clock","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"e8ba1ddd13d21dfe2ff2a9170a98c594b5da20ed"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balassy%2Frocket-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balassy%2Frocket-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balassy%2Frocket-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balassy%2Frocket-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balassy","download_url":"https://codeload.github.com/balassy/rocket-clock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110450,"owners_count":22016392,"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":["arduino-iot","arduino-sketch","esp8266","esp8266-arduino","iot","vscode"],"created_at":"2024-10-10T22:49:52.306Z","updated_at":"2026-05-15T20:03:14.077Z","avatar_url":"https://github.com/balassy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rocket Clock\n\nA network connected clock with ESP8266 designed to work with [Laurence Keir's Sleep Training Rocket Clock](https://www.thingiverse.com/thing:3404826).\n\n![](./doc/photo.jpg)\n\n## How it works\n\nThis code connects to the specified time server to retrieve the current time adjusted to your current time zone and daylight saving preferences. Based on the specified time range for day time and night time it turns the appropriate LEDs on or off.\n\n## Getting started\n\n### Hardware\n\nConnect two LEDs (recommended a red LED for day time and a blue LED for night time) to two ESP8266 pins and the Ground pin through 220 Ohm resistors.\n\n![](./doc/wiring/rocket-clock-breadboard.png)\n\n![](./doc/wiring/rocket-clock-schematic.png)\n\nIf you wish to further improve this wiring you can download the [Fritzing Sketch](./doc/wiring/rocket-clock.fzz) as well.\n\n### Software\n\nLoad the project into the Arduino IDE and import the [WiFiManager library](https://github.com/tzapu/WiFiManager).\n\nUpdate the parameters in the `config.h` file and upload the sketch to your ESP8266.\n\n### Usage\n\nIf you have not connected your ESP8266 to the network before, when first boot up it will create a new WiFi network with the parameters specified in `config.h`. By default the network name is `RocketClock`.\n\nConnect to this WiFi network with the password specified in `config.h` (by default `Rocket!`).\n\nOpen your favorite web browser and navigate to `http://192.168.4.1`, and configure the WiFi connection. Upon save your device will restart and automatically connect to the specified WiFi network.\n\n## Acknowledgements\n\nThanks to [Andreas Spiess](https://github.com/SensorsIot) for sharing his [NTP library for ESP8266](https://github.com/SensorsIot/NTPtimeESP), though I have to change his code to make it more reliable.\n\nThanks to [Roman Minyaylov](https://github.com/roman-minyaylov) for sharing his [NodeMCU Fritzing part](https://github.com/roman-minyaylov/fritzing-parts). I copied the current version of that part into the `.doc/wiring/esp8266-nodemcu-v3` folder.\n\n## About the author\n\nThis project is maintained by [György Balássy](https://linkedin.com/in/balassy).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalassy%2Frocket-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalassy%2Frocket-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalassy%2Frocket-clock/lists"}