# Starts node-red instance and communicates with it.
@ -13,7 +13,7 @@
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.
**Note:** If in select ID dialog of the yunkong2 node you cannot find some variable, restart node-red instance. By restarting the new list of objects will be created.
## Changelog
### 1.7.1 (2017-09-24)
@ -30,7 +30,7 @@ This adapter uses the node-red server from https://github.com/node-red/node-red
* (bluefox) add credentialSecret option
### 1.5.1 (2017-02-16)
* (Apollon77) queue set state requests till ioBroker connection has been initialized
* (Apollon77) queue set state requests till yunkong2 connection has been initialized
### 1.5.0 (2018-02-14)
* (Apollon77) use newer version of node-red 0.18.2
@ -87,7 +87,7 @@ This adapter uses the node-red server from https://github.com/node-red/node-red
### 0.4.1 (2016-01-14)
* (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) Add yunkong2 get node.
* (nobodyMO) Set _maxListeners = 100 to suppress warnings in the log.
### 0.3.5 (2015-08-23)
@ -100,14 +100,14 @@ This adapter uses the node-red server from https://github.com/node-red/node-red
* (bluefox) enable node-red 0.11.x
### 0.3.2 (2015-06-29)
* (bluefox) fix error with ioBroker nodes
* (bluefox) fix error with yunkong2 nodes
### 0.3.1 (2015-06-28)
* (bluefox) change link in admin to node-red web server
### 0.3.0 (2015-05-18)
* (bluefox) add flag "stopBeforeUpdate"
* (bluefox) store data in iobroker-data directory
* (bluefox) store data in yunkong2-data directory
### 0.2.2 (2015-05-17)
* (bluefox) fix error with invalid additional npm package
@ -125,7 +125,7 @@ This adapter uses the node-red server from https://github.com/node-red/node-red
* (bluefox) remove warnings
### 0.1.6 (2015-03-18)
* (bluefox) make node-red compatible with ioBroker again
* (bluefox) make node-red compatible with yunkong2 again
### 0.1.5 (2015-02-12)
* (bluefox) update node-red to 0.10.1
@ -163,14 +163,14 @@ This adapter uses the node-red server from https://github.com/node-red/node-red
* (bluefox) fix some errors
### 0.0.2 (2014-11-04)
* (bluefox) use adapter.js to communicate with ioBroker
* (bluefox) use adapter.js to communicate with yunkong2
"Divided by comma":{"en":"Divided by comma","de":"Getrennt mit Komma","ru":"Через запятую","pt":"Dividido por vírgula","nl":"Verdeeld door een komma","fr":"Divisé par une virgule","it":"Diviso in virgola","es":"Dividido por coma","pl":"Podzielone przecinkiem"},
"Convert values to string:":{"en":"Convert ioBroker values to string","de":"ioBroker-Werte in String konvertieren:","ru":"Конвертировать значения из ioBroker в строки","pt":"Converter valores de ioBroker em string","nl":"IoBroker-waarden converteren naar tekenreeks","fr":"Convertir les valeurs de ioBroker en chaîne","it":"Converti i valori di ioBroker in stringa","es":"Convierta los valores de ioBroker en una cadena","pl":"Konwertuj wartości ioBroker na ciąg"},
"Convert values to string:":{"en":"Convert yunkong2 values to string","de":"yunkong2-Werte in String konvertieren:","ru":"Конвертировать значения из yunkong2 в строки","pt":"Converter valores de yunkong2 em string","nl":"yunkong2-waarden converteren naar tekenreeks","fr":"Convertir les valeurs de yunkong2 en chaîne","it":"Converti i valori di yunkong2 in stringa","es":"Convierta los valores de yunkong2 en una cadena","pl":"Konwertuj wartości yunkong2 na ciąg"},
"Module names":{"en":"Module names","de":"Modulnamen","ru":"Имена модулей","pt":"Nomes de módulos","nl":"Module namen","fr":"Noms de modules","it":"Nomi dei moduli","es":"Nombres de módulos","pl":"Nazwy modułów"},
<p>Connects to a ioBroker and publishes <b>msg.payload</b> either to the <b>msg.topic</b> or to the topic specified in the edit window. The value in the edit window has precedence.</p>
<p>Connects to a yunkong2 and publishes <b>msg.payload</b> either to the <b>msg.topic</b> or to the topic specified in the edit window. The value in the edit window has precedence.</p>
<p>If <b>msg.payload</b> contains an object it will be stringified before being sent.</p>
<p>If <b>msg.payload</b> contains "__create__", the object will be only created, but no value will be written.</p>
<p>Connects to a ioBroker and returns the requested value or the object in the massage attribute in the properties dialog, e.g. <b>msg.payload</b>. The object could be identified either by the <b>msg.topic</b> or specified in the poperties dialog. The value in the poperties dialog has precedence.</p>
<p>Connects to a yunkong2 and returns the requested value or the object in the massage attribute in the properties dialog, e.g. <b>msg.payload</b>. The object could be identified either by the <b>msg.topic</b> or specified in the poperties dialog. The value in the poperties dialog has precedence.</p>
<p>The msg object also contains the attributs <b>msg.timestamp</b>, <b>msg.lastchange</b> and <b>msg.acknowledged</b>. All other attributes ob the input msg object will be passed to the output msg object.</p>
editStart:null,// function (id, $inputs) called after edit start to correct input fields (inputs are jquery objects),
zindex:null,// z-index of dialog or table
customButtonFilter:null,// if in the filter over the buttons some specific button must be shown. It has type like {icons:{primary: 'ui-icon-close'}, text: false, callback: function ()}
expertModeRegEx:null// list of regex with objects, that will be shown only in expert mode, like /^system\.|^iobroker\.|^_|^[\w-]+$|^enum\.|^[\w-]+\.admin/
expertModeRegEx:null// list of regex with objects, that will be shown only in expert mode, like /^system\.|^yunkong2\.|^_|^[\w-]+$|^enum\.|^[\w-]+\.admin/
quickEdit:null,// list of fields with edit on click. Elements can be just names from standard list or objects like:
// {name: 'field', options: {a1: 'a111_Text', a2: 'a22_Text'}}, options can be a function (id, name), that give back such an object
quickEditCallback:null// function (id, attr, newValue, oldValue)