-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Add Kira component documentation #2603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| --- | ||
| layout: page | ||
| title: "Kira" | ||
| description: "Instructions how to integrate Keene Electronics IR over IP modules (Kira) into Home Assistant." | ||
| date: 2017-05-07 00:00 | ||
| sidebar: true | ||
| comments: false | ||
| sharing: true | ||
| footer: true | ||
| logo: keene.png | ||
| ha_category: Hub | ||
| ha_release: 0.45 | ||
| --- | ||
|
|
||
| The `kira` component is the main component to integrate Keene Electronics IR over IP [Kira](https://www.keene.co.uk/keene-ir-anywhere-single-worldwide.html) modules with Home Assistant. | ||
|
|
||
| ### {% linkable_title Example Configuration %} | ||
|
|
||
| ```yaml | ||
| # Example configuration.yaml entry | ||
| kira: | ||
| ``` | ||
|
|
||
| Kira modules have no built-in mechanism for auto-discovery, so will need to be configured to send packets to Home Assistant. Documentation for this can be found on the manufacturer's website [Here](https://www.keene.co.uk/pages/iranywhere/index.html). | ||
|
|
||
| ### {% linkable_title Configuration Options %} | ||
|
|
||
| ```yaml | ||
| # Example configuration.yaml entry | ||
| kira: | ||
| sensors: | ||
| - name: kira_sensor | ||
| host: 0.0.0.0 | ||
| port: 65432 | ||
| remotes: | ||
| name: kira_remote | ||
| host: 192.168.100.1 | ||
| port: 65432 | ||
| ``` | ||
|
|
||
| Configuration variables: | ||
| - **sensors** (*Optional*): Kira sensors to register | ||
| - **name** (*Optional*): Name of this sensor. | ||
| - **host** (*Optional*): Bind address for this sensor. 0.0.0.0 is default. | ||
| - **port** (*Optional*): UDP port to listen for packets on. 65432 is default. | ||
| - **remotes** (*Optional*): Remote Kira modules to register | ||
| - **name** (*Optional*): Name of this remote. | ||
| - **host** (*Required*): IP address of Kira module to send commands to. | ||
| - **port** (*Optional*): UDP port to send packets to. 65432 is default. | ||
|
|
||
| If no sensors or remotes are specified, a sensor with default values will be added. | ||
|
|
||
| ### {% linkable_title Code Configuration %} | ||
|
|
||
| The first time the Kira component is loaded, `kira_codes.yaml` will be created in the Home Assistant configuration directory. | ||
|
|
||
| ```yaml | ||
| # Example kira_codes.yaml entry | ||
| - name: LivingRoomTVOn | ||
| code: "K 2322 228A 1126 023E 0227 023E 0207 023F 0658 025D 0207 023F 0227 0220 0227 023F 0222 023E 0222 0220 067D 023F 0658 0222 0227 025C 0640 023F 0658 025D 0640 023E 0658 025D 0640 023F 0222 025C 0207 0222 0678 023E 0207 023F 0227 023F 0222 025C 063B 025C 0640 023E 0660 023E 0658 025D 0207 0222 0678 023E 0660 0220 0678 023E 0202 025D 0207 023F 2000" | ||
| type: kira | ||
| - name: HDMI_1 | ||
| code: "0000 006d 0026 0000 0155 00aa 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0014 0016 0015 0016 0015 0016 0040 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0014 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0014 0016 0014 0016 0040 0016 0040 0016 0014 0016 0015 0016 060b 0155 0055 0016 0e58 0155 0055 0016 00aa" | ||
| device: LivingRoomTv | ||
| type: pronto | ||
| - name: RGB | ||
| code: "F709 DC24" | ||
| device: LivingRoomTv | ||
| type: nec | ||
| ``` | ||
|
|
||
| Configuration variables: | ||
| - **name** (*Required*): The name of this code. | ||
| - **code** (*Required*): The data for this code (see below). | ||
| - **device** (*Optional*): The device this code is associated with. Default is "unknown". | ||
| - **type** (*Optional*): The type of this code. If this field is omitted, the type will be autodetected if possible. | ||
| - **repeat** (*Optional*): The number of times to repeat this code (on transmit). Default is 1. | ||
|
|
||
| Some manufacturers (e.g. Samsung) require an IR code to be sent a number of times in a row in rapid succession (usually 3). This doesn't apply to the vast majority of devices, but it can be helpful if needed. | ||
|
|
||
| ### {% linkable_title Code Types %} | ||
|
|
||
| When creating an entry in `kira_codes.yaml`, a few different kinds of codes can be used. | ||
| - **kira**: This is the native wire protocol used by Kira modules. These can be captured using netcat. | ||
| - **pronto**: Pronto codes are supported. | ||
| - **nec**: If the device uses NEC IR codes and the manufacturer has published them, they can be used here. | ||
|
|
||
| **NOTE**: NEC codes by themselves contain enough information to recognize an IR sequence, but not enough to reconstruct it. Codes of this type are receive-only (usable by sensors but not remotes). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| layout: page | ||
| title: "Kira Remote" | ||
| description: "Instructions how to integrate Kira modules into Home Assistant." | ||
| date: 2017-05-07 17:00 | ||
| sidebar: true | ||
| comments: false | ||
| sharing: true | ||
| footer: true | ||
| logo: keene.png | ||
| ha_category: Remote | ||
| ha_iot_class: "Assumed State" | ||
| ha_release: 0.45 | ||
| --- | ||
|
|
||
| The `kira` platform allows you to send IR commands via [Kira](https://www.keene.co.uk/keene-ir-anywhere-single-worldwide.html) modules from within Home Assistant. | ||
|
|
||
| For configuration information see the [Kira component](/components/kira/) documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| layout: page | ||
| title: "Kira Sensor" | ||
| description: "Instructions how to integrate Kira modules into Home Assistant." | ||
| date: 2017-05-07 17:00 | ||
| sidebar: true | ||
| comments: false | ||
| sharing: true | ||
| footer: true | ||
| logo: keene.png | ||
| ha_category: Sensor | ||
| ha_iot_class: "Local Push" | ||
| ha_release: 0.45 | ||
| --- | ||
|
|
||
| The `kira` platform allows you to respond to your [Kira](https://www.keene.co.uk/keene-ir-anywhere-single-worldwide.html) modules from within Home Assistant. This enables Home Assistant to respond to infrared inputs from a standard remote control. | ||
|
|
||
| For configuration information see the [Kira component](/components/kira/) documentation. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest you keep the name in the description and this the same.