pdmangel / node-red-contrib-openhab2

Other
21 stars 15 forks source link

node-red-contrib-openhab2

Description

Nodes facilitating the automation of openHAB ( http://www.openhab.org ) items with Node-RED ( http://nodered.org ).

Installation

$ cd ~/.node-red
$ npm install node-red-contrib-openhab2

Nodes

- openhab2-controller

Configuration node for communication with an openHAB controller.

Configuration:

- openhab2-in

Listens to state changes of a selected openHAB Item.

Configuration:

Messages injected in NodeRED flows (2 channels):

Channel 1:

Channel 2:

- openhab2-monitor

Monitors the openhab2-controller node.

Configuration:

Messages injected in NodeRED flows (3 channels):

Channel 1:

Channel 2:

Channel 3:

- openhab2-out

Sends commands or state updates to a selected openHAB Item. E.g. "ON", "OFF", "REFRESH", ...

Configuration:

Messages accepted by NodeRED flows:

Messages injected in NodeRED flows (1 channel):

Channel 1: if output is successful, the input message is copied to this channel.

- openhab2-get

Gets an openHAB Item on an input message.

Configuration:

Messages accepted by NodeRED flows:

Messages injected in NodeRED flows (1 channel):

Channel 1: The input message with addition of :

Release notes

v1.1.4