<!-- Canonical page: https://reversedwithai.com/p/smart-toilet-ble-mac-menu-bar-codex-rea -->
Canonical page: https://reversedwithai.com/p/smart-toilet-ble-mac-menu-bar-codex-rea

# Turned a smart toilet's Bluetooth protocol into a Mac menu bar remote with Codex and REA

> A smart toilet's lid, opened from the Mac menu bar.

thinkszyg used Codex with REA to reverse engineer the Bluetooth protocol behind a smart toilet's WeChat mini program, and in about half an hour had a native Mac menu bar remote that opens the real lid.

## Key facts

- Target: JMOWTO smart toilet
- Category: Firmware and hardware
- Platform: Bluetooth LE, WeChat mini program to macOS
- Models: Codex
- Tools: Codex, REA
- Outcome: Works
- Time spent (author-reported): About half an hour
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: yes; Verified by others: not reported
- Author: [thinkszyg](https://x.com/thinkszyg)
- Added: 2026-10-18
- Updated: 2026-10-18
- Sources reviewed: 2026-10-18 (editor)

## What was done

thinkszyg put the smart toilet in the study into a Mac menu bar. Working with Codex, thinkszyg used REA to reverse engineer the Bluetooth protocol used by the toilet's WeChat mini program, then built a native remote control app in about half an hour. Clicking the lid button on the Mac moves the real lid.

### How it was done

The toilet is normally controlled through a WeChat mini program over Bluetooth. Codex, with REA as its reverse engineering tool, worked out that protocol from the mini program, and the pair then wrote a small native macOS app that talks to the toilet directly. The screen recording shows a JMOWTO control panel that scans for and connects to the device, with buttons for the lid, seat, flush, washing and drying, temperature presets, water pressure and a night light with colour and brightness.

### Results

The recording shows the app connected and the lid opening when the button is clicked. In a later reply thinkszyg says the same approach was extended to bring the rest of the home devices into the Mac menu bar. The post shares no code.

## Questions about JMOWTO smart toilet

### What is the JMOWTO smart toilet project?

thinkszyg used Codex with REA to reverse engineer the Bluetooth protocol behind a smart toilet's WeChat mini program, and in about half an hour had a native Mac menu bar remote that opens the real lid. It is listed under Firmware and hardware for Bluetooth LE, WeChat mini program to macOS.

### Which AI model was used on JMOWTO smart toilet?

The entry names Codex. The tools named alongside are Codex and REA.

### Did the AI reverse engineering of JMOWTO smart toilet work?

Its author reports that it works. Checks recorded: real hardware yes.

### How long did JMOWTO smart toilet take and what did it cost?

Time spent, as reported by the author: About half an hour. This site does not measure either figure.

## Sources

- [Write-up](https://x.com/thinkszyg/status/2109309251533570509)
- [Discussion](https://x.com/thinkszyg/status/2109526361971073103)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: thinkszyg (2026). Turned a smart toilet's Bluetooth protocol into a Mac menu bar remote with Codex and REA. Reversed with AI. https://reversedwithai.com/p/smart-toilet-ble-mac-menu-bar-codex-rea
