Projects
Sunbed control system
2026–present · Updated 29 November 2026
I am replacing an old sunbed controller with a new unit based on the ESP32. Reception staff will manage everything from a browser, the client will see the remaining time on screen, and the sunbed will switch off on time even if the network goes down, the reception PC freezes, or a fault occurs in the control unit itself.
- Firmware for ESP32 (WT32-ETH01): session management, relay and triac switching with output monitoring, user accounts and roles, audit log, sales statistics, signed over-the-air updates with rollback support.
- Web interface over HTTPS for reception and administrator, in Czech and English, plus a read-only dashboard for the client.

- Safety watchdog: a second microcontroller ensures the session cannot run longer than paid for, even if the main firmware hangs. It runs a self-test before every sale.
- Hardware: four-layer main PCB with safe isolation from 230 V mains, and a top board carrying indicator LEDs and a STOP button.
- Mechanical design: enclosure with a printed overlay, indicators and a STOP button.

The boards are currently being manufactured. Next comes bring-up, testing, any necessary board revisions, and completing the firmware — followed by assembly into the enclosure and installation at the client’s premises.