Git Product home page Git Product logo

homeassistant-custom-components's Introduction

Custom components for Home Assistant

Broadlink IR Climate Component

Configuration variables:

name (Optional): Name of climate component
host (Required): The hostname/IP address of the broadlink rm device
mac (Required): The MAC address of the broadlink rm device
timeout (Optional): Timeout in seconds for the connection to the device
ircodes_ini (Required): The path of ir codes ini file
min_temp (Optional): Set minimum set point available (default: 16)
max_temp (Optional): Set maximum set point available (default: 30)
target_temp (Optional): Set initial target temperature. (default: 20)
target_temp_step (Optional): set target temperature step. (default: 1)
temp_sensor (Optional): entity_id for a temperature sensor, temp_sensor.state must be temperature.
default_operation (Optional): (default: 'off')
default_fan_mode (Optional): (default: auto)
customize (Optional): List of options to customize.
- operations (Optional*): List of operation modes (default: idle, heat, cool, auto)
- fan_modes (Optional*): List of fan modes (default: low, mid, high, auto)

Example:

climate:
  - platform: broadlink
    name: Toyotomi Akira
    host: 192.168.1.85
    mac: 'BB:BB:BB:BB:BB:BB'
    ircodes_ini: 'broadlink_climate_codes/toyotomi_akira.ini'
    min_temp: 16
    max_temp: 30
    target_temp: 20
    target_temp_step: 1
    temp_sensor: sensor.living_room_temperature
    default_operation: 'off'
    default_fan_mode: mid
    customize:
      operations:
        - 'off'
        - cool
        - heat
      fan_modes:
        - low
        - mid
        - high
        - auto

Broadlink IR Media Player

Configuration variables:

name (Optional): Name of climate component
host (Required): The hostname/IP address of the broadlink rm device
mac (Required): The MAC address of the broadlink rm device
timeout (Optional): Timeout in seconds for the connection to the device
ircodes_ini (Required): The path of ir codes ini file
ping_host (Optional): The IP address of your TV box. If your TV box has a LAN connection, the component can detect your actual TV state.
power_consumption_entity (Optional): entity_id for a power consumption sensor. If your TV box can provide the power consumption, the component can detect your actual TV state. If ping_host is set, the component ignores this value.
power_consumption_threshold (Optional)

Example:

media_player:
  - platform: broadlink
    name: Master Bedroom TV
    host: 192.168.1.85
    mac: 'BB:BB:BB:BB:BB:BB'
    ircodes_ini: 'broadlink_media_codes/philips.ini'
    ping_host: 192.168.1.70

How to make your INI Files:

The INI file must have a [general] section and optionally a [sources] section. In the [general] section you must fill all keys and values. The keys are:

[general]
turn_off = ...
turn_on = ...
previous_channel = ...
next_channel = ...
volume_down = ...
volume_up = ...
mute = ...

You are free to set any key name under [sources] section.

[sources]
My source 1 = ...
My source 2 = ...
.
.
.

You can combine 2 or more commands separated by a "|" character.

[sources]
My source 1 = ...|...
.
.
.

Broadlink RF Fan

Configuration variables:

name (Optional): Name of fan component
host (Required): The hostname/IP address of the broadlink rm device
mac (Required): The MAC address of the broadlink rm device
timeout (Optional): Timeout in seconds for the connection to the device
rfcodes_ini (Required): The path of RF codes ini file
default_speed (Optional): Default fan speed when fan is turned on
default_direction (Optional): Default fan rotation direction when turned on. Possible values are right (clockwise) and left (anti-clockwise). (default: left)
customize (Optional): List of options to customize.
- speeds (Optional*): List of supported speeds (default: low, medium, high)

Example:

fan:
  - platform: broadlink
    name: Living Room Fan
    host: 192.168.1.85
    mac: 'BB:BB:BB:BB:BB:BB'
    rfcodes_ini: 'broadlink_fan_codes/living_room_fan.ini'
    default_speed: low
    defaut_direction: left
    customize:
        speeds:
            - low
            - medium
            - high
            - highest

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.