{"id":20288126,"url":"https://github.com/eins78/clock","last_synced_at":"2026-05-26T23:33:23.694Z","repository":{"id":138711226,"uuid":"78302741","full_name":"eins78/CLOCK","owner":"eins78","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-19T18:12:57.000Z","size":9377,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T04:25:55.198Z","etag":null,"topics":["7-segment","arduino","clock","neopixel"],"latest_commit_sha":null,"homepage":null,"language":"Arduino","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eins78.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-01-07T20:45:00.000Z","updated_at":"2017-02-19T18:13:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd0364c3-5c95-4453-8061-85e82d10d54e","html_url":"https://github.com/eins78/CLOCK","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eins78/CLOCK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eins78%2FCLOCK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eins78%2FCLOCK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eins78%2FCLOCK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eins78%2FCLOCK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eins78","download_url":"https://codeload.github.com/eins78/CLOCK/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eins78%2FCLOCK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33543973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["7-segment","arduino","clock","neopixel"],"created_at":"2024-11-14T14:44:19.231Z","updated_at":"2026-05-26T23:33:23.677Z","avatar_url":"https://github.com/eins78.png","language":"Arduino","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neopixel 7-segment clock\n\nbuilding a digital clock from scratch\nusing 30 neopixels (4 × 7 segments + 2 dots)\n\n# thanks\n\n-  [\"DSEG\" font](http://www.keshikan.net/fonts-e.html)\n(licensed under [SIL OPEN FONT LICENSE Version 1.1](http://scripts.sil.org/OFL), [source](https://github.com/keshikan/DSEG))\n\n- [Arduino](https://www.arduino.cc)\n\n- [Adafruit NeoPixel Library](https://github.com/adafruit/Adafruit_NeoPixel)\n\n- [Arduino Time Library by Michael Margolis](https://www.pjrc.com/teensy/td_libs_Time.html)\n\n- [Arduino HSB to RGB](http://www.kasperkamperman.com/blog/arduino/arduino-programming-hsb-to-rgb/)\n\n- [vemeT5ak](https://github.com/vemeT5ak) for [code inspiration](https://github.com/vemeT5ak/7-segment-neopixel-clock)\n\n# sync from OpenWRT router\n\nclock/arduino is connected to router via USB,\nalso provides power.\n\n## prepare router\n\n```sh\nopkg update \u0026\u0026 opkg install kmod-usb-serial-ftdi\ndmesg\n```\n\nshould output\n```\n…\n[341699.646449] usbcore: registered new interface driver ftdi_sio\n[341699.646494] usbserial: USB Serial support registered for FTDI USB Serial Device\n[341699.646655] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected\n[341699.646723] usb 2-1: Detected FT232RL\n[341699.646933] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0\n```\n\n## sync daemons for openWRT\n\nprepare:\n\n```sh\nopkg install bc socat\nrsync -avPh router-sync/ root@10.178.84.1:/ \u0026\u0026 \\\nssh root@10.178.84.1 '/etc/init.d/arduino-socket enable \u0026\u0026 /etc/init.d/arduino-socket start \u0026\u0026 /etc/init.d/serial-clock-sync enable \u0026\u0026 /etc/init.d/serial-clock-sync start'\n```\n\n\n## proxy serial port for development\n\n(WORK IN PROGRESS)\n\n```sh\n# server (router):\nopkg install socat\nsocat tcp-l:1234,reuseaddr,fork file:/dev/ttyUSB0,nonblock,raw,echo=0,waitlock=/var/run/tty,b9600\n\n# client (dev machine):\nmkdir $HOME/dev\nsocat pty,link=$HOME/dev/vmodem0,waitslave tcp:router.local:1234\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feins78%2Fclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feins78%2Fclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feins78%2Fclock/lists"}