node-red-contrib-resinio

0.1.8 • Public • Published

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

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

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.

Package Sidebar

Install

npm i node-red-contrib-resinio

Weekly Downloads

0

Version

0.1.8

License

none

Last publish

Collaborators

  • curcuz