node-red-contrib-deconz
Advanced tools
Comparing version 0.2.0 to 0.2.2
@@ -12,6 +12,5 @@ { | ||
"eventsource": "^0.2.1", | ||
"ws": "^7.0.0", | ||
"request": "^2.81.0" | ||
}, | ||
"description": "Wiren Board connectivity nodes for node-red", | ||
"description": "deCONZ connectivity nodes for node-red", | ||
"homepage": "https://github.com/andreypopov/node-red-contrib-deconz", | ||
@@ -35,3 +34,3 @@ "keywords": [ | ||
}, | ||
"version": "0.2.0" | ||
"version": "0.2.2" | ||
} |
@@ -13,1 +13,4 @@ # node-red-contrib-deconz | ||
<img src="https://github.com/andreypopov/node-red-contrib-deconz/blob/master/readme/3.png?raw=true"> | ||
https://www.youtube.com/watch?v=blzeK5NFN-I&feature=youtu.be |
@@ -38,4 +38,2 @@ RED.nodes.registerType('deconz-get', { | ||
}, | ||
@@ -42,0 +40,0 @@ oneditsave: function () { |
@@ -97,3 +97,2 @@ function deconz_getDeviceMeta(uniqueid) { | ||
selectItemSpanElement.html(truncateWithEllipses(sHTML, 35)); | ||
} catch (error) { | ||
@@ -241,2 +240,3 @@ console.error('Error #4534'); | ||
deconz_updateItemStateList(RED.nodes.node(deServerElement.val()), selectedItemElement, selectedItemElement.val() || nodeItem); | ||
// onChange event handler in case a new controller gets selected | ||
@@ -255,4 +255,4 @@ deServerElement.change(function (event) { | ||
port:data[0].internalport, | ||
apikey:'', | ||
ws_port:'' | ||
apikey:false, | ||
ws_port:false | ||
}; | ||
@@ -259,0 +259,0 @@ |
@@ -32,3 +32,2 @@ RED.nodes.registerType('deconz-input', { | ||
} | ||
console.log(this); | ||
return label; | ||
@@ -45,3 +44,3 @@ }, | ||
$deviceInput.on('change', function(){ | ||
deconz_getItemStateList(node.state, '#node-input-state'); | ||
deconz_getItemStateList(0, '#node-input-state'); | ||
}); | ||
@@ -48,0 +47,0 @@ setTimeout(function () { |
@@ -37,4 +37,4 @@ RED.nodes.registerType('deconz-server', { | ||
$('#node-config-input-port').val(settings.port); | ||
$('#node-config-input-apikey').val(settings.apikey); | ||
$('#node-config-input-ws_port').val(settings.ws_port); | ||
if (settings.apikey) $('#node-config-input-apikey').val(settings.apikey); | ||
if (settings.ws_port) $('#node-config-input-ws_port').val(settings.ws_port); | ||
}); | ||
@@ -41,0 +41,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
519336
3
15
1931