Custom component for Home Assistant to support Brematic devices.
- Brennenstuhl (*)
- Intertechno
- ConnAir
- Brennenstuhl RCS1000N (*)
- Brennenstuhl RCR1000N
- Elro AB440SA
- Intertechno CMR300 (*)
- Intertechno CMR500 (*)
- Intertechno CMR1000 (*)
- Intertechno ITR300
- Intertechno ITR3500
- Intertechno PAR1500
(*) Tested devices
There are two ways for installing this custom component. Manually or by using custom_updater.
- Download this repository to your machine
- Copy the folder
brematic
to<config>/custom_components/
- 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
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.
- 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
- unit_code
- identifier
The original setup of this repository is by Tobias Efinger.
For a full list of all authors and contributors, check the contributor's page.
Thanks to d-Rickyy-b for the awesome pyBrematic package which is used in this component.
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.