GithubHelp home page GithubHelp logo

alexxit / ergomotion Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 0.0 95 KB

Home Assistant custom component for control Ergomotion Smart Beds via Bluetooth module

Python 100.00%
bluetooth hacs home-assistant

ergomotion's Introduction

Ergomotion Smart Beds for Home Assistant

Home Assistant custom component for control Ergomotion Smart Beds 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 > 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 to /config/custom_components folder.

Configuration

  1. Add default Bluetooth integration.

  2. Configuration > Integrations > Add Integration > Ergomotion Smart Beds

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.

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:

automation:
  trigger:
    - platform: time_pattern
      seconds: "/110"
  action:
    - service: homeassistant.update_entity
      target:
        entity_id: binary_sensor.aabbccddeeff_connection  # change to your entity_id

ergomotion's People

Contributors

alexxit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ergomotion's Issues

Bluetooth connection established rarely...

The Mac address comes out fine so I can install the device. However, the Bluetooth connection status is sometimes online (1 in 10 times), and even if it is online, it quickly changes to offline and then does not come back online. Why is this like this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.