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

@qubiack/homebridge-samsung-windfree-ac

v2.0.0

Published

Homebridge plugin for Samsung WindFree AC with support for OAuth2 (not required to change token everyday). Base on https://github.com/igorxmath/homebridge-samsung-windfree-ac/

Readme

Homebridge Samsung WindFree AC

This is a Homebridge plugin for Samsung WindFree AC.

Description

This plugin allows you to control your Samsung WindFree AC through Homebridge.

Installation

Install this plugin using: hb-service add homebridge-samsung-windfree-ac

Configuration

Configuration parameters:

  • name: The name of the platform.
  • BaseURL: The base URL for the API.
  • authMethod: The authentication method to use. Options are:
    • oauth2 (Recommended): Uses OAuth2 authentication with a refresh token for permanent access.
    • pat: Uses a Personal Access Token that expires after 24 hours.

OAuth2 Authentication (Recommended)

For OAuth2 authentication, you need to provide the following parameters:

  • clientId: Your SmartThings client ID.
  • clientSecret: Your SmartThings client secret.
  • refreshToken: Your SmartThings refresh token.

To obtain these credentials:

  1. Go to the SmartThings CLI and install it by brew install smartthingscommunity/smartthings/smartthings or npm install -g @smartthings/cli.
  2. Run smartthings apps:create
  • add Display Name
  • add Description
  • skip icon
  • skip target
  • select r:device:*, w:device:*, x:device:*
  • move up to select Add Redirect URI
  • add: https://httpbin.org/get as redirect URI
  1. Enter web page - please replace CLIENT_ID with your OAuth Client ID from step 2: https://api.smartthings.com/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=https%3A%2F%2Fhttpbin.org%2Fget&scope=x%3Adevices%3A*+w%3Adevices%3A*+r%3Adevices%3A*
  2. Copy code from args object, eg. ZmZ2Z_

Here is a sample configuration for OAuth2 authentication:

{
    "platforms": [
        {
            "platform": "Homebridge Samsung WindFree AC",
            "name": "Samsung WindFree AC",
            "BaseURL": "https://api.smartthings.com/v1/",
            "authMethod": "oauth2",
            "clientId": "your_client_id",
            "clientSecret": "your_client_secret",
            "refreshToken": "your_refresh_token"
        }
    ]
}

Personal Access Token Authentication

For Personal Access Token authentication, you need to provide the following parameter:

Note: Personal Access Tokens expire after 24 hours and are intended for temporary development use.

Here is a sample configuration for Personal Access Token authentication:

{
    "platforms": [
        {
            "platform": "Homebridge Samsung WindFree AC",
            "name": "Samsung WindFree AC",
            "BaseURL": "https://api.smartthings.com/v1/",
            "authMethod": "pat",
            "AccessToken": "your_access_token"
        }
    ]
}

Supported Modes

  • off
  • cool
  • heat
  • auto

Supported Optional Modes

  • windFree

To enable this mode, you need to select the windFree option in the plugin settings.

Debugging

For detailed instructions on how to debug this plugin with breakpoints in WebStorm or VS Code, please see the DEBUGGING.md file.

Note: To access the Homebridge WebUI during debugging (http://localhost:8581), make sure the homebridge-config-ui-x plugin is installed. Run npm install before debugging to ensure all dependencies are installed.

Roadmap

  • [x] Add support for windFree mode.
  • [x] Add support for Schema App integration.
  • [ ] Add automated tests and CI/CD.
  • [x] Support for OAuth2.