A set of nodes that allow to interact with balena supervisor from Node-RED on balena
this set of nodes works only on balena applications, check balena-node-red for deploying Node-RED on balena
npm i node-red-contrib-balena -g
A wrapper for balena-supervisor blink endpoint
Returns the HTTP Status Code
A wrapper for balena-supervisor ping endpoint
Returns the HTTP Status Code
A wrapper for balena-supervisor device state endpoint
Returns a device state JSON object
A wrapper for balena-supervisor container restart endpoint
Returns the HTTP Status Code
A wrapper for balena-supervisor reboot endpoint
Returns the HTTP Status Code
A wrapper for balena-supervisor shutdown endpoint
Returns the HTTP Status Code
A wrapper for balena-supervisor data purge endpoint
Returns a JSON object
sets the update lockfile, more info here
returns true
when the action completes, throws an error and returns false
when the action fails
removes the update lockfile, more info here
returns true
when the action completes, throws an error and returns false
when the action fails
A wrapper for balena-supervisor update endpoint with lock override
Returns the HTTP Status Code
please see CHANGELOG.md
Copyright 2016 balena 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.