1.1.8 • Published 6 years ago

homebridge-hubitat-csteele-pd v1.1.8

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

homebridge-hubitat-tonesto7

This is based off of @pdlove homebridge-smartthings

npm version

Current App version: 1.1.6

Change Log:

Hubitat App:

v1.0.0 - Ported app over from my SmartThings version.

v1.0.1 - Hubitat Safety Monitor Support is set to Off by Default.

v1.1.3 - App Cleanups. Added Windows Shades support for Native HomeKit control.

v1.1.5 - Code Cleanups

v1.1.5 - Shade Fixes

Homebridge Plugin:

v1.0.0 - Reworked alot of the code to allow for better direct communication with Hubitat

v1.1.2 - Added Native support for Window Shades

v1.1.3 - Readme Update test

v1.1.7 - Fixed Shades Support

v1.1.8 - Shade Fixes

Explanation:

Direct Updates

This method is nearly instant. This option allows the hub to send updates directly to your homebridge-hubitat-tonesto7 installation. The hub must be able to send an http packet to your device so make sure to allow incoming traffic on the applicable port. The port used for this can be configured by the "direct_port" setting and defaults to 8000. The program will attempt to determine your IP address automatically, but that can be overridden by "direct_ip" which is useful if you have multiple addresses.

When properly setup, you should see something like this in your Homebridge startup immediately after the PIN:

[1/29/2017, 8:28:45 AM] Homebridge is running on port 51826.
[1/29/2017, 8:28:45 AM] [Hubitat] Direct Connect Is Listening On 10.0.0.70:8000
[1/29/2017, 8:28:45 AM] [Hubitat] Hubitat Hub Communication Established

Installation:

Installation comes in two parts:

1. Hubitat App Installation

  • Open your Hubitat web interface
  • Goto Apps Code
  • Copy/Paste the code from Hubitat App Code
  • Press Save
  • Press Oauth and press Enable
  • Press Save
  • Your Done with the Hubitat code install.

2. Hubitat App Configuration

  • Under the Hubitat Web Interface, Click on Apps in the left side menu.
  • Click on the button +Load New App
  • Select Homebridge (Hubitat) from the list of User Apps
  • There are 4 inputs at the top that can be used to force a device to be discovered as a specific type in HomeKit.
  • For any devices not added by type Tap on the input next to an appropriate device group and then select each device you would like to use (The same devices can be in any of the Sensor, Switch, Other inputs)

    • There are several categories because of the way Hubitat assigns capabilities. So you might not see your device in one, but might in another.
    • Almost all devices contain the Refresh capability and are under the "Other Devices" group
    • Some sensors don't have a refresh and are under the "Sensor Devices" group.
    • Some devices, mainly Virtual Switches, only have the Switch Capability and are in the "Switch Devices".
  • If you select the same device in multiple categories it will only be shown once in HomeKit, so you can safely check them all in all groups.

  • If a device isn't listed, let me know by submitting an issue on GitHub.
  • Tap Done and you are finished with the App configuration.

3. Homebridge Plugin Installation:

  1. Install homebridge using: npm i -g homebridge (For Homebridge Install: Homebridge Instructions)
  2. Install Hubitat plugin using: npm i -g homebridge-hubitat-tonesto7
  3. Update your configuration file. See sample config.json snippet below.