Skip to content

API Documentation

The Man edited this page Aug 3, 2021 · 2 revisions

Caution: Still a WIP.

API Usage

The nixie clock offers some API endpoints that allow the user to modify certain aspects of the clock.
With these API endpoints it is possible to...

  • Alter the network configuration.
    • Set connectivity mode (AP, station)
    • Set SSID/PSK for station mode
  • Alter the nixie display.
    • Brightness
    • Cathode depoisoning mode
    • Individual tube display
  • Alter the time configuration
    • Set manual time
    • Set NTP sync
      • NTP source
      • UTC offset
      • DST

Notes

All API requests must be use the POST method and supply Content-Type with application/json.
Failure to do so will result in a HTTP/404 response.

Clone this wiki locally