node-red-contrib-resinio 0.1.8
A set of nodes to interact with resin.io supervisor from node-red
node-red-contrib-resinio
A set of nodes that allow to interact with resin.io supervisor from Node-RED
Installation
npm i node-red-contrib-resinio -g
Nodes
Blink
A wrapper for resin-supervisor blink endpoint
Returns the HTTP Status Code
Ping
A wrapper for resin-supervisor ping endpoint
Returns the HTTP Status Code
Device
A wrapper for resin-supervisor device state endpoint
Returns a device state JSON object
Restart
A wrapper for resin-supervisor container restart endpoint
Returns the HTTP Status Code
Reboot
A wrapper for resin-supervisor reboot endpoint
Returns the HTTP Status Code
Shutdown
A wrapper for resin-supervisor shutdown endpoint
Returns the HTTP Status Code
Purge
A wrapper for resin-supervisor data purge endpoint
Returns a JSON object
Lock
sets the update lockfile, more info here
returns true
when the action completes, throws an error and returns false
when the action fails
Unlock
removes the update lockfile, more info here
returns true
when the action completes, throws an error and returns false
when the action fails
Update
A wrapper for resin-supervisor update endpoint with lock override
Returns the HTTP Status Code
Changelog
please see CHANGELOG.md
License
Copyright 2016 Resinio Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.