Docs
☰
Docs / Omnixie X / Omnixie X firmware
Omnixie X

Omnixie X firmware

The firmware behind every Omnixie X clock and DIY kit: setup, features, smart-home and updates.

Omnixie X firmware

Overview #

Omnixie X is our firmware for nixie clocks built on the ESP32-S3. It drives the tubes through 74HC595 shift registers and is set up entirely from a phone or computer browser. There is no app and no cloud account: every setting is stored on the clock.

It comes in two editions, built from the same source:

Edition (model name)ForHardware settings
Omnixie_X_DIYkitYour own ESP32-S3 N16R8 board with our NTDB4 or your own 74HC595 + A42 driverPins, tube count, colon wiring and pin mapping are all set in the browser
Omnixie_Plus_Z566M_6TubesReserved for a future Omnixie Plus with Omnixie X (not on sale yet). Omnixie Plus clocks sold today run their own firmware; see Omnixie Plus.Fixed by the clock's own main board

The DIY edition is free to download and install. A license unlocks network time, time and date formats, alarms, chimes, LED effects, scheduled on/off and smart-home control; see License.

What it does

  • Drives 4, 6 or 8 tubes: hours and minutes, plus seconds, plus hundredths of a second.
  • Digit transitions (Instant, Fade, Crossfade, Flip) and colon effects, with a live preview on the settings page.
  • 12 RGB backlight effects in any colour, at four speeds.
  • Network time with 79 time zones and automatic daylight saving, plus support for four RTC chips.
  • Up to 10 alarms, nine classic chime styles and spoken time in 11 languages (with a voice module).
  • Up to four scheduled off or dim periods, and cathode-poisoning prevention.
  • Home Assistant (MQTT auto-discovery) and Apple Home.
  • Online updates, checked per model.
  • Web pages in 10 languages, with light and dark themes.

Version numbers

Versions are numbered major.minor.patch, for example 1.0.1. The first release was 1.0.0 in November 2026. The clock compares these numbers when it checks for updates and only offers a newer version. The current version is shown on the install page, together with the release notes.

Supported hardware #

Controller board

Omnixie X needs an ESP32-S3 with 16 MB flash and 8 MB PSRAM (N16R8), such as the ESP32-S3-DevKitC-1 N16R8. Boards with two USB-C ports are fine. Other ESP32-S3 variants (N8R2, N8R8…) and older ESP32 chips are not supported; the web installer checks the chip, flash and PSRAM before it writes anything.

Tube driver

The tubes are driven by a chain of 74HC595 shift registers, each output switching one cathode through a high-voltage transistor such as the A42. Each tube needs 10 outputs and each 74HC595 has 8:

TubesShows74HC595sWith colons on the chain
4Hours, minutes56
6+ seconds88
8+ hundredths of a second1011

Our NTDB4 is this circuit for four tubes, with the colon on its own pin. Two NTDB4s in a chain give six or eight tubes. Many older nixie clocks use the same 74HC595 approach: keep the tubes, driver and high-voltage supply, replace the controller with an ESP32-S3 and set the pins in the browser.

High-voltage supply

Any nixie high-voltage module works. Omnixie X can switch the high voltage off through an enable pin, which the NCH6300HV has (SHDN, high = on). The NCH8200HV has no enable pin, so its output is on whenever the clock is powered.

Optional modules

ModuleAddsSupported
RTC moduleKeeps time through power cutsRX8900CE, DS3231SN, PCF8563, DS1307; backup by supercapacitor, rechargeable cell or primary battery
Light sensorAutomatic brightnessPhotoresistor to an ADC pin (GPIO1–10); detected at boot
IR receiverRemote control3.3 V module such as VS1838B
Voice moduleSpoken time, alarm and chime soundsYX6100 with speaker, 5 V, serial
RGB LEDsBacklightWS2812 / SK6812, 4–32 LEDs, 5 V
Status LEDsNetwork statusRed and green, each with a ~1 kΩ series resistor

Default pins

All pins can be changed on the Advanced → DIY Hardware page, which checks for conflicts and pins that cannot be used.

FunctionGPIO
74HC595 DATA / LATCH (STCP) / CLOCK (SHCP) / OE10 / 11 / 12 / 9
High-voltage enable1
Colon (when set to one GPIO)14
RTC SDA / SCL / 1 Hz6 / 7 / 15
RGB LEDs18
IR receiver13
Light sensor2
Voice module (ESP32 TX → module RX / module TX → ESP32 RX)41 / 42
Status LEDs red / green16 / 17

The DIY Hardware page draws a live wiring diagram from your settings, so you can check your build against it.

Install & update #

Install from your browser

The easiest way to install the DIY edition is our web installer. It works in Chrome, Edge or Opera on Windows, macOS, Linux or ChromeOS. Safari, Firefox and phones cannot talk to USB devices.

  1. Connect the ESP32-S3 board with a USB data cable (not a charge-only cable). If the board has two USB ports, use the one marked USB, not UART: it needs no driver.
  2. Click Connect and pick the board's port. The installer reads the chip, flash, PSRAM and serial number before writing anything.
  3. Choose Update or Fresh install (see below) and click Install. It takes about a minute; keep the tab open.
  4. The board restarts by itself and opens its Wi-Fi hotspot. Continue with First setup.
OptionWhat it does
UpdateWrites the new firmware and keeps Wi-Fi, all settings and the license.
Fresh installErases the whole flash first. Wi-Fi, settings and the license are wiped. Your license code still works afterwards: enter it again.

Files are downloaded only from omnixie.cn, checked against their SHA-256 before writing and verified on the board afterwards. A failed install cannot break the board: the ESP32-S3's download mode is in ROM, so you can always plug it in and install again.

If the installer can't connect

Hold BOOT, press RST once and release BOOT. The board is now in download mode; try again. If it still fails, try another cable that carries data.

Flash it yourself

You can also download the .bin files from the install page and use esptool or Espressif's Flash Download Tool (chip ESP32-S3, SPI speed 80 MHz, SPI mode DIO, flash size 16 MB).

MethodFiles and addressesKeeps settings?
One fileFull image at 0x0No: erases Wi-Fi, settings and license
Four filesbootloader.bin 0x0, partitions.bin 0x8000, boot_app0.bin 0xe000, firmware.bin 0x10000Yes, as long as you don't erase the flash

The ESP32-S3 bootloader goes at 0x0, not 0x1000 as on the original ESP32. Leave 0x9000 alone: that is where Wi-Fi, settings and the license are stored.

Later updates

Once the clock is on Wi-Fi, update it from its own Advanced → Firmware Update page, with no USB needed. See Online updates.

Boot log

Open the board's UART port at 115200 baud in a serial terminal to see the boot messages: firmware version, hardware revision, model and serial number. From version 1.0.2 the log also shows what the clock found at start-up. Your Wi-Fi password is never printed.

  • RTC: the chip and its I2C address, or that none was found and the clock is using its internal clock with NTP. If the RTC lost power, a second line says the time was reset.
  • Light sensor: connected (with its pin and light levels), or not connected and brightness is set by hand.
  • Wi-Fi: the network it joined and its IP address, or that it could not connect and opened its own hotspot at 192.168.4.1.

Sending us this log helps us identify your board and find wiring problems.

First setup #

Connect to Wi-Fi

  1. Power on the clock. It opens a Wi-Fi hotspot called Omnixie_X_ followed by six characters of its serial number, with no password.
  2. Join the hotspot from your phone. The setup page should open by itself; if not, open http://192.168.4.1. If your phone warns that the network has no internet, choose to stay connected.
  3. Pick your home Wi-Fi and enter its password. Omnixie X works with 2.4 GHz networks (802.11 b/g/n) only.

If the clock later cannot join its saved network, it opens the hotspot again.

Setup wizard

Once the clock is online, the setup wizard asks for a device name, your time zone and daylight saving, and a display style. At the end it shows the clock's address, for example http://omnixie.local. Use that address, or the IP address from your router, to open the clock from now on. Some Android phones do not support .local addresses; use the IP address there.

The web pages

The home page (System) shows the clock's status, including the serial number (S/N) and, on the DIY edition, a DIY Hardware card listing the tube count, pin mapping, 74HC595 pins, colon wiring, RTC and other pins in use. The other pages:

  • Wi-Fi: network, device name and the Wi-Fi indicator LED.
  • Time Sync: time zone, NTP server, and setting the time from your phone.
  • Display: brightness, transitions, colon effect, formats and the RGB backlight.
  • Alarms and Chimes.
  • Advanced: Auto Power (scheduled on/off), DIY Hardware (DIY edition only), Nixie Tube Settings, IoT Settings, Factory Reset, Setup Wizard and Firmware Update. The license page opens from Add License on the System page.

Every page is available in 10 languages (choose from the Language menu) and in a light and a dark theme.

DIY edition: hardware and tubes

On a DIY build, set up the hardware next:

  1. Advanced → DIY Hardware: set the 74HC595 pins, chain direction, colon wiring, high-voltage switch, RTC chip and any other modules. Click Save & Restart, then click again when the button turns red to confirm.
  2. Advanced → Nixie Tube Settings: set the number of tubes (the DIY edition defaults to 6), set Model to “Customized” and run the pin-mapping wizard.

For an NTDB4 build, the exact settings are on the NTDB4 page and in the build guide.

Factory reset

Advanced → Factory Reset restores the display, alarm, chime, cathode-poisoning-prevention, scheduled on/off, Wi-Fi status light and page theme settings, and the setup wizard runs again. Wi-Fi, time zone and NTP server, the license, IoT settings, DIY hardware settings, tube count, tube model and pin mapping are kept. To wipe everything, use Fresh install on the install page.

Display & tubes #

Tube layout

On the DIY edition, Advanced → Nixie Tube Settings sets the number of tubes (4, 6 or 8) and the tube model. For DIY and NTDB4 builds, choose Customized; the named models are for Omnixie boards with built-in tube sockets.

The colons can be wired three ways, set in DIY Hardware: on the 74HC595 chain, on a single GPIO (as on the NTDB4), or not fitted.

Pin mapping

The ten cathodes of a tube can be wired to its ten driver outputs in any order. The pin-mapping wizard lights Pin0 to Pin9 one at a time, and you pick the digit you see. The mapping is saved only when all ten digits are assigned with no duplicates; until then the previous mapping stays in use. Wire every tube in the same order, and one mapping covers them all.

If the hours and minutes come out mirrored, change 595 chain direction in DIY Hardware rather than rewiring.

Brightness

Brightness is set by PWM on the 74HC595 OE pin, in 8 steps. With a light sensor fitted, automatic brightness is also available; without one, brightness is manual.

Effects

  • Digit transition: Instant, Fade, Crossfade or Flip, with an adjustable speed.
  • Colon: Breathe, Blink, On or Off. The colon brightness follows the tubes.
  • Backlight: 12 RGB effects (Solid Color, Breathe, Fireflies, Rainbow, Meteor, Fireworks, Twin Spiral, Aurora, Flame, Heartbeat, Waves, Energy Pulse) in any colour, at four speeds, with its own brightness and automatic brightness.

A live preview at the top of the Display page shows each change before the tubes follow.

Formats

12- or 24-hour time, leading zero on or off, and the date as year-month-day, day-month-year or month-day-year. Time and date formats and the backlight effects need a license.

Night mode and tube care

  • Scheduled on/off (Advanced → Auto Power): up to four periods in which the tubes switch off or dim (license).
  • Cathode poisoning prevention (Nixie Tube Settings): cycles every digit at intervals to keep unused cathodes clean and extend tube life. Keep it on.

Time & time zones #

Network time

With a license, the clock keeps its time in sync with an NTP server whenever it is online. The default server is pool.ntp.org; you can change it on the Time Sync page, which also has a Sync now button and shows the last synchronisation.

Time zones and daylight saving

Choose from 79 time zones on the Time Sync page or in the setup wizard. Daylight saving can be set to automatic, so the clock changes on the right dates for your zone.

Set the time from your phone

Time Sync → Use Phone Time sets the clock from your phone or computer. It works without a license (since version 1.0.1), but it is a one-off setting, not a continuous sync.

RTC modules

Without an RTC module, the clock loses the time when power is removed. With a license it syncs again as soon as it is back online; without one, use Use Phone Time again.

An RTC module keeps time through power cuts. Choose the chip and its backup type in Advanced → DIY Hardware:

ChipSupplyNotes
RX8900CE3.3 V
DS3231SN3.3 V
PCF85633.3 V
DS13075 VIts I2C pull-ups must go to 3.3 V, not 5 V

Backup types: supercapacitor, rechargeable cell or primary battery. Wire SDA and SCL to the I2C pins and, if the module has one, its 1 Hz output (SQW / CLKOUT) to the 1 Hz pin. Since version 1.0.1 the clock keeps accurate seconds even without the 1 Hz line (it re-aligns to the RTC every 10 minutes), and aligns to the RTC chip's own second to within about 0.02 s. If the 1 Hz input is miswired (for example to a 32 kHz output), the clock detects it and ignores that input.

When the clock is online with a license, it corrects the RTC whenever it drifts more than 0.03 s from network time.

Home Assistant #

Omnixie X joins Home Assistant through MQTT auto-discovery: enter your MQTT broker once and the clock appears as a device with up to 46 entities. No YAML is needed. This needs a license.

What you need

  • An MQTT broker that the clock can reach on your network, such as the Mosquitto broker add-on.
  • The MQTT integration set up in Home Assistant, with discovery on (the default).

Setting it up

  1. On the clock, open Advanced → IoT Settings and turn on Home Assistant.
  2. Enter the broker's host name or IP address, port (default 1883), and username and password if your broker uses them.
  3. Leave the discovery prefix as homeassistant unless you changed it in Home Assistant.
  4. Choose which feature groups to publish and the language of the entity names (Chinese, English or Japanese), then save.

The clock connects, publishes its entities and then keeps their states up to date. When Home Assistant restarts, the clock publishes its entities again automatically.

The clock connects to the broker over plain MQTT (no TLS), so keep the broker on your local network.

Entities

GroupEntities
Nixie (13)Nixie tubes (light: on/off and brightness), auto brightness, brightness, time format, date format, leading zero, power-off mode (off or dim), Wi-Fi indicator, digit effect, colon effect, effect speed, show number, show duration
LED (7)LED light (colour, brightness and effect), LED on/off, LED brightness, LED effect, LED effect speed, LED auto brightness, LED notify flash
Alarm & chime (11)Next alarm (text and timestamp), alarm ringing, stop alarm, alarm master switch, chime on/off, chime mode, chime language, chime voice, chime preview, volume
Diagnostics (15)Wi-Fi signal, IP address, serial number, tube count, tube model, running time, time sync status, NTP server, time zone, DST, last sync, chip temperature, free memory, firmware update, restart

Turning a group off removes its entities from Home Assistant. A few useful ones for automations:

  • Alarm ringing turns on while an alarm rings, for example to start a morning scene.
  • Show number shows up to eight digits (and spaces) on the tubes for the set duration (1–60 s), then returns to the time.
  • LED notify flash flashes the backlight. From an automation you can choose the colour; see MQTT.
  • Firmware is an update entity: the clock checks for new firmware one minute after connecting and then every 12 hours, and you can install it from Home Assistant. This entity appears when the Diagnostics group is turned on.

Removing the clock

Use Remove from Home Assistant on the clock's IoT page. It clears all of the clock's entities from Home Assistant and turns the Home Assistant connection off. Turn it on again to bring the clock back.

Apple Home #

Omnixie X can be added to the Apple Home app directly, without a bridge. This needs a license.

Adding the clock

  1. On the clock, open Advanced → IoT Settings and turn on Apple Home.
  2. The page shows an 8-digit setup code and a QR code. In the Home app, tap + → Add Accessory and scan the QR code, or enter the code. If you see “Uncertified Accessory”, tap Add Anyway.
  3. The clock is added as a lighting accessory.

The setup code and QR code are only shown while the clock is not paired.

What appears in the Home app

NameTypeDoes
Nixie ClockLightTubes on/off and brightness
Ambient LightColour lightBacklight on/off, brightness and colour
AlarmsSwitchAlarm master switch
Hourly ChimeSwitchChime on/off
Stop AlarmSwitchStops a ringing alarm
Alarm RingingContact sensorTriggers while an alarm rings, for automations

The accessory names can be in Chinese, English or Japanese, chosen on the IoT page. Changing the language renames them in the Home app within a few seconds. Changes made on the clock or its web pages show up in the Home app too. Identifying the accessory flashes the backlight ice blue.

Resetting

  • Reset pairing unpairs the clock from all Apple devices and creates a new setup code. Then remove the clock in the Home app and add it again with the new QR code.
  • While the clock is not paired, Get a new setup code changes just the code.
  • Turning Apple Home off on the clock stops it answering; the Home app then shows it as “No Response”. Turn it on again to resume, without a restart.

MQTT #

The same MQTT connection used for Home Assistant can be used by any MQTT client. Set up the broker on Advanced → IoT Settings as described there. This needs a license.

Device ID and topics

The device ID is omnixie_ followed by the clock's serial number with only its letters and digits, in lower case. All topics start with omnixie/<device ID>/.

TopicContent
…/statusonline or offline (offline is the last-will message)
…/stateJSON with the display, LED, alarm and chime settings
…/nixie/stateJSON: tubes state (ON/OFF) and brightness (1–8)
…/led/stateJSON: backlight state, brightness, color {r, g, b} and effect
…/diagJSON with diagnostics (Wi-Fi signal, IP address, time sync, chip temperature, memory…)
…/updateJSON with the installed and latest firmware version
…/<key>/setCommands, see below

All state messages are retained. States are published when they change, diagnostics every 60 seconds, and everything again every five minutes. If the connection drops, the clock reconnects after 5 seconds, doubling the wait up to 60 seconds.

Discovery messages go to <prefix>/<component>/<device ID>/<key>/config, where the prefix is homeassistant by default. The clock listens on <prefix>/status and publishes discovery again when it receives online.

Commands

Publish to omnixie/<device ID>/<key>/set. On/off values accept ON, OFF, 1, 0, true or false. Options accept the option text in any of the three entity-name languages.

KeyPayload
nixieJSON, e.g. {"state":"ON","brightness":6}. Setting brightness turns auto brightness off.
ledJSON with any of state, brightness (1–8), color {"r","g","b"}, effect (effect name)
bri, led_bri1–8
autobri, led_autobri, led_on, leadzero, alarm_on, chime_onOn/off
fxspeed1–8 (higher is faster)
volume0–8
showUp to 8 characters, digits and spaces, e.g. 2026
show_secs1–60
digitfxInstant, Fade, Crossfade, Flip
colonfxBreathe, Blink, On, Off
timefmt12-hour, 24-hour
datefmtY-M-D, D-M-Y, M-D-Y
offmodeOff, Dim
wifiledAlways Off, Off After 1 min, Always On
led_fxSolid Color, Breathe, Fireflies, Rainbow, Meteor, Fireworks, Twin Spiral, Aurora, Flame, Heartbeat, Waves, Energy Pulse
led_speedSlowest, Slow, Normal, Fast
chime_modeVoice Announcement, Six-Tone Pips, Hourly Time Signal, Cuckoo Clock, Westminster Quarters, Whittington Chimes, St. Michael's Chimes, Quarter Strike, Hour and Half-Hour Strike, Passing Strike
chime_langEnglish, 中文普通话, 粤语, Español, Français, العربية, Русский, Português, Deutsch, 日本語, 한국어
chime_voiceMale, Female
led_flashPRESS (default ice blue), or JSON {"color":[255,0,0]}
alarm_stop, chime_preview, restartAny payload, e.g. PRESS
updateinstall: installs a new version once one has been found
mosquitto_pub -h 192.168.1.10 -t omnixie/omnixie_<serial>/show/set -m "1234"

HTTP API Coming soon#

Local API for scripts and automations.

Online updates #

Omnixie X updates itself over Wi-Fi. Updates are free, need no license, and keep Wi-Fi, all settings and the license.

Checking for an update

Open Advanced → Firmware Update. The clock checks automatically each time the page opens (or click Check Again; the home page also has Check for Updates). It downloads a small file describing the latest release for its own model:

https://ota.omnixie.cn/<model>/ota.json

where the model is, for example, Omnixie_X_DIYkit. If that release is newer than the installed version, the page shows its version, release date and what's new. The clock only ever upgrades: it never offers the same or an older version, and it never installs firmware made for a different model.

Installing

Click Update to … Now. It takes about a minute: don't power off the clock or close the page. The page shows each step (download, write and verify, restart) and reconnects when the clock is back, usually within 10–20 seconds. If the update doesn't finish, the clock keeps running the previous version and you can simply try again.

The same page has a Manual Update card for uploading a firmware file from your computer.

With Home Assistant connected, the clock also checks one minute after it connects and then every 12 hours, and you can install from Home Assistant's update entity.

Over USB instead

For a first install, or a board that will not start, use the web installer. Its Update option also keeps Wi-Fi, settings and the license. See Install & update.

Omnixie clocks that ship with Omnixie X will update through their own Firmware Update page. The web installer is for the DIY edition only.

License #

Omnixie X is free to install and use. A license unlocks the rest of the features on one clock.

FeatureWithout a licenseWith a license
Wi-Fi setup, system information, online updatesYesYes
Nixie display effects, DIY hardware, Nixie Tube SettingsYesYes
Set the time from your phoneYesYes
Network time sync (NTP)—Yes
Time and date formats, LED effects—Yes
Alarms and chimesPreview onlyYes
Scheduled on/off—Yes
Home Assistant, Apple Home—Yes

The Device License page on the clock shows the current status.

Getting a license

  1. Find the clock's serial number (S/N) on its home page.
  2. Buy a license in our store and enter the serial number at checkout. See Omnixie X license.
  3. We email your code within 30 minutes, 24 hours at the latest.
  4. Paste the 128-character code on the clock's Device License page. Spaces, line breaks and dashes are fine.

Bought an NTDB4, NCH6300HV or NCH8200HV from our store? Each board gets you one license at 90% off. We email you a personal link after your order, valid for one year.

Rules

  • Each code is tied to one clock's serial number. It cannot be moved to another clock.
  • Because it is tied to the serial number, the code keeps working after a reinstall. After a Fresh install, enter it again.

Lost your code?

Use the License Code Lost button at the bottom of the clock's Device License page, or go to authlost.omnixie.cn. We resend the code to the email address you used when you bought it.

FAQ #

Which ESP32 board can I use?

An ESP32-S3 with 16 MB flash and 8 MB PSRAM (N16R8), such as the ESP32-S3-DevKitC-1 N16R8. Other variants are not supported, and the installer checks the board before writing.

Does it work with 5 GHz Wi-Fi?

No. Omnixie X connects to 2.4 GHz networks (802.11 b/g/n). Most routers offer 2.4 GHz alongside 5 GHz.

I can't find the hotspot or open the web page

If the clock can't join its saved Wi-Fi, it opens the Omnixie_X_… hotspot again. On the hotspot, open http://192.168.4.1. Once the clock is online, use the address the wizard showed (e.g. http://omnixie.local) or the IP address from your router; some Android phones don't support .local addresses.

The time is wrong

Check the time zone on the Time Sync page. Without a license the clock does not sync network time: use Use Phone Time. Without an RTC module the clock forgets the time when power is lost.

The installer page says my browser can't install firmware

Installing needs Web Serial, which Safari, Firefox and phones don't have. Use Chrome, Edge or Opera on a computer, or download the .bin files and flash them yourself.

Will an update erase my settings or license?

No. Online updates and the installer's Update option keep Wi-Fi, settings and the license. Only Fresh install, or erasing the flash yourself, wipes them.

Home Assistant doesn't show the clock

Check that the clock has a license, that the broker address, port and login on the IoT page are right, that the discovery prefix matches Home Assistant's (homeassistant by default), and that the MQTT integration is set up in Home Assistant. The IoT page shows the connection status.

Does the clock send data to Omnixie?

Omnixie X can send device statistics to help us improve the product. It is on by default; you can leave the programme at any time in the setup wizard or on the IoT page. Details are in our privacy notice.

Where is the manual?

Omnixie products ship without printed manuals. Manuals and guides are on our Downloads page, and the DIY build is covered step by step in the build guide.

Still stuck?

Email support@omnixie.cn. Screenshots of the System page and, for DIY builds, the DIY Hardware page, plus the boot log from the UART port, help us answer quickly.