Skip to content

About

Custom firmware for the GeekMagic SmallTV that replaces the stock apps with five modes: a stock/crypto ticker, a Claude usage meter, a live plane radar, a Home Assistant driven display and a clock with themes. Also, you can push notifications on screen. Web UI, WiFi OTA updates, one codebase for ESP8266 and ESP32 based devices.

Resources

Contributing

Stars

194 stars

Watchers

4 watching

Forks

Repository files navigation

smalltv-mod

smalltv-mod

Build Docs License: WTFPL ESP8266, ESP32-C2, and ESP32

Read the documentation

Related projects

SmallTV Studio
Browser editor for theme clocks
clawdmeter-daemon
Sends your Claude usage to the device

Not affiliated with GeekMagic or Anthropic. This firmware replaces the stock firmware entirely.

Open-source firmware for the GeekMagic SmallTV, a desk cube with a 1.54" colour screen, and five related devices. It replaces the stock apps with a stock ticker, a Claude usage meter, a plane radar and a rain radar, plus Home Assistant screens, theme clocks and notifications. You set it up in a built-in web UI, and it updates over WiFi.

The SmallTV showing the stock ticker, the Claude usage meter and the plane radar

A Home Assistant screen pushed over MQTT, a notification overlay, and the Pixel Room theme clock

A portfolio summary, the Claude usage meter in its 7-day-only layout, and the first-boot setup screen

The rain radar scope: heavy rain over Brest in RainViewer's colours, range rings, the city as a green dot with its name, and the timeline

Features

Not every image has every feature. The lean ESP8266 image, for example, leaves out Home Assistant screens, the usage meter and theme clocks for more heap. See Which release file to download.

Supported devices

SmallTV (ESP8266) SmallTV-ultra SDPro Smart Weather Clock SmallTV (ESP32-C2) NM-TV-154 (ESP32) SmallTV Pro (ESP32)
Photo The SmallTV (ESP8266) The SmallTV-ultra The SDPro Smart Weather Clock The SmallTV (ESP32-C2) The NM-TV-154 (ESP32) The GeekMagic SmallTV Pro
MCU ESP-12F (ESP8266), 4 MB flash same ESP-12F (ESP8266), 4 MB flash ESP-12 (ESP8266), 4 MB flash ESP32-C2 / ESP8684, 4 MB flash ESP32-WROOM-32E, 4 MB flash classic ESP32, 8 MB flash
Build env smalltv, or smalltv_lean smalltv (same image, smalltv_loader to install) smalltv (same image, smalltv_loader to install) smalltv_c2 smalltv_esp32, or smalltv_esp32_wg smalltv_esp32_8mb
Display 1.54" 240×240 IPS ST7789 same panel same panel and pin map same panel, RGB order same panel same panel
Flashing OTA from the stock web UI, or UART header two-step loader then OTA, or UART the same two steps with the loader renamed to SDP…, or UART USB-C via the onboard CH340C (esptool) USB via esptool OTA from the stock web UI, or UART header
WireGuard VPN no, the chip has neither the flash nor the heap no, same chip no, same chip yes yes, in the separate -esp32-wg image; the default image leaves it out to keep flash headroom yes, the 8 MB layout has room to spare
Tell-tale ESP8266 module, no USB-serial chip stock firmware branded "Ultra", OTA of this image fails with "Not Enough Space" stock firmware SDPro_V1.x, whose update page refuses a file name not starting with SDP; USB-C is power only CH340C chip next to the USB-C port PCB reads "NM-TV-Miner" sold as "SmallTV Pro", touch button on top

The binary and the install method differ per device, so check yours first: Hardware and variants has photos, the tell-tale signs of each board and the pin maps. Back up the stock image before you flash; the Flashing guide has the commands. After the first install, every device updates from the web UI's System tab.

Get started

  1. Download the image for your device from the Releases page and flash it as in the table above
  2. On first boot, join the open SmallTV-Setup hotspot. If no page opens, browse to http://192.168.4.1
  3. In the WiFi tab, pick your 2.4 GHz network and save. The device reboots and shows its address
  4. Open that address and choose a mode

The first-time setup guide walks through every tab. If someone gave you a device that is already set up, start with the user manual.

Building from source

With PlatformIO, pio run -e smalltv builds the ESP8266 image. The other envs are smalltv_lean, smalltv_c2, smalltv_esp32, smalltv_esp32_wg, smalltv_esp32_8mb and smalltv_loader. CI builds every image on each push, so the latest build is also in the Actions tab. See Building from source for the project layout and the build options for forks.

A flat desk case with a stand is in case/, as an STL ready to slice.

Related projects

SmallTV Pomodoro is a separate firmware for the SmallTV-ultra, built around a Pomodoro timer. A device runs one or the other. Theme spec 2 was designed with that project (#31), so a clock face made in SmallTV Studio runs on both.

Credits and references

Disclaimer

This firmware and the companion daemon are provided as-is, with no warranty of any kind. You flash and use them at your own risk, including the risk of bricking the device. You are responsible for checking that your use complies with the terms of any service it connects to, including Anthropic's terms for the Claude usage meter and the terms of the market and flight data feeds. Nothing in this repo is legal advice. This project is not affiliated with or endorsed by GeekMagic, Anthropic, or any data provider.

License

WTFPL. Do What The F*ck You Want To Public License.

About

Custom firmware for the GeekMagic SmallTV that replaces the stock apps with five modes: a stock/crypto ticker, a Claude usage meter, a live plane radar, a Home Assistant driven display and a clock with themes. Also, you can push notifications on screen. Web UI, WiFi OTA updates, one codebase for ESP8266 and ESP32 based devices.

Resources

Contributing

Stars

194 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages