{
  "api_version": "1.0.0",
  "slug": "smart-toilet-ble-mac-menu-bar-codex-rea",
  "url": "https://reversedwithai.com/p/smart-toilet-ble-mac-menu-bar-codex-rea",
  "markdown_url": "https://reversedwithai.com/p/smart-toilet-ble-mac-menu-bar-codex-rea.md",
  "json_url": "https://reversedwithai.com/p/smart-toilet-ble-mac-menu-bar-codex-rea.json",
  "title": "Turned a smart toilet's Bluetooth protocol into a Mac menu bar remote with Codex and REA",
  "tagline": "A smart toilet's lid, opened from the Mac menu bar.",
  "summary": "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.",
  "target": {
    "name": "JMOWTO smart toilet",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "Bluetooth LE, WeChat mini program to macOS",
  "models": [
    "Codex"
  ],
  "tools": [
    "Codex",
    "REA"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": "About half an hour",
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": "yes",
    "independently_verified": null
  },
  "author": {
    "name": "thinkszyg",
    "url": "https://x.com/thinkszyg"
  },
  "sources": {
    "repository": null,
    "writeup": "https://x.com/thinkszyg/status/2109309251533570509",
    "discussions": [
      "https://x.com/thinkszyg/status/2109526361971073103"
    ],
    "all": [
      "https://x.com/thinkszyg/status/2109309251533570509",
      "https://x.com/thinkszyg/status/2109526361971073103"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/smart-toilet-ble-mac-menu-bar-codex-rea.webp",
    "credit": "Image: @thinkszyg on X"
  },
  "commit_history": null,
  "added_at": "2026-10-18T08:04:21.744489+00:00",
  "updated_at": "2026-10-18T08:04:21.744489+00:00",
  "sources_reviewed_at": "2026-10-18T08:04:21.744489+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "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.\n\n### How it was done\n\nThe 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.\n\n### Results\n\nThe 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.",
  "ai_use_excerpts": null
}
