# HU 058 Wi Fi Clock

HU-058 RGB 7-segment clock kit converted to ESPHome on an ESP32-C3 Super Mini, for Home Assistant. World Clock with per-clock time zones.

买一套现成的 RGB 七段数码管拼装钟，把主控换成 ESP32-C3 Super Mini、再加一个 USB-C 面板插座，就成了一块接进 Home Assistant 的智能钟。

- id: 3ative-hu-058-wifi-clock
- author: 3ative
- repository: https://github.com/3ative/HU-058-WiFi-Clock
- license: MIT
- shape: square
- scenes: home
- boards: ESP32-C3
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/3ative-hu-058-wifi-clock/
- html_zh: https://esp32gallery.com/zh/projects/3ative-hu-058-wifi-clock/
- json: https://esp32gallery.com/data/catalog/projects/3ative-hu-058-wifi-clock.json

## Hardware

Supported hardware: ESP32-C3. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32-C3。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
An off-the-shelf RGB seven-segment clock kit gets a second life as a Home Assistant display once an ESP32-C3 Super Mini and a USB-C panel socket are swapped in. ESPHome runs it through a custom external component for the AiP33628 LED drivers. Every panel, digit or single LED can take its own colour, gradients included, and colour-cycle and flash effects keep running on the device even if Wi-Fi drops; the top colon dot going dark is the Wi-Fi warning. Home Assistant can also pick a city per clock for world time with DST, cycle a temperature sensor or the date between the time, and push up to four characters through esphome.wifi_clock_show_text, with the display returning to the time by itself. Only characters the segments can form exist: K M V W X Z show blank, and the font falls back to the other case rather than refusing a letter.
```

## 中文

```
买一套现成的 RGB 七段数码管拼装钟，把主控换成 ESP32-C3 Super Mini、再加一个 USB-C 面板插座，就成了一块接进 Home Assistant 的智能钟。固件是 ESPHome，靠一个自己写的外部组件驱动 AiP33628 灯驱芯片。每块面板、每个数字、每颗 LED 都能单独设色，也能做渐变；颜色循环和闪烁在板子上跑，Wi-Fi 掉了照样动，顶上那颗冒号点灭掉就代表断网。在 Home Assistant 里还能给每台钟挑城市做世界时钟并自动处理夏令时，时间中间轮流插播温度传感器读数或日期，也可以用 esphome.wifi_clock_show_text 推最多 4 个字符，几秒后自动回到时间。能显示的字符受七段限制：K M V W X Z 根本画不出来，会亮空白，大小写会自动找存在的那个字形。
```
