Code Monkey home page Code Monkey logo

hass-brematic's Introduction

GitHub release GitHub Maintenance project stage GitHub commit activity

Custom component: Brematic

Custom component for Home Assistant to support Brematic devices.

Supported devices

Gateways

  • Brennenstuhl (*)
  • Intertechno
  • ConnAir

Devices

  • Brennenstuhl RCS1000N (*)
  • Brennenstuhl RCR1000N
  • Elro AB440SA
  • Intertechno CMR300 (*)
  • Intertechno CMR500 (*)
  • Intertechno CMR1000 (*)
  • Intertechno ITR300
  • Intertechno ITR3500
  • Intertechno PAR1500

(*) Tested devices

Installation

There are two ways for installing this custom component. Manually or by using custom_updater.

Manual installation

  • Download this repository to your machine
  • Copy the folder brematic to <config>/custom_components/

Custom updater

  • Make sure you have custom_updater installed and running
  • Add the url for the brematic component to your custom_updater configuration like this:
custom_updater:
  component_urls:
    - https://raw.githubusercontent.com/tefinger/hass-brematic/master/custom_updater.json

Configuration

Add the brematic platform as a switch to your configuration.yaml file.

switch:
  - platform: brematic
    host: '10.0.3.2'
    system_code: '01010'
    gateway_type: 'Brennenstuhl'
    switches:
      power_outlet:
        unit_code: '00010'
        friendly_name: Power Outlet
      floor_lamp:
        unit_code: '11111'
        unit_type: 'RCS1000N'
      smartphone_charger:
        unit_code: '010101'
        friendly_name: 'Smartphone Camera'
        value_template: '{{ is_state("binary_sensor.huawei_is_charging", "on") }}'

Please note: only switch is supported. If you want to control your power outlet as a light please refer to the light switch component.

Configuration variables

  • host
      (string) (Required) Ip address or hostname of the gateway
  • system_code
      (string) (Required) System code you use for your devices
  • gateway_type
      (string) (Optional) Type of the gateway (Brennenstuhl, Intertechno)
       default: Brennenstuhl
  • switches
      (map) (Required) The array that contains all switches
    • identifier
        (map) (Required) Name of the command switch as slug. Multiple entries are possible.
      • unit_code
          (string) (Required) Unit code of the device
      • unit_type
          (string) (Optional) Type of the unit (RCS1000N, RCR1000N, AB440SA, CMR300, CMR500, CMR1000, ITR300, ITR3500, PAR1500)
           default: RCS1000N
      • friendly_name
          (string) (Optional) Friendly name of the device
      • value_template
          (string) (Optional) Template for assuming switch state

Authors & contributors

The original setup of this repository is by Tobias Efinger.

For a full list of all authors and contributors, check the contributor's page.

Credits

Thanks to d-Rickyy-b for the awesome pyBrematic package which is used in this component.

License

MIT License

Copyright (c) 2021 Tobias Efinger

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

hass-brematic's People

Contributors

tefinger avatar thezoker avatar shawly avatar

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.