Skip to content

thinger-io/node-red-contrib-thinger

Repository files navigation

node-red-contrib-thinger

NPM Version

Node-RED and Thinger.io Integration

Nodes to assist with the integration, automation and communication of Node-RED and IoT devices with Thinger.io

To see what has changed in recent versions, have a look a the project's Changelog.

Getting Started

Documentation regarding the module and nodes can be found here.

Prerequisites

Cloud

Have a valid Thinger.io cloud instance with capacity to install a new plugin.

Local

Have a local instance of Node-RED with the following characteristics:

Installation

Cloud

To install the plugin on the Thinger.io instance follow the instructions from the documentation.

Local

To install the stable version use the Menu - Manage palette - Install option and search for node-red-contrib-thinger, or run the following command in your Node-RED user directory:

npm install node-red-contrib-thinger

To connect the Node-RED instance to Thinger.io follow the instructions from here.

Nodes

Once installed, detailed documentation of each node can be found in the Help dialog of Node-RED. Below is a brief description of the actions allowed:

  • Iterate over the assets from the Thinger.io Platform (asset iterator node).
  • Create buckets when an event occurs (bucket create node).
  • Read from data buckets (bucket read node).
  • Writing to data buckets (bucket write node).
  • Calling devices callbacks with autoprovisioning (device callback node).
  • Creating any type of devices or updating its details (device create node).
  • Reading a device resource when an event occurs (device read node).
  • Subscribing to device resources at a given interval (device stream node).
  • Sending data to a connected device (device write node).
  • Calling endpoints (endpoint call node).
  • Reading properties of devices, types or groups (property read node).
  • Writing and modifying properties of devices, types or groups (property write node).
  • Detecting different events of devices, buckets, endpoints and others (server events node).
  • Reading files (plain, csv, json, images, ...) from file storages (read storage node).
  • Storing files (plain, csv, json, images, ...) to file storages (write storage node).

License

The class is licensed under the MIT License:

Copyright © Thinger.io

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.