A set of nodes to interact with resin.io supervisor from node-red
npm install node-red-contrib-resinio```
npm i node-red-contrib-resinio -g
#### Blink
!blink
A wrapper for resin-supervisor blink endpoint
Returns the HTTP Status Code
#### Ping
!ping
A wrapper for resin-supervisor ping endpoint
Returns the HTTP Status Code
#### Device
!device
A wrapper for resin-supervisor device state endpoint
Returns a device state JSON object
#### Restart
!restart
A wrapper for resin-supervisor container restart endpoint
Returns the HTTP Status Code
#### Reboot
!reboot
A wrapper for resin-supervisor reboot endpoint
Returns the HTTP Status Code
#### Shutdown
!shutdown
A wrapper for resin-supervisor shutdown endpoint
Returns the HTTP Status Code
#### Purge
!purge
A wrapper for resin-supervisor data purge endpoint
Returns a JSON object
#### Lock
!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
!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
!update
A wrapper for resin-supervisor update endpoint with lock override
Returns the HTTP Status Code
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
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.