A Home Assistant integration for SmartThings that provides full support for all device types, capabilities, events, and automations offered by the SmartThings platform. This integration connects to SmartThings as a hub-style integration using a Personal Access Token (PAT) and supports real-time event subscriptions via secure tunneling.
- Open HACS in Home Assistant
- Go to "Integrations"
- Click the "⋮" menu and select "Custom repositories"
- Add
https://github.com/DSorlov/smartthingsceas an "Integration" - Click the "+" button and search for "SmartThings Community Edition"
- Install the integration
- Restart Home Assistant
- Download the latest release from GitHub
- Extract the
custom_components/smartthingscefolder to your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
You need a SmartThings Personal Access Token (PAT) with the following scopes:
r:devices:*- Read devicesx:devices:*- Execute device commandsr:locations:*- Read locationsr:scenes:*- Read scenesx:scenes:*- Execute scenesr:schedules- Read schedules (optional)
- Go to SmartThings Personal Access Tokens
- Click "Generate new token"
- Give it a name (e.g., "Home Assistant")
- Select the required scopes listed above
- Click "Generate token"
- Copy the token immediately - you won't be able to see it again!
- Go to Settings → Devices & Services
- Click Add Integration
- Search for "SmartThings Community Edition"
- Enter your Personal Access Token
- Select the location you want to connect
- Configure webhook settings (optional but recommended for real-time updates)
- Follow the configuration steps
The integration supports all SmartThings device types including:
- Air Conditioners
- Thermostats
- Fans
- Air Purifiers
- Humidifiers/Dehumidifiers
- Lights (Dimmable, Color, Temperature)
- Light Strips
- Bulbs
- Door/Window Sensors
- Motion Sensors
- Smoke Detectors
- CO Detectors
- Water Leak Sensors
- Security Systems
- Smart Locks
- Garage Door Openers
- Refrigerators - Temperature monitoring, status, alerts
- Washing Machines - Cycle status, modes, completion time
- Dryers - Operating state, modes, completion time
- Ovens & Ranges - Temperature control, cooking modes, safety features
- Dishwasher - Cycle status, modes, completion time
- Robot Vacuum Cleaners - Movement, cleaning modes, battery status
- Air Conditioners - Temperature control, operating modes
- TVs
- Speakers
- Media Players
- Smart Plugs
- Power Meters
- Energy Monitors
The integration provides services for controlling your devices:
# Turn on a device
service: smartthingsce.send_command
data:
device_id: device123
capability: switch
command: "on"
# Set thermostat temperature
service: smartthingsce.send_command
data:
device_id: thermostat123
capability: thermostatCoolingSetpoint
command: setCoolingSetpoint
arguments: [22]
# Set light color
service: smartthingsce.send_command
data:
device_id: light123
capability: colorControl
command: setColor
arguments:
hue: 50
saturation: 75# Execute a SmartThings scene
service: smartthingsce.execute_scene
data:
scene_id: scene123# Refresh all devices
service: smartthingsce.refresh_devicesContributions are welcome! Please feel free to submit a Pull Request. See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
See CHANGELOG.md for version history.
Developed by Daniel Sörlöv
Built with ❤️ for the Home Assistant community.