What was done
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.
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.
From the source
Questions about JMOWTO smart toilet
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.
The entry names Codex. The tools named alongside are Codex and REA.
Its author reports that it works. Checks recorded: real hardware yes.
Time spent, as reported by the author: About half an hour. This site does not measure either figure.
Discussion
Sources
- https://x.com/thinkszyg/status/2109309251533570509
- https://x.com/thinkszyg/status/2109526361971073103
Sources reviewed · Added
An AI model drafted this entry from the sources above. Checked against the sources on 18 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.


