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 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-crestron-home

v1.1.8

Published

Crestron Home Homebridge plugin

Downloads

32

Readme

Homebridge Crestron Home Plugin

This plugin connects to Crestron Home CWS server using REST API and doesn't require anything to be deployed into the Crestron controller. It was developed and tested with Crestron MC4-R powered by Crestron Home OS, but theoretically it should work with any Crestron controller that runs CWS server.

Supported accessories

The following devices are currently supported:

  • Lights and Dimmers
  • Shades
  • Shade and Lighting scenes exposed as Switch
  • genericIO scenes exposed as Locks

Configuration

Two values are required for connecting Homebridge to Crestron controller:

  1. Controller IP address (or hostname if DNS is configured)
  2. Web API Authentication Token. Authentication Token can be found in the Crestron Home setup app. Go to settings and click on "System control options" in this screen: alt text and then copy value of the Authentication token in this screen: alt text
  3. Enable accessories that will appear in the HomeKit: alt text
  4. updateInterval: (Optional) Set refresh status interval in seconds (default 30). According to Crestron documentation, login session is valid for 10 minutes. We keep session TTL 9 minutes, relogin and refresh devices status with the given interval.

Notes

  • Delete Homebridge accessories cache after each plugin update
  • After every upgrade of the Crestron firmware, you need to update the Web API Authentication Token in the Crestron Home Setup app (or XPanel), copy the value, update configuration and restart the Crestron controller
  • If you have more than 149 devices and scenes, this plugin will crash. In this case you need to run this plugin in the Homebridge child bridge mode and split devices accross different instances of the plugin. Example configuration:
    {
              "name": "Crestron Home Platform",
              "crestronHost": "YOUR_CONTROLLER_IP",
              "token": "YOUR_AUTH_KEY",
              "enabledTypes": [
                  "Switch",
                  "Dimmer"
              ],
              "updateInterval": 30,
              "_bridge": {
                  "username": "07:12:4D:38:0C:09",
                  "port": 51811
              },
              "platform": "CrestronHomePlatform"
          },
          {
              "name": "Crestron Home Platform",
              "crestronHost": "YOUR_CONTROLLER_IP",
              "token": "YOUR_AUTH_KEY",
              "enabledTypes": [
                  "Shade",
                  "Scene"
              ],
              "updateInterval": 30,
              "_bridge": {
                  "username": "007:12:4D:38:0C:10",
                  "port": 51812
              },
              "platform": "CrestronHomePlatform"
          },