An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


Adjustable Bed Integration for Home Assistant


GitHub Release
Validation
HACS
Home Assistant 2025.10+
Sponsor


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.