Hardware and variants
Four boards share the same cube. Confirm which one you have before you flash it, because they use different chips and flash differently. All of them have the same 1.54” 240×240 ST7789 IPS panel.
The GeekMagic SmallTV is a 45 × 35 × 40 mm cube with a 28 × 28 mm colour screen and a USB-C port for power. It sells for about 6 to 8 EUR on AliExpress. A second version, sold under the same “smart weather clock” listing, has an ESP32-C2 instead of the ESP8266 in the same case with the same screen. The NMMiner NM-TV-154 BTC lottery miner uses the same cube and screen with a classic ESP32 inside. GeekMagic’s higher-end model, the SmallTV Pro, has a classic ESP32 with 8 MB of flash.
Tell them apart
Section titled “Tell them apart”Look at the board through the case vents, or open it (four clips, no glue).
| Board | What to look for | How it flashes |
|---|---|---|
| SmallTV (ESP8266) | an ESP8266 module, no separate USB-serial chip | over the air |
| SmallTV (ESP32-C2) | a bare ESP8684 chip (the ESP32-C2) and a CH340C USB-serial chip next to the USB-C port |
over USB-C |
| NM-TV-154 (ESP32) | the PCB reads “NM-TV-Miner” and carries an ESP32-WROOM-32E module. Sold as an NMMiner BTC lottery miner, not as a weather clock | over USB |
| SmallTV Pro (ESP32) | sold by GeekMagic as the “SmallTV Pro”, with a capacitive touch button on top of the case. A classic ESP32 with 8 MB flash, and a USB-C port that is power only (no USB-serial chip) | over the air from the stock web UI, or over an internal UART header |
On the ESP32-C2 board, the two chips identify it: the main SoC is marked ESP8684, and the small 16-pin chip by the USB-C port is the CH340C.


SmallTV (ESP8266)
Section titled “SmallTV (ESP8266)”
The “Ultra” units (branded Ultra-Vx.x.x) are the same ESP-12F board with different stock firmware and a different flash layout. They run this firmware, but the first install needs the loader step in Flashing.

The SDPro Smart Weather Clock, an unbranded SmallTV-ultra clone sold on AliExpress and Temu with SDPro_V1.x firmware, is the same board according to a teardown: an ESP-12 with 4 MB flash, the same ST7789 panel and the same pin map as below. Its USB-C port is power only and it has no button. A community tester installed and ran this firmware on one (issue #76). The install is in Flashing.
The product photos show each unit’s stock firmware, and the screen style varies by model and firmware version (a weather clock, a ticker and so on). Use the screen and the signs in Tell them apart to identify the model before picking a binary.
| MCU | ESP-12F (ESP8266), 4 MB flash |
| Display | 1.54” 240×240 IPS ST7789, hardware SPI |
| Body | 45 × 35 × 40 mm, USB-C power |
| Light sensor | optional LDR on A0 (not populated on all units) |
| WireGuard VPN | not available on this chip |
| Build env | smalltv, or smalltv_lean |
Two images are published for this board. smalltv-mod-firmware.bin has every feature. smalltv-mod-firmware-lean.bin is the same code with Home Assistant screens, the usage meter and theme clocks compiled out, which leaves about 7 KB more heap (7,240 bytes less static RAM, measured after 3.12.0). This matters only on this board: the ESP8266 shares one 80 KB arena between static allocations and the heap, and the radar and cash.ch fetches both refuse to start a TLS handshake when the heap runs short. Which release file to download covers when to pick which.
Pin map
Section titled “Pin map”Hardware SPI on the ESP8266 uses fixed clock and data pins. The rest are the SmallTV wiring, confirmed from teardowns and the ESPHome and Tasmota communities.
| Signal | GPIO | Note |
|---|---|---|
| SPI CLK | 14 | hardware SPI (fixed) |
| SPI MOSI | 13 | hardware SPI (fixed) |
| DC | 0 | boot-strap pin |
| RST | 2 | boot-strap pin |
| CS | 15 | boot-strap pin |
| Backlight | 5 | hardware sigma-delta from v3.9.0 (software PWM before), active-low |
SmallTV (ESP32-C2 / ESP8684)
Section titled “SmallTV (ESP32-C2 / ESP8684)”
| MCU | ESP32-C2 (ESP8684), 4 MB embedded flash, RISC-V, 120 MHz |
| USB-serial | CH340C on the USB-C port (auto-reset wired) |
| Regulator | AMS1117-3.3 |
| Display | 1.54” 240×240 IPS ST7789V, SPI, RGB colour order |
| WireGuard VPN | included |
| Build env | smalltv_c2 |
The ESP32-C2 has no native USB. The CH340C bridges the USB-C port to the chip’s UART, and the chip is flashed through it. Auto-reset is wired, so esptool enters download mode by itself without a button.
Pin map
Section titled “Pin map”The ESP32-C2 routes SPI through the GPIO matrix, so the display pins are arbitrary GPIOs instead of fixed hardware-SPI pins. This map comes from a community ESPHome config for this board and is confirmed working.
| Signal | GPIO | Note |
|---|---|---|
| SPI CLK | 4 | |
| SPI MOSI | 6 | |
| DC | 5 | |
| RST | 1 | |
| CS | GND | tied low on the panel, not driven |
| Backlight | 18 | PWM, active-low |
The pins are set in src/board_esp32c2.h. The panel needs SPI mode 3 and its colour order is RGB, and src/Gfx.cpp handles both. If red and blue look swapped on your unit, set “Colour order” to BGR in the Display tab. The board header’s TFT_BGR is only the default the web UI starts from.
NM-TV-154 (classic ESP32)
Section titled “NM-TV-154 (classic ESP32)”
| MCU | ESP32-WROOM-32E (ESP32-D0WD-V3), 40 MHz crystal, 4 MB flash |
| Display | 1.54” 240×240 IPS ST7789, SPI, RGB colour order |
| Sold as | NMMiner NM-TV-154 BTC lottery miner, PCB marked “NM-TV-Miner” |
| WireGuard VPN | in the second image only, -esp32-wg |
| Extras | capacitive touch button (GPIO 32), configured in the Button card of the web UI |
| Build env | smalltv_esp32, or smalltv_esp32_wg |
Two images are published for this board, and they differ in the WireGuard client. smalltv-mod-firmware-esp32.bin leaves it out. smalltv-mod-firmware-esp32-wg.bin compiles it in and leaves out the rain radar, because the two do not fit the slot together. Both have every other feature, run the same code and use the same partition table.
The split comes from flash size. The 4 MB layout gives each OTA slot 1,572,864 bytes, and this board’s image is the tightest fit of the ESP32 boards. On v3.10.0, before the rain radar existed, the same code built about 36 KB larger on the classic ESP32 than on the ESP32-C2, and the client cost 45,968 bytes: 1,483,136 bytes without it and 1,529,104 bytes with it. With both the client and the rain radar the image would leave about 4 KB free, under the 8 KB that CI requires, which is why -esp32-wg leaves rain out. On v3.14.0 the plain image is 1,549,680 bytes (98.5%, 23,184 free) and -esp32-wg is 1,541,888 bytes (98.0%, 30,976 free). The slot cannot grow without a new partition table, and a device in the field cannot install one over the air.
Take -esp32-wg if you want to reach the device from outside your LAN, and the plain image otherwise. Switching later is a manual upload in the System tab without a cable, because the two images share a partition table. Which release file to download walks through it.
The pin map comes from NMMiner’s own custom-firmware guide for the device. A community tester confirmed it on hardware in issue #1: display, colours, backlight PWM and the 4 MB flash layout all work.
Pin map
Section titled “Pin map”| Signal | GPIO | Note |
|---|---|---|
| SPI CLK | 14 | |
| SPI MOSI | 13 | |
| DC | 2 | |
| RST | not connected | panel reset line is unwired |
| CS | 15 | |
| Backlight | 19 | PWM, active-low |
| Panel power | 21 | driven low at boot to power the display |
| Touch button | 32 | ESP32 T9 touch channel |
The pins are set in src/board_esp32.h.
SmallTV Pro (classic ESP32)
Section titled “SmallTV Pro (classic ESP32)”
| MCU | classic ESP32, 8 MB flash |
| Display | 1.54” 240×240 IPS ST7789V, SPI, RGB colour order |
| Extras | capacitive touch button (GPIO 32), configured in the Button card of the web UI |
| WireGuard VPN | included |
| Build env | smalltv_esp32_8mb |
GeekMagic’s higher-end model has the same cube and panel, with a classic ESP32 and 8 MB flash. Its OTA app slots are 2,228,224 bytes (2.125 MB) each, about 1.4 times the 1,572,864 bytes of the 4 MB boards, and about 3.7 MB is left for LittleFS. The partition layout matches the stock firmware’s, verified on a live device.
Unlike the ESP32-C2 board it has no USB-serial chip, and the USB-C port is power only. The first install goes over the air from the stock web UI. Serial access means opening the case and wiring a 3.3 V USB-UART adapter to the internal header (see Flashing).
The pin map comes from the ESPHome SmallTV Pro community config and matches what the stock firmware uses. It is confirmed working on a real device: display, colours, backlight PWM and the 8 MB flash layout.
Pin map
Section titled “Pin map”| Signal | GPIO | Note |
|---|---|---|
| SPI CLK | 18 | |
| SPI MOSI | 23 | |
| DC | 2 | |
| RST | 4 | |
| CS | GND | tied low on the PCB, not driven |
| Backlight | 25 | PWM, active-low |
| Touch button | 32 | ESP32 T9 touch channel |
The pins are set in src/board_esp32_pro.h.
If the screen looks wrong
Section titled “If the screen looks wrong”The pins are fixed to the SmallTV wiring and cannot be changed from the web UI. These display symptoms have fixes in the settings:
| Symptom | Fix |
|---|---|
| Dark screen with the backlight on | Toggle “Backlight is active-low” in the Display tab. All boards default to active-low |
| Wrong orientation | Change Orientation in the Display tab |
| Red and blue swapped | Set “Colour order” to BGR in the Display tab. The board headers carry a TFT_BGR compile-time default per variant, but the web UI overrides it, so nothing needs rebuilding |
| Colours look warm, cold or tinted | The panels in these units are not all the same part. Use the Red, Green and Blue gain sliders in the Display tab’s Colour card to remove the cast |
| The screen looks like a negative | Tick “Invert the panel” in the same card |
For a different board entirely, change the pins in the relevant src/board_*.h header.