Node-Red library for Thinger.io Platform
To see what has changed in recent versions, have a look a the project's Changelog.
Documentation regarding the module and nodes can be found here.
Have a local instance of Node-RED with the following characteristics:
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
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).
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.