Node-red for pimatic
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
icons
.gitignore
Dockerfile
LICENSE Updated licence and description Jul 22, 2016
README.md Added variable out node Feb 19, 2017
node-red-config-schema.coffee
node-red.coffee added configurable listener port for node-red, issue #15 Jul 5, 2017
package.json Updated node-red Sep 23, 2017
pimatic-node-red.png Screenshot added Jul 28, 2016
pimatic-node.html Added 'trigger' option Sep 23, 2017
pimatic-node.js Added 'trigger' option Sep 23, 2017

README.md

pimatic-node-red

Runs node-red on pimatic

Features

Run the node-red engine embedded in pimatic. This enables the use of node-red flow directly integrated into the pimatic framework. The following nodes are available:

  • variable in listens for changes on the given variable and send a msg where msg.payload contains the new value of the variable. Use this node to capture changes on devices. They are variables too. Navigate to /#variables-page on you pimatic web interface to see them.
  • allvariables in listens for changes on the any variable and send a msg where msg.payload contains the new value of the variable and msg.variable the name of the variable.
  • device out Calls the given action on the given device whenever a msg is received. Use this to switch devices on or off for example.
  • variable out Set the value of the specified variable to the value of msg.payload.

Issues

  1. Node-red runs in it's own server. I did not manage to get the websocket running on the pimatic server. UI and the engine do work!