#Latest
- Sept 30 - Added the Mosquitto setup;MQTT now working with anon+listener. See example : https://forums.balena.io/t/failing-in-accessing-mqtt-broker-using-node-red-using-ming/366386/11
Based on base Mosquitto : https://github.com/eclipse/mosquitto/blob/master/docker/2.0/README.md
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
- Projects : enable?
- Try adding full Dock3 flows.json?
- Add node-red-contrib-modbus automatically in the package.json?
- Try Production version
- Authenticaion methods from Mosquitto : https://mosquitto.org/documentation/authentication-methods/
- Look at Connector : suggested by Balena : https://github.com/balena-labs-projects/connector
- Look at DockerFile for Mosquitto - do I need all that?
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.
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.