Skip to content

v 4.0.3n node-red application+node.js v18+ balena-supervisor support.

License

Notifications You must be signed in to change notification settings

barneymc/balena-node-red

 
 

Repository files navigation

#Latest

Based on base Mosquitto : https://github.com/eclipse/mosquitto/blob/master/docker/2.0/README.md

What's this:

V 4.0.3 node-red on Bullseye OS 18 + node.js 18 + balena running currently in Development mode. Release : 3.0.4 : Balena_Release ID : 01c74ad03d10f2b4311c7ea775afea8f installed on RaspPi 4 9Board #5:Device_ID: 8ff29ed20d7cfef40e6d840ced7e1f47) Balena Dashboard : https://dashboard.balena-cloud.com/devices/8ff29ed20d7cfef40e6d840ced7e1f47

next steps

  1. Projects : enable?
  2. Try adding full Dock3 flows.json?
  3. Add node-red-contrib-modbus automatically in the package.json?
  4. Try Production version
  5. Authenticaion methods from Mosquitto : https://mosquitto.org/documentation/authentication-methods/
  6. Look at Connector : suggested by Balena : https://github.com/balena-labs-projects/connector
  7. Look at DockerFile for Mosquitto - do I need all that?

balena-node-red

A Node-RED application with balena-supervisor flow support, can be managed remotely via balena publicURL

You can deploy this project to a new balenaCloud application in one click using the button below:

Or, you can create an application in your balenaCloud dashboard and balena push this code to it the traditional way.

Configure via environment variables

Variable Name Default Description
PORT 80 the port that exposes the Node-RED UI
USERNAME balena the Node-RED admin username
PASSWORD balena the Node-RED admin password
ENCRIPTION_KEY balena the encription key used to store your credentials files

You must set the USERNAME and PASSWORD environment variables to be able to save or run programs in Node-RED.
More information about using and setting environment variables can be found in the balena docs.

License

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.

About

v 4.0.3n node-red application+node.js v18+ balena-supervisor support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.1%
  • Dockerfile 30.6%
  • Shell 4.3%