https://github.com/alexxit/ergomotion
Home Assistant custom component for control Ergomotion Smart Beds via Bluetooth module
https://github.com/alexxit/ergomotion
bluetooth hacs home-assistant
Last synced: about 1 year ago
JSON representation
Home Assistant custom component for control Ergomotion Smart Beds via Bluetooth module
- Host: GitHub
- URL: https://github.com/alexxit/ergomotion
- Owner: AlexxIT
- Created: 2023-10-01T12:04:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T10:41:59.000Z (over 1 year ago)
- Last Synced: 2025-03-31T05:04:32.929Z (about 1 year ago)
- Topics: bluetooth, hacs, home-assistant
- Language: Python
- Homepage:
- Size: 94.7 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ergomotion Smart Beds for Home Assistant
[Home Assistant](https://www.home-assistant.io/) custom component for control [Ergomotion Smart Beds](https://eu.ergomotion.com/) via Bluetooth module.
Supports:
- head and foot actual position with online moving status (`cover` position)
- head and foot massage speed control (`fan` speed)
- massage timeout control (`fan` mode) and remain time counter (`light` attributes)
- scene selection (`light` effects)
- fast flat scene (turn off `light`)
- led control (`light`)


## Installation
[HACS](https://hacs.xyz/) > Integrations > 3 dots (upper top corner) > Custom repositories > URL: `AlexxIT/Ergomotion`, Category: Integration > Add > wait > Ergomotion > Install
Or manually copy `ergomotion` folder from [latest release](https://github.com/AlexxIT/Ergomotion/releases/latest) to `/config/custom_components` folder.
## Configuration
1. Add default [Bluetooth](https://www.home-assistant.io/integrations/bluetooth/) integration.
2. Configuration > [Integrations](https://my.home-assistant.io/redirect/integrations/) > Add Integration > [Ergomotion Smart Beds](https://my.home-assistant.io/redirect/config_flow_start/?domain=ergomotion)
If you have no MAC address in the setup window, then your HA server can't currently discover any smart bed nearby.
## Bluetooth
Read recommendations here - [Jura Coffee Machines](https://github.com/AlexxIT/Jura).
## Connection
By default, the integration maintains a connection to the bed **for two minutes** after:
- Hass start
- last command
- last manual state update
For manual update use `homeassistant.update_entity` service with `binary_sensor.connection` entity:
```yaml
automation:
trigger:
- platform: time_pattern
seconds: "/110"
action:
- service: homeassistant.update_entity
target:
entity_id: binary_sensor.aabbccddeeff_connection # change to your entity_id
```