
* Add SmartThings Light platform docs * Minor tweaks * Specify the classic ST mobile app * Updated ha_version
4.2 KiB
layout, title, description, date, sidebar, comments, sharing, footer, featured, logo, ha_category, ha_release, ha_iot_class, redirect_from
layout | title | description | date | sidebar | comments | sharing | footer | featured | logo | ha_category | ha_release | ha_iot_class | redirect_from | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
page | SmartThings | Instructions on setting up Samsung SmartThings within Home Assistant. | 2018-01-14 00:00 | true | false | true | true | true | samsung_smartthings.png |
|
0.87 | Cloud Push |
|
Samsung SmartThings is integrated into Home Assistant through the SmartThings Cloud API. The SmartThings component is the main component to integrate all SmartThings related platforms. The basic features of this integration include:
- Controlling SmartThings devices with pushed state updates from SmartThings.
- Entities automatically added, removed, or updated when changed in SmartThings (upon Home Assistant restart).
- Support for multiple SmartThings accounts and locations, each represented as a unique integration in the front-end configuration.
- No brokers, bridges, or additional dependencies.
There is currently support for the following device types within Home Assistant:
- Switch (SmartThings switch platform)
{% linkable_title Basic requirements %}
- A personal access token tied to a Samsung or SmartThings account (see below for instructions).
- Home Assistant setup for remote access via a domain name secured with SSL. Self-signed SSL certificates are not supported by the SmartThings Cloud API.
base_url
of the http component set the URL that Home Assistant is available on the internet.
{% linkable_title Setup instructions %}
{% linkable_title Create personal access token %}
- Log into the personal access tokens page and click 'Generate new token'
- Enter a token name (can be whatever you want), for example, 'Home Assistant' and select the following authorized scopes:
- Devices (all)
- Installed Apps (all)
- Locations (all)
- Apps (all)
- Schedules (all)
- Scenes (all)
- Click 'Generate token'. When the token is displayed, copy and save it somewhere safe (such as your keystore) as you will not be able to retrieve it again.
{% linkable_title Configure Home Assistant %}
The SmartThings component is configured exclusively through the front-end. Manual setup through `configuration.yaml` is not available at this time.
- From the Home Assistant front-end, navigate to 'Configuration' then 'Integrations'. Under 'Set up a new integration' locate 'SmartThings' and click 'Configure'.
- Enter the personal access token created above and click 'Submit'
- When prompted, install the SmartApp:
- Open the SmartThings Classic mobile app. Navigate to 'Automation' and select the 'SmartApps' tab.
- Click 'Add a SmartApp', scroll to the bottom, and select 'My Apps', then choose 'Home Assistant'.
- Optionally change the display name and press 'Done'
- Authorize the app by pressing 'Allow'
- Return to Home Assistant and click 'Submit'.
Advanced: If you have multiple locations in SmartThings, each can be integrated into Home Assistant. Follow the steps above, then for each subsequent location, install the SmartApp and it will automatically add to Home Assistant. This can be completed during step 3 (install SmartApp) above or at any time after that.
{% linkable_title Additional information %}
Supported capabilities/device mapping
SmartThings represents devices as a set of capabilities and the SmartThings component follows the following rules to represent those as entities in Home Assistant:
Capabilities | Platform |
---|---|
switchLevel , colorControl and colorTemperature |
light |
switch |
switch |
Support for additional capabilities will be added in the future.