An Apple Watch remote for Sleep Dumber™ beds.
Raise the head, lower the foot, go flat, change firmness — straight from your wrist to the bed's pump over Bluetooth. No cloud, no account, no phone, no app that logs you out every two days. Built for half-asleep use: big buttons, haptics, one screen.
Unofficial. Not affiliated with, endorsed by, or supported by Sleep Number Corporation. "Sleep Number" is their trademark; "Sleep Dumber" is a joke. This talks to your bed using a protocol worked out by the community, not a published API. It moves a motorized bed and an air pump — use it at your own risk (see License).
| Part | What it is |
|---|---|
WatchApp/ |
The watchOS app: head/foot ±10 %, Flat, Favorite, Stop, firmness ±5 per side |
WidgetExtension/ |
Bed Remote complication (one tap from the watch face to the remote) and the Bed Favorite control (watchOS 26+): assign it to the Ultra's Action button to send the bed to Favorite with one press, in the dark |
MCRProtocol/ |
Swift package: the MCR wire protocol (MCRProtocol), a CoreBluetooth transport (MCRBluetooth), and bedctl, a Mac command-line tool for testing against a real bed |
docs/DESIGN-NOTES.md |
Protocol reference and everything learned validating it on hardware |
Probably only if your bed is the older "BAM / MCR" generation: the pump advertises the
Bluetooth service ffffd1fd-388d-938b-344a-939d1f6efee0. Newer beds (Climate 360, FlexFit
Smart on the "Fuzion" transport) use a different protocol and won't work.
Tested on one bed: SMART Sleep Smart Pump, firmware 0.4.1d9, with a single-piece FlexFit 2 ("360 FF2") base and dual air chambers. Split bases should work (the code handles them) but haven't been tested.
The quickest check: build bedctl (below) and run bedctl scan. If a line starts with MCR,
you're in business. bedctl info is read-only and tells you your base model and firmness.
Requirements: a Mac with Xcode (Swift 6 / watchOS 10 SDK or newer) and an Apple Watch on watchOS 10+. A free Apple developer account works, but apps signed with one expire after 7 days and need reinstalling.
cp Config/Local.xcconfig.example Config/Local.xcconfigand put in your team ID and a bundle ID prefix of your own.- Open
BedWatch.xcodeproj, choose your Watch as the run destination, press Run. (The project is generated fromproject.ymlwith XcodeGen; runxcodegen generateafter changing it.) - On first launch, allow Bluetooth.
- Optional, on an Ultra: Settings → Action Button → Bed Favorite. (Siri works too: "BedWatch favorite".)
Force-quit the Sleep Number app on your phone(s) first: the pump accepts one Bluetooth client at a time.
cd MCRProtocol
swift build
.build/debug/bedctl scan # list nearby Bluetooth devices
.build/debug/bedctl info # read-only: base model, positions, firmness
.build/debug/bedctl flat # Flat preset
.build/debug/bedctl head 20 # head to 20 %
.build/debug/bedctl foot 15
.build/debug/bedctl firmness left 55
.build/debug/bedctl stop
Every frame sent and received is logged as hex on stderr. swift test runs the protocol tests,
including frames captured from a real bed.
- One client at a time. While anything else is connected (phone app,
bedctl, the Watch app), nobody else can connect. - A stale connection silences the pump. If a client disappears without disconnecting, the pump stops advertising until it's power-cycled (unplug the pump ~30 s; it takes about a minute to come back). The app always disconnects cleanly for this reason.
- ha_smartbed has the pump-status sides backwards. The firmness reply is
[adjusting, RIGHT, LEFT], confirmed against the bed's own remote. See the design notes.
- The protocol comes from ha_smartbed by
kristofferR (MIT), a Home Assistant integration for many adjustable beds. Its Sleep Number MCR
implementation and frozen test vectors made this possible; parts of
MCRProtocolare a Swift port of it. - Looking for the temperature + humidity complication that used to live here? It's now its own app: CompactWeather.
MIT — see LICENSE. The ported ha_smartbed parts are covered by its MIT license, reproduced in THIRD_PARTY_NOTICES.md. Provided as is, without warranty of any kind.