https://github.com/kristofferr/ha-adjustable-bed
Home Assistant integration for controlling smart adjustable beds via Bluetooth
https://github.com/kristofferr/ha-adjustable-bed
adjustable-bed home-assistant homeassistant smart-bed smart-bed-system
Last synced: 3 months ago
JSON representation
Home Assistant integration for controlling smart adjustable beds via Bluetooth
- Host: GitHub
- URL: https://github.com/kristofferr/ha-adjustable-bed
- Owner: kristofferR
- License: mit
- Created: 2026-01-09T05:51:12.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2026-04-02T15:13:06.000Z (3 months ago)
- Last Synced: 2026-04-03T02:27:25.231Z (3 months ago)
- Topics: adjustable-bed, home-assistant, homeassistant, smart-bed, smart-bed-system
- Language: Python
- Homepage:
- Size: 5.45 MB
- Stars: 22
- Watchers: 2
- Forks: 7
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Support: docs/SUPPORTED_ACTUATORS.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
A Home Assistant custom integration for controlling smart adjustable beds via Bluetooth.
## Quick Start
1. **Install** via [HACS](https://hacs.xyz): Search for "Adjustable Bed" and install
2. **Discover** your bed automatically, or add manually via Settings โ Integrations
3. **Control** your bed from Home Assistant dashboards, automations, and voice assistants!
## Features
- **Motor Control** - Raise/lower head, back, legs, and feet
- **Memory Presets** - Jump to saved positions with one tap
- **Under-bed Lights** - RGB color control on supported beds, toggle on/off on others
- **Massage Control** - Adjust massage intensity and patterns
- **Position Feedback** - See current angles on supported beds
- **Automations** - "Flat when leaving", "TV mode at 8pm", etc.
## Need Help?
| Guide | What's Inside |
|-------|---------------|
| **[Troubleshooting](docs/TROUBLESHOOTING.md)** | Connection issues, commands not working |
| **[Getting Help](docs/GETTING_HELP.md)** | Bug reports, support requests, diagnostics |
| **[Connection Guide](docs/CONNECTION_GUIDE.md)** | ESPHome proxy setup, finding your bed's address |
| **[Supported Actuators](docs/SUPPORTED_ACTUATORS.md)** | Protocol details, bed brand lookup |
| | |
|---|---|
| ๐ฌ **[Ask a Question](https://github.com/kristofferR/ha-adjustable-bed/discussions/new?category=q-a)** | Get help from the community |
| ๐ก **[Suggest an Idea](https://github.com/kristofferR/ha-adjustable-bed/discussions/new?category=ideas)** | Feature requests and improvements |
| โค๏ธ **[Praise and Feedback](https://github.com/kristofferR/ha-adjustable-bed/discussions/131)** | Share your experience or say thanks |
Quick troubleshooting
1. **Check range** - Bluetooth adapter or proxy within ~10m of bed
2. **Disconnect other apps** - Most beds allow only one BLE connection
3. **Reload integration** - Settings โ Devices & Services โ Adjustable Bed โ Reload
4. **Enable debug logs** - Settings โ Devices & Services โ Adjustable Bed โ โฎ menu โ Enable debug logging. Reproduce issue, then disable to download logs.
## Donate
If you love this integration, please consider [sending a thanks my way](https://github.com/sponsors/kristofferR).
## Supported Beds
The names below refer to motor/actuator manufacturers. Your bed might use one of these internally - check the [Supported Actuators guide](docs/SUPPORTED_ACTUATORS.md) to find your bed brand.
| Actuator | Example Brands |
|----------|----------------|
| โ
[Linak](docs/beds/linak.md) | Tempur-Pedic, Bedre Nรฆtter, Jensen |
| โ
[Keeson](docs/beds/keeson.md) | Ergomotion, Tempur, Beautyrest, King Koil, Member's Mark, Purple, GhostBed, ErgoSportive |
| โ
[Richmat](docs/beds/richmat.md) | Casper, MLILY, Sven & Son, Avocado, Luuna, Jerome's |
| โ
[MotoSleep](docs/beds/motosleep.md) | HHC, Power Bob |
| โ
[Octo](docs/beds/octo.md) | Octo |
| โ
[Solace](docs/beds/solace.md) | Solace, Sealy, Woosa Sleep, QMS |
| โ
[Leggett & Platt](docs/beds/leggett-platt.md) | Leggett & Platt |
| โ
[Reverie](docs/beds/reverie.md) | Reverie |
| โ
[Okimat/Okin](docs/beds/okimat.md) | Lucid, CVB, Smartbed |
| โ
[Jiecang](docs/beds/jiecang.md) | Glideaway, Dream Motion, LOGICDATA |
| โ
[Kaidi](docs/beds/kaidi.md) | Rize Remedy III / newer Mouselet-based Rize beds, Floyd Home, ISleep |
| โ
[Limoss](docs/beds/limoss.md) | Limoss, Stawett |
| โ
[Jensen](docs/beds/jensen.md) | Jensen (JMC400, LinON Entry) |
| โ
[Svane](docs/beds/svane.md) | Svane |
| โ
[DewertOkin](docs/beds/dewertokin.md) | Many older Rize models, Simmons, Nectar, Resident, Symphony |
| โ
[Serta](docs/beds/serta.md) | Serta Motion Perfect |
| โ
[Mattress Firm 900](docs/beds/mattressfirm.md) | Mattress Firm, iFlex |
| โ
[Nectar](docs/beds/nectar.md) | Nectar |
| โ
[Malouf](docs/beds/malouf.md) | Malouf, Structures |
| โ
[BedTech](docs/beds/bedtech.md) | BedTech |
| โ
[Sleepy's Elite](docs/beds/sleepys.md) | Sleepy's |
| โ
[Vibradorm](docs/beds/vibradorm.md) | Vibradorm |
| โ
[SUTA Smart Home](docs/beds/suta.md) | SUTA |
| โ
[TiMOTION AHF](docs/beds/timotion-ahf.md) | TiMOTION |
| โ
[Rondure](docs/beds/rondure.md) | 1500 Tilt Base |
| โ
[Remacro](docs/beds/remacro.md) | CheersSleep, Jeromes, Slumberland, The Brick |
| โ
[Cool Base](docs/beds/coolbase.md) | Cool Base (Keeson with fan) |
| โ
[Scott Living](docs/beds/scott-living.md) | Scott Living |
| โ
[SBI/Q-Plus](docs/beds/sbi.md) | Q-Plus (Costco) |
| โ
[Logicdata](docs/beds/logicdata.md) | SILVERmotion, SimplicityFrame |
| โ
[Okin CB35](docs/beds/okin-cb35.md) | Sealy Posturematic |
| โ
[Okin CST](docs/beds/okin-cst.md) | Rize MF900 |
**Have one of these?** [Let us know](https://github.com/kristofferR/ha-adjustable-bed/issues) how well it works!
Some brands span multiple controller families. For example, many older Rize beds are DewertOkin, while newer `Mouselet`-advertising Rize beds use [Kaidi](docs/beds/kaidi.md).
## Will This Work With My Bed?
**Just try it!** The integration auto-detects most beds. Install it and see if your bed shows up.
**Didn't auto-detect?** Check the [Supported Actuators guide](docs/SUPPORTED_ACTUATORS.md) to find your bed's actuator brand, then add it manually.
**Still stuck?** [Open an issue](https://github.com/kristofferR/ha-adjustable-bed/issues) with your bed brand/model and we'll help!
**Other beds:** [Eight Sleep](https://github.com/lukas-clarke/eight_sleep) and [Sleep Number](https://www.home-assistant.io/integrations/sleepiq/) have their own integrations.
**WiFi and cloud-based beds [won't be supported](https://github.com/kristofferR/ha-adjustable-bed/issues/167)** โ this is a Bluetooth-only integration for the reasons stated in the link.
## Installation
### HACS (Recommended)
1. Open HACS in Home Assistant
2. Search for "Adjustable Bed"
3. Click Install
4. Restart Home Assistant
### Manual
Copy `custom_components/adjustable_bed` to your `config/custom_components/` directory and restart.
## Configuration
Your bed should auto-discover via Bluetooth. If not:
1. Go to **Settings** โ **Devices & Services** โ **Add Integration**
2. Search for "Adjustable Bed"
3. Enter your bed's Bluetooth address or select from discovered devices
To adjust settings after setup, click the **gear icon** on your device in Settings โ Devices & Services.
Quick reference
| Setting | Description |
|---------|-------------|
| Motor Count | 2 (back/legs), 3 (adds head), or 4 (adds feet) |
| Has Massage | Enable if your bed has massage |
| Protocol Variant | Usually auto-detected, override if needed |
| Motor Pulse Settings | Fine-tune movement timing |
| Disable Angle Sensing | Keep on to allow physical remote to work |
| Jensen PIN | 4-digit PIN for Jensen beds (default: 3060) |
| Octo PIN | 4-digit PIN for Octo beds that require authentication |
| Richmat Remote | Remote model code for Richmat beds |
See the [Configuration Guide](docs/CONFIGURATION.md) for all options.
## Bluetooth Setup
Works with Home Assistant's native Bluetooth:
- **Local adapter** on your HA host
- **[ESPHome Bluetooth Proxy](https://esphome.io/components/bluetooth_proxy.html)** for extended range
See the [Connection Guide](docs/CONNECTION_GUIDE.md) for setup help.
## Contributing
**We'd love your help!** This integration is actively developed and we're especially looking for:
- **Testers** - Own a bed we haven't fully tested? Your feedback is invaluable
- **Bug reports** - Found something wrong? [Open an issue](https://github.com/kristofferR/ha-adjustable-bed/issues)
- **Code contributions** - PRs welcome!
## Credits
Massive thanks to the [smartbed-mqtt](https://github.com/richardhopton/smartbed-mqtt) developers for their pioneering work reverse-engineering bed protocols!
Migrating from smartbed-mqtt?
This integration replaces smartbed-mqtt with several advantages:
- Uses Home Assistant's native Bluetooth (no ESPHome API issues)
- Works seamlessly with ESPHome Bluetooth proxies
- No MQTT broker required
- Native HA entities
To migrate: Install this integration, configure your bed, verify it works, then remove smartbed-mqtt.
## License
MIT License - see [LICENSE](LICENSE) for details.