iobroker.wifilight
Advanced tools
Comparing version 0.0.34 to 0.0.35
@@ -43,2 +43,3 @@ "use strict"; | ||
'HF-LPB100-ZJ200': { type: 'LD382A' /*, port: 5577*/ }, | ||
'HF-LPB100-ZJ002': { type: 'LD382' }, | ||
'HF-A11-ZJ002': { type: 'LW12' }, | ||
@@ -122,2 +123,13 @@ 'Mi-Light': { type: 'MiLight', port: 8899 }, | ||
exports.UFO = Object.assign(exports.LD382A, { // not tested | ||
on: [0x71, 0x23], | ||
off: [0x71, 0x24], | ||
rgb: [0x31, VARS.red, VARS.green, VARS.blue, 0x00, 0x00, 0x00], | ||
rgbw: undefined, | ||
progOn: [0x71, 0x21], | ||
progOff: [0x71, 0x20], | ||
progNo: [0x61, VARS.prog, VARS.speed], | ||
statusRequest: [0x81, 0x8A, 0x8B], | ||
}); | ||
@@ -124,0 +136,0 @@ //LimitlessLED |
{ | ||
"common": { | ||
"name": "wifilight", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"title": "WiFi Light", | ||
@@ -6,0 +6,0 @@ "desc": { |
{ | ||
"name": "iobroker.wifilight", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"description": "WiFi Light Adapter", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -723,3 +723,7 @@ "use strict"; | ||
WifiLight.prototype.onData = function (data) { | ||
if (adapter.common.loglevel == 'debug') { | ||
adapter.log.debug('raw data length: ' + data.length); | ||
adapter.log.debug('raw data: ' + hex(data)); | ||
} | ||
var newPos = this.dataBuffer.pos + data.length; | ||
@@ -883,3 +887,3 @@ if (newPos > this.dataBuffer.length) { | ||
var ip = ar[2].replace(reIp, '.'); | ||
var found = adapter.config.devices.find(function(v) { | ||
var found = adapter.config.devices.find(function(v) { //xxxx | ||
return v.ip === ip; | ||
@@ -886,0 +890,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
75710
1414