{"repo":"code-a-saurus/PiClock","free":true,"listed":false,"github":"https://github.com/code-a-saurus/PiClock","clone":"git clone https://github.com/code-a-saurus/PiClock.git","description":"A Raspberry Pi Zero W bedside clock appliance: HT16K33 7-segment display driven directly over I2C, NTP/DST-correct, with systemd packaging, HomeKit, and a printable case.","language":"Python","stars":68,"topics":["clock","homekit","ht16k33","i2c","python","raspberry-pi","raspberry-pi-zero-2-w","raspberry-pi-zero-w","systemd"],"license":"Unlicense","category":"ai-agents","readme_excerpt":"PiClock This document is LLM-generated. An always-on digital bedroom clock, as written about on Ars Technica: a Raspberry Pi Zero W (or Zero 2 W) driving an Adafruit 1.2\" 4-digit 7-segment display (HT16K33) over I2C. It shows 24-hour local time, keeps itself accurate over NTP, and follows daylight-saving transitions automatically — so it never needs to be reset. How it stays correct The Pi has no battery-backed clock, so correctness comes from two things: - NTP ( systemd-timesyncd , on by default) keeps the system clock accurate over Wi-Fi. - The timezone is set once on the Pi (e.g. sudo timedatectl set-timezone America/New York ); the app reads local time, so Python's zoneinfo applies DST rules automatically. No offset math, ever. Before the clock has synced after a cold boot, the display shows ---- rather than a confidently wrong time. After that, the backpack's two left-edge indicator dots report health at a glance: the upper-left dot is Wi-Fi (lit while the link is up, checked every tick straight from sysfs) and the lower-left dot is NTP (lit while syncs keep arriving — dark within about an hour if they stop, e.g. the NTP server is unreachable). If sync is lost the time keeps showing (the system clock free-runs and stays approximately right); only the dots go dark. (Sync-indicator idea borrowed from tenox7/rpiclock.) Hardware - Raspberry Pi Zero W or Zero 2 W , Raspberry Pi OS Lite (Debian 13 \"trixie\"). Both boards are supported by the same code; the only difference is a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/code-a-saurus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/code-a-saurus/PiClock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}