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-cielo

v2.0.7

Published

A Homebridge plugin for controlling Cielo Thermostats for Mini Splits using node-cielo

Readme

Cielo Thermostat Homebridge Plugin

license npm npm

This plugin allows HomeKit to control Cielo mini splits using the node-smartcielo-ws package.

Important: Version 2.0+ Requires 2Captcha

Why the change? Cielo recently added captcha protection to their login page, which means automated tools (like this plugin) can no longer log in without solving captchas. To continue using this plugin, you'll need a 2Captcha account.

What is 2Captcha? It's a service that solves captchas automatically for a small fee (about $0.003 per captcha). The plugin only needs to solve a captcha when reconnecting to Cielo's servers, which happens rarely (typically 1-15 times per month during network issues).

Expected cost: Most users will spend $0.01-0.05 per month. The connection stays active even after your login expires, so you're not being charged constantly.

Disclaimer: I have no affiliation with 2Captcha and take no responsibility for their service. It's simply the solution I found during my research to get this plugin working again after Cielo added captcha protection.

Setup Instructions

Step 1: Get a 2Captcha API Key

  1. Go to 2captcha.com
  2. Click "Sign Up" and create an account
  3. Add funds to your account (minimum $3)
  4. Go to your dashboard and copy your API key (it looks like a long string of letters and numbers)

Step 2: Configure the Plugin

Use the Homebridge UI to configure the plugin with:

  • 2Captcha API Key: The API key you copied from 2captcha.com
  • Username: Your Cielo account email
  • Password: Your Cielo account password
  • IP Address: Your public IP address (used as a session identifier)
  • MAC Addresses (optional): The MAC address of each Cielo unit you want to control. If left empty, the plugin will automatically discover all HVAC units on your account

Example configuration:

{
  "platform": "cielo",
  "twocaptcha_api_key": "your-2captcha-api-key-here",
  "username": "[email protected]",
  "password": "your-password",
  "ip": "123.456.789.012",
  "macAddresses": [
    "AABBCCDDEEFF"
  ]
}

How It Works

This plugin has two main parts:

  1. homebridge-smartcielo (this plugin) - Connects Homebridge to Cielo's cloud service
  2. node-smartcielo-ws (underlying package) - Handles communication with Cielo's API, including captcha solving

When you restart Homebridge or the plugin needs to reconnect:

sequenceDiagram
    participant HB as Homebridge Plugin
    participant WS as node-smartcielo-ws
    participant TC as 2Captcha Service
    participant Cielo as Cielo API

    HB->>WS: Connect to Cielo
    WS->>Cielo: Request login page
    Cielo->>WS: Return captcha challenge
    WS->>TC: Send captcha to solve
    TC->>WS: Return captcha solution
    WS->>Cielo: Submit login with solution
    Cielo->>WS: Grant access token
    WS->>HB: Connection established
    HB->>WS: Control your thermostat

Once connected, the plugin maintains a WebSocket connection to Cielo's servers, allowing HomeKit to control your thermostat in real-time. The connection stays alive for extended periods, so captcha solving happens infrequently.

Acknowledgements

Like node-mrcool, this code was initially based on Nicholas Robinson's homebridge-smartcielo. I then copied isaac-webb's version and refactored it to work with my rewritten version of the API package, including updates for captcha support and auto-discovery features.

Contributing

This is my first fork of another package, and I'm still learning how to use GitHub to collaborate.