npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-smartthings-oauth

v1.0.64

Published

Connects SmartThings devices to Homebridge. Automatically discovers devices.

Readme

SmartThings Homebridge Plugin with OAuth Support

Connects your SmartThings devices to Apple HomeKit through Homebridge. Works with the modern SmartThings app and API, discovers devices automatically, and uses OAuth with token refresh — no legacy app, no manual token management.

Supporters

A heartfelt thank-you to everyone who has supported this project on Ko-fi — your generosity keeps the plugin maintained and improving.

| Supporter | Contribution | |---|---| | @Jayip | $15 | | phil | $10 | | Samuel | $7 | | @joannadal | $5 |

Special thanks to each of you for believing in this project.

Features

  • No legacy app required — works with the new SmartThings app and API.
  • Automatic device discovery — devices are added (and removed) as your SmartThings network changes.
  • UI-based OAuth wizard — set up authentication from the Homebridge UI without a public tunnel.
  • Optional real-time webhooks — push updates from SmartThings for instant device state changes (polling continues as a fallback).
  • Broad device support — lights, switches, climate, sensors, locks, security panels, washers/dryers/dishwashers, Samsung TVs (including Frame TVs), multi-zone refrigerators, and more.

Supported Devices

The plugin automatically maps SmartThings capabilities to HomeKit accessories. At a glance:

| Category | What's exposed in HomeKit | |---|---| | Lights & Switches | On/off, dimming, color, color temperature | | Fans | Speed control, fan + light combos | | Climate | Thermostats, A/C units, air purifiers, temperature & humidity sensors | | Locks & Doors | Smart locks, garage doors | | Window Coverings | Shades and blinds (open/close + level) | | Sensors | Motion, occupancy, contact, water leak, smoke, CO, illuminance, buttons | | Security Systems | Arm/disarm panels with live alarm reporting | | Televisions | Samsung TVs with input picker, volume, app launcher; full Frame TV control | | Appliances | Washers, dryers, dishwashers, multi-zone Samsung Family Hub refrigerators | | Valves | Smart water valves | | Battery | Reported as a companion characteristic on supported devices |

For the full SmartThings-capability → HomeKit-service mapping, see Supported Devices and Capabilities on the wiki.

Quick Start

  1. Install the plugin in the Homebridge UI: search for Homebridge Smartthings oAuth Plugin in the Plugins tab and click Install.
  2. Create a SmartThings OAuth app with the SmartThings CLI (smartthings apps:create). Save the Client ID and Client Secret.
  3. Open the OAuth Setup Wizard from the plugin settings and follow the four wizard steps.
  4. Restart Homebridge — your SmartThings devices appear in HomeKit.

Full walkthrough with screenshots, prompt-by-prompt CLI guidance, and the authorization-code copy step: Installation and OAuth Setup.

Optional Features

Real-time updates via webhooks. Polling works out of the box; if you'd rather have SmartThings push events instantly, set up a public tunnel (ngrok, Cloudflare Tunnels) and configure the webhook URL. Polling continues to run as a fallback. → Webhooks and Real-Time Updates

Samsung Frame TV. Frame TVs enter Art Mode when SmartThings sends "off" instead of truly powering down. The plugin can use a local WebSocket to send a true power-off command, plus expose an Art Mode toggle switch in HomeKit. → Samsung Frame TV

TV App Launcher. Add Netflix, YouTube, Disney+, and other Samsung TV apps to the HomeKit input picker so you can launch them from a Home tile. → Samsung Frame TV → TV App Launcher

Configuration

All configuration is done through the Homebridge UI form, which has inline descriptions for every field. For a single-page reference of every setting (type, default, when to use it), see Configuration Reference.

Troubleshooting & Help

Changelog

See CHANGELOG.md for version history and detailed release notes.

Credits

This is a fork of the original homebridge-smartthings plugin by @iklein99, enhanced with OAuth support, automatic token refresh, and the OAuth Setup Wizard.