No description
  • JavaScript 70.2%
  • HTML 29.8%
Find a file
Francois Blackburn 1bbb101984
Merge pull request #90 from fblackburn1/distinguish-config-assignation
config: allow to set a color by config node
2021-02-09 18:41:00 -05:00
.github/workflows do not use pre-configured github action 2020-05-31 15:39:34 -04:00
nodes fix linter issues 2021-02-09 18:36:57 -05:00
test/nodes device: set topic to deviceLabel when no name 2020-11-30 19:32:17 -05:00
.eslintrc.json add eslint to html files 2021-01-31 16:48:33 -05:00
.gitignore first version of hubitat plugin 2020-02-05 18:28:05 -05:00
.markdownlint.yml add markdown linter 2020-05-31 15:17:06 -04:00
CHANGELOG.md CHANGELOG: add date beside version 2021-02-09 17:42:18 -05:00
LICENSE add license file 2020-02-08 15:27:36 -05:00
package-lock.json add eslint to html files 2021-01-31 16:48:33 -05:00
package.json run linter on all html files 2021-02-09 17:42:19 -05:00
README.md Update README.md 2020-07-06 20:30:56 -04:00

node-red-contrib-hubitat

This collection of nodes allow to facilitate the use of Hubitat's API

Installation

cd ~/.node-red
npm install node-red-contrib-hubitat

Quick Start

This package contains 10 nodes:

  • command: To send command to Hubitat

  • device: To keep a device state. It fetch the device state when deployed, then listen for webhook events.

  • hsm: To keep the Hubitat Safety Monitor status (Armed Home, Armed Away, Armed Night and Disarmed). It fetch the status when deployed, then listen for webhook events.

  • hsm-setter: To set the Hubitat Hubitat Safety Monitor status (Disarmed, Armed Away, Armed Home ...)

  • mode: To keep the Hubitat mode (Day, Night, ...) state. It fetch the mode when deployed, then listen for

  • mode-setter: To set the Hubitat mode (Day, Night, ...)

  • location: To receive global location events (ex: systemStart, sunrise, sunset)

  • event: A generic node to receive all events.

  • request: A generic node to request any Hubitat's endpoints.

  • config: To setup Hubitat connection information. It also listen on webhook from Hubitat to dispatch events to other nodes.

Development

To run linters:

  • npm run-script linter

To run unit tests:

  • npm test