evgolsh / homebridge-crestron-home

Homebridge plugin for Crestron Home
Apache License 2.0
5 stars 2 forks source link

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:

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