Starts node-red instance and communicates with it.
This adapter uses the node-red server from https://github.com/node-red/node-red
Note: If in select ID dialog of the ioBroker node you cannot find some variable, restart node-red instance. By restarting the new list of objects will be created.
Upgrade to 1.17.2: If you already used Node-Red authentication: Please set your password in the Node-Red instance settings in ioBroker again after the upgrade! Otherwise you cannot login to Node-Red any longer after the upgrade.
In the adapter/instance configuration you can adjust the maximum RAM/Heap for the node-red process. The default is sufficient for smaller node-red installations. If you have many nodes or you experience performance issues or crashes of the node.red process in the logs, please upgrade the maximum RAM setting! Depending on your available RAM (see e.g. using free -m
on "avail") increase it to 1024 (=1GB) or even higher.
- Safe mode - Flows will not be started, and you can edit the flows to fix some overload problem.
- IMPORTANT: Node.js 14.x now needed at least
- (Apollon77) Upgrade to node-red 3.0.2, enable runtime-state features and switch editor to monaco-editor
- (Apollon77) Correctly escape backslashes when writing setting file on Windows
- (Apollon77) Lower loglevel of a log line
- (Apollon77/Stefan592) Allow installation of multiple node-red instances on one host
- (Bannsaenger) Added extended authentication to instance settings and config
- (Apollon77) Fix Deadband Filter logic in InNode
- (Apollon77/mickym2) Several In-Node optimizations and error preventions
- (jwiesel) Added new parameter "httpNodeRoot" as httpRoot has been replaced by httpAdminRoot in version 3.0.0.
- (Apollon77/mickym2) Adjust description of RBE cases for In-Node to match Filter node
- (Bannsaenger) Added option for in Node to choose topic format (MQTT with / or ioBroker with .). Default: MQTT
- IMPORTANT: Node-RED is now v2. Please check your nodes for compatibility! See also https://nodered.org/blog/2021/07/20/version-2-0-released and https://nodered.org/blog/2021/10/21/version-2-1-released
- Detailed overview (in german): https://forum.iobroker.net/post/775767
- (jwiesel) Node-RED updated to 2.2.2
- (jwiesel) "Tail" node has been removed from the default palette in Node-RED 2.0. You can reinstall it from node-red-node-tail.
- (Apollon77) Automatically create missing folders when node-red creates objects in javascript., node-red. and 0_userdata.0.*
- (jwiesel) Added NodeRed parameter httpStatic to instance settings
- (bluefox) Added the reading of objects from admin for SelectID dialog
- (bluefox) Added debug output: Cannot set state of non-existing object
- (bluefox) Allow setting of regular expression in the list node in message
- (bluefox) Allow the filtering of
ack=false
messages for IN node - (Apollon77) Enhance GetNode rbe/dead-band functions to optionally ignore initial value
- (Apollon77) Return undefined for GetNode if the state currently has no value set (e.g. because expired or never set)
- (Apollon77) Allow for GetNode to return an error if a state-id is used for which no object exists, else also return undefined
- (Apollon77) Also allow accessing system.* states directly
- (Apollon77) When RBE function is used on InNode and not value is sent on start still initialize current value internally
- (Apollon77) Add node-ID in front of all log lines logged by node logic
- (jwiesel) Changed default setting to "convert data from ioBroker nodes into Strings" to false. Setting will not be changed automatically in instances already existing
- (Apollon77) Make compatible with js-controller 4.0
- (mickym2) Correct min7max for the object creation
- (bluefox) Node-red updated to 1.3.6
- (Apollon77) update to node-red 1.3.5
- (Apollon77) Optimize for js-controller 3.3
- (Apollon77) Add option to override the default ack flag in the message for OutNode
- (Apollon77) BREAKING update from node-red-contrib-aggregator: topic is NOT converted to lowercase anymore!
- (Apollon77) update to node-red 1.3.2
- (Apollon77) Add done calls to OutNode
- (Apollon77/mickym2) Correct readonly flags. IMPORTANT: Now Readonly works as it should be. If you worked around the issue before please adjust your nodes!
- (Apollon77) Fix using wildcards inside the id
- (Apollon77) Update value on out node trigger
- (Apollon77) Update to node-red 1.2.9
- (Apollon77) Add triggering in Nodes when delayed initialization on start
- (Apollon77) Fix list node to support all object types
- (Apollon77) Try to fix the MaxSubscribes error when having many nodes
- (Apollon77) Update to node-red 1.2.8
- (withstu) Fixed node-red modules installation
- (Apollon77) make sure empty state values do not crash list node
- (jwiesel) Updated settings.js, node-red and dependencies to the latest version.
- (jwiesel) Updated settings.js, node-red and dependencies to the latest version.
- (Apollon77) check object and not state to detect if an object exists
- (jwiesel) Updated settings.js to incorporate latest changes up to Node-RED 1.0.6
- (jwiesel) Replaced HTTP basic authentication by Node-RED login form (adminAuth)
- (jwiesel) Replaced MD5 password hashing by bcrypt.js as recommended in the Node-RED security guide.
- (bluefox) Hide the palette manager so all the packets must be installed via ioBroker configuration dialog
Caution: For those who already used Node-Red authentication: Please set your password in the Node-Red instance settings in ioBroker again! Otherwise you cannot login to Node-Red any longer after the upgrade.
- (Apollon77) check object and not state to detect if an object exists
- (Apollon77) update node-red to 1.0.6 and deps
- (Apollon77) make sure adapter namespace is prepended in all situations and so correct objects are created
- (Apollon77) fix crash cases
- (Apollon77) make sure msg topic is not overwritten by null
- (bluefox) Caught errors if state deleted
- (bluefox) "Fire on start" for the input node was implemented
- (Apollon77) fix State ID verification regex to allow all characters
- (Apollon77) fix potential crash case in inout node
- (Apollon77) update deps, node-red to 1.0.4
- (Apollon77) update number of listeners to max 1000 before warning is displayed
- (mobilutz/bluefox) allow creation of foreign states
- (SchumyHao) add state unit, min and max for ioBroker out node
- (SchumyHao) hide some parameters if not enable create object
- (SchumyHao) Set state name, role, type and readonly state in node and msg
- (RustyThePropellerHead) Logging elevated from debug to info for debug-nodes with console output
- (WolfspiritM) Get Object node added
- (Apollon77) Allow to enable/disable the projects feature via Admin
- (Apollon77) Upgrade to node.red 1.0.1 and also add all now extra npm packages to stay compatible
- (Apollon77) Make sure also checkState calls are executed after ioBroker databases are initialized
- (Apollon77) Used newer version of node-red 0.20.8 and updated other dependencies
- (Apollon77) Used newer version of node-red 0.20.7 and updated other dependencies
- (nobodyMO) Used newer version of node-red 0.20.5
- (SchumyHao) Add Chinese support
- (bluefox) use newer version of node-red 0.19.4
- (bluefox) Basic authentication was added
- (bluefox) use newer version of node-red 0.19.1
- (bluefox) use newer version of node-red 0.18.7
- (bluefox) Admin3 dialog implemented
- (bluefox) RAM settings were added
- (bluefox) add credentialSecret option
- (Apollon77) queue set state requests till ioBroker connection has been initialized
- (Apollon77) use newer version of node-red 0.18.2
- (twonky4) fix blank topic support
- (bluefox) use newer version of node-red 0.17.5
- (bluefox) Update the select ID dialog
- (bluefox) Add node-red-contrib-polymer
- (bluefox) use newer version of node-red 0.16.2
- (bluefox) use newer version of node-red 0.16.2
- (Erhard Weinell) support concurrent access to GetNode
- (bluefox) use newer version of node-red 0.15.2
- (nobodyMO) use newer version of node-red 0.14.6
- (nobodyMO) change topic name processing
- (nobodyMO) use newer version of node-red 0.14.4
- (ploebb) configurable: convert values to string
- (nobodyMO) use newer version of node-red 0.14.3
- (bluefox) on some systems node-red was available under wrong URL http://ip:1881/undefined. Fixed
- (bluefox) support of npm 2/3
- (bluefox) install with flag unsafePerm
- (bluefox) use node-red 0.13.4
- (nobodyMO) Add httpRoot setting
- (nobodyMO) add filter settings to nodes
- (nobodyMO) Add --max-old-space-size=128 to support systems with low memory.
- (nobodyMO) Add version 0.12.5 for node-red because it works.
- (nobodyMO) Add ioBroker get node.
- (nobodyMO) Set _maxListeners = 100 to suppress warnings in the log.
- (bluefox) fix error if many additional npm packets
- (bluefox) do not include node-red packages into global context
- (bluefox) enable node-red 0.11.x
- (bluefox) fix error with ioBroker nodes
- (bluefox) change link in admin to node-red web server
- (bluefox) add flag "stopBeforeUpdate"
- (bluefox) store data in iobroker-data directory
- (bluefox) fix error with invalid additional npm package
- (bluefox) fix readme link
- (bluefox) allow the installation of additional npm and node-red packets
- (bluefox) fix first start
- (bluefox) remove warnings
- (bluefox) make node-red compatible with ioBroker again
- (bluefox) update node-red to 0.10.1
- (bluefox) update select ID dialog
- (bluefox) create variables without need to be extra called with "create"
- (bluefox) make possible creation of variables
- (bluefox) print debug message by saving
- (bluefox) fix errors with utils.js
- (bluefox) enable npm install
- (bluefox) support signal stopInstance
- (bluefox) support of select ID dialogs
- (bluefox) use names like in mqtt: "adapter/instance/device/channel/state"
- (bluefox) support of "value" or "object" for input node
- (bluefox) support of new naming concept
- (bluefox) fix some errors
- (bluefox) use adapter.js to communicate with ioBroker
- (bluefox) initial commit
Copyright 2014-2022 bluefox [email protected].
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.