Skip to content

Added doc for homekit #4720

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 7 commits into from
Feb 21, 2018
Merged

Added doc for homekit #4720

merged 7 commits into from
Feb 21, 2018

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Feb 20, 2018

Description:
Added initial documentation for new HomeKit Component.

Pull request in home-assistant (if applicable): home-assistant/core#12488

Checklist:

  • Branch: Fixes, changes and adjustments should be created against current. New documentation for platforms/components and features should go to next.
  • The documentation follow the standards.

---
layout: page
title: "Homekit"
description: "Instructions how to setup the homekit component in Home Assistant."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be HomeKit throughout the docs. That is how Apple calls it :)


| Issue | Solution |
| ----- | -------- |
| Z-Wave components are not available in `HomeKit`. | (See note unter [supported components](#supported-components)) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo unter

3. The `Home Assistant` Bridge should be listed their. Select it and follow the instructions to complete the setup.

After the setup is complete you should be able to control your Home Assistant Components through `HomeKit`.
* If you do have problems with the setup, you might find answers in our [forum](https://community.home-assistant.io/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need this here. Unless we create a separate thread for HomeKit.


## {% linkable_title Supported Components %}

Currently supported are the following components:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following components are currently supported:

@cdce8p
Copy link
Member Author

cdce8p commented Feb 20, 2018

@arsaboo Fixed your comments

arsaboo
arsaboo previously approved these changes Feb 20, 2018
type: map
keys:
pincode:
description: Pincode required during setup of HomeKit Home Assistant accessory. The Format needs to be 'XXX-XX-XXX' where X is a number between 1 and 9.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pin code, format


## {% linkable_title Setup %}

To enable the `HomeKit` component in Home Assistant, add the following to your configurations file:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

configuration

pincode: '123-45-678'
```

<p class='note'>It is not recommended to choose '123-45-678' as your pincode! The Pincode must be of the format 'XXX-XX-XXX' where X is a number between 1 and 9.</p>
Copy link
Contributor

@c727 c727 Feb 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pin code, 2x . the 2nd part is already written above


<p class='note'>It is not recommended to choose '123-45-678' as your pincode! The Pincode must be of the format 'XXX-XX-XXX' where X is a number between 1 and 9.</p>

After Home Assistant has started, all supported entities (see the [list](#supported-components) belove which entities are already) will be ready to be added to `HomeKit`. To add them:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

below, already integrated?

"will exposed to ..."

<p class='note'>It is not recommended to choose '123-45-678' as your pincode! The Pincode must be of the format 'XXX-XX-XXX' where X is a number between 1 and 9.</p>

After Home Assistant has started, all supported entities (see the [list](#supported-components) belove which entities are already) will be ready to be added to `HomeKit`. To add them:
1. Open the `HomeKit` App.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the name of the app is Home not homekit


After Home Assistant has started, all supported entities (see the [list](#supported-components) belove which entities are already) will be ready to be added to `HomeKit`. To add them:
1. Open the `HomeKit` App.
2. Choose `Add Accessory` and then `Don't Have a Code or Can't Scan?`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sentence style for capitalization?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't Have a Code or Can't Scan? that's how it's written in the app.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so keep it as it's in the app :)

After Home Assistant has started, all supported entities (see the [list](#supported-components) belove which entities are already) will be ready to be added to `HomeKit`. To add them:
1. Open the `HomeKit` App.
2. Choose `Add Accessory` and then `Don't Have a Code or Can't Scan?`.
3. The `Home Assistant` Bridge should be listed their. Select it and follow the instructions to complete the setup.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there, complete setup

2. Choose `Add Accessory` and then `Don't Have a Code or Can't Scan?`.
3. The `Home Assistant` Bridge should be listed their. Select it and follow the instructions to complete the setup.

After the setup is complete you should be able to control your Home Assistant Components through `HomeKit`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

components through Home


| Issue | Solution |
| ----- | -------- |
| Z-Wave components are not available in `HomeKit`. | (See note under [supported components](#supported-components)) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Home

comments: false
sharing: true
footer: true
ha_category: HomeKit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

category should be voice cause of siri.maybe also other

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voice would work.

ha_category: HomeKit
ha_release: 0.64
ha_iot_class: "Local Polling"
logo: home-assistant.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add the correct logo please

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we are allowed to. As far as I know Apple limits the use of it to its certified partners.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the Homekit logo is OK ( https://www.ehome-news.de/wp-content/uploads/2014/09/homekit.jpg ), we use tons of other logos and it's not the "works with HomeKit"-logo for certified hardware

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might sound silly, but I'm not comfortable with uploading it myself, since I don't have the rights for the image. Feel free to upload it and we can add it, otherwise I would leave it at the default logo.

logo: home-assistant.png
---

The `HomeKit` component allows you to forward entities from Home Assistant to `HomeKit`, so they could be controlled from their as well.
Copy link
Contributor

@c727 c727 Feb 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to Apple Home app and Siri

from there

footer: true
ha_category: HomeKit
ha_release: 0.64
ha_iot_class: "Local Polling"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Local Polling the right class? HomeKit doesn't communicate with devices directly and it only works if Home Assistant and your Apple device are in the same local network.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or just remove the iot class?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this key, it's not required

@c727 c727 mentioned this pull request Feb 21, 2018
c727
c727 previously approved these changes Feb 21, 2018
c727
c727 previously approved these changes Feb 21, 2018
@c727
Copy link
Contributor

c727 commented Feb 21, 2018

requires the image from this PR: #4722


<p class='note'>It is not recommended to choose '123-45-678' as your pin code!</p>

After Home Assistant has started, all supported entities (see the [list](#supported-components) below which types are already integrated) will be exposed to `HomeKit`. To add them:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be compoments Instead of types. Types are just a way to organize the different adaptaions of a component.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right, thanks. OK to merge after this?

@cdce8p
Copy link
Member Author

cdce8p commented Feb 21, 2018

@c727 Should be good now. Thanks for helping making this much better!

@c727 c727 merged commit 12221b5 into home-assistant:next Feb 21, 2018
@cdce8p cdce8p deleted the next-homekit branch February 21, 2018 03:45
@ctripodi
Copy link

ctripodi commented Mar 2, 2018

Hi, I configured homekit a few minutes ago. The IOS homekit app do not see my MQTT covers. However, I could see the Temp sensors.
My configuration file have this line:
homekit:
pincode: secret!
cover:
- platform: mqtt
sensor:
- platform: mqtt

How Can I include the covers? Thanks.

@cdce8p
Copy link
Member Author

cdce8p commented Mar 2, 2018

@ctripodi Without more information, it's difficult to say why it isn't working. Add the moment the biggest issue is, that Home Assistant only searches for devices once (at startup). If a device is not registered when the event HOMEASSISTANT_START is send, the device will not be included. That is the issue with Z-Wave which is described in the doc. I'm not sure how MQTT handles it though.

Another reason might be that your cover doesn't support the set_cover_position function, which is a requirement for the current limitation.

A workaround for the time being could be to use a template cover: https://home-assistant.io/components/cover.template/ which controls your MQTT Cover.

I plan to work on those limitations this weekend, so they hopefully will be include in 0.65. If you still need more help, please open a new issue here: https://github.com/home-assistant/home-assistant/issues and include your log. Set the default logging to info and for the HomeKit component to debug: https://home-assistant.io/components/logger/

@ctripodi
Copy link

ctripodi commented Mar 2, 2018

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants