Socket
Socket
Sign inDemoInstall

iobroker.wifilight

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.wifilight - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

12

devices.js

@@ -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

2

io-package.json
{
"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 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc