Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iobroker.shelly

Package Overview
Dependencies
Maintainers
0
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.shelly - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

lib/devices/gen2/shellyplusuni.js

12

admin/jsonConfig.json

@@ -9,3 +9,3 @@ {

"label": "General settings",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuNC4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIzIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNDk1LjkgMTY2LjZjMy4yIDguNyAuNSAxOC40LTYuNCAyNC42bC00My4zIDM5LjRjMS4xIDguMyAxLjcgMTYuOCAxLjcgMjUuNHMtLjYgMTcuMS0xLjcgMjUuNGw0My4zIDM5LjRjNi45IDYuMiA5LjYgMTUuOSA2LjQgMjQuNmMtNC40IDExLjktOS43IDIzLjMtMTUuOCAzNC4zbC00LjcgOC4xYy02LjYgMTEtMTQgMjEuNC0yMi4xIDMxLjJjLTUuOSA3LjItMTUuNyA5LjYtMjQuNSA2LjhsLTU1LjctMTcuN2MtMTMuNCAxMC4zLTI4LjIgMTguOS00NCAyNS40bC0xMi41IDU3LjFjLTIgOS4xLTkgMTYuMy0xOC4yIDE3LjhjLTEzLjggMi4zLTI4IDMuNS00Mi41IDMuNXMtMjguNy0xLjItNDIuNS0zLjVjLTkuMi0xLjUtMTYuMi04LjctMTguMi0xNy44bC0xMi41LT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TYuMiA4LjcgMTguMiAxNy44bDEyLjUgNTcuMWMxNS44IDYuNSAzMC42IDE1LjEgNDQgMjUuNGw1NS43LTE3LjdjOC44LTIuOCAxOC42LS4zIDI0LjUgNi44YzguMSA5LjggMTUuNSAyMC4yIDIyLjEgMzEuMmw0LjcgOC4xYzYuMSAxMSAxMS40IDIyLjQgMTUuOCAzNC4zek0yNTYgMzM2YTgwIDgwIDAgMSAwIDAtMTYwIDgwIDgwIDAgMSAwIDAgMTYweiIvPg0KPC9zdmc+DQo=",
"items": {

@@ -30,3 +30,3 @@ "_documentationLink": {

"variant": "contained",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuNC4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIzIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNOTYgMEM0MyAwIDAgNDMgMCA5NlY0MTZjMCA1MyA0MyA5NiA5NiA5NkgzODRoMzJjMTcuNyAwIDMyLTE0LjMgMzItMzJzLTE0LjMtMzItMzItMzJWMzg0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjMyYzAtMTcuNy0xNC4zLTMyLTMyLTMySDM4NCA5NnptMCAzODRIMzUydjY0SDk2Yy0xNy43IDAtMzItMTQuMy0zMi0zMnMxNC4zLTMyIDMyLTMyem0zMi0yNDBjMC04LjggNy4yLTE2IDE2LTE2SDMzNmM4LjggMCAxNiA3LjIgMTYgMTZzLTcuMiAxNi0xNiAxNkgxNDRjLTguOCAwLTE2LTcuMi0xNi0xNnptMTYgNDhIMzM2YzguOCAwIDE2IDcuMiAxNiAxNnMtNy4yIDE2LTE2IDE2SDE0NGMtOC44IDAtMTYtNy4yLTE2LTE2czcuMi0xNiAxNi0xNnoiLz48L3N2Zz4=",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj4NCiAgICA8cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik05NiAwQzQzIDAgMCA0MyAwIDk2VjQxNmMwIDUzIDQzIDk2IDk2IDk2SDM4NGgzMmMxNy43IDAgMzItMTQuMyAzMi0zMnMtMTQuMy0zMi0zMi0zMlYzODRjMTcuNyAwIDMyLTE0LjMgMzItMzJWMzJjMC0xNy43LTE0LjMtMzItMzItMzJIMzg0IDk2em0wIDM4NEgzNTJ2NjRIOTZjLTE3LjcgMC0zMi0xNC4zLTMyLTMyczE0LjMtMzIgMzItMzJ6bTMyLTI0MGMwLTguOCA3LjItMTYgMTYtMTZIMzM2YzguOCAwIDE2IDcuMiAxNiAxNnMtNy4yIDE2LTE2IDE2SDE0NGMtOC44IDAtMTYtNy4yLTE2LTE2em0xNiA0OEgzMzZjOC44IDAgMTYgNy4yIDE2IDE2cy03LjIgMTYtMTYgMTZIMTQ0Yy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2eiIvPg0KPC9zdmc+DQo=",
"sm": 12,

@@ -125,3 +125,3 @@ "md": 12,

"variant": "contained",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuNC4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlya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4yQzU0OS43IDc5LjUgNDQwLjQgMzIgMzIwIDMyUzkwLjMgNzkuNSA5LjggMTU2LjdDLTIuOSAxNjktMy4zIDE4OS4yIDguOSAyMDJzMzIuNSAxMy4yIDQ1LjIgLjl6TTMyMCAyNTZjNTYuOCAwIDEwOC42IDIxLjEgMTQ4LjIgNTZjMTMuMyAxMS43IDMzLjUgMTAuNCA0NS4yLTIuOHMxMC40LTMzLjUtMi44LTQ1LjJDNDU5LjggMjE5LjIgMzkzIDE5MiAzMjAgMTkycy0xMzkuOCAyNy4yLTE5MC41IDcyYy0xMy4zIDExLjctMTQuNSAzMS45LTIuOCA0NS4yczMxLjkgMTQuNSA0NS4yIDIuOGMzOS41LTM0LjkgOTEuMy01NiAxNDguMi01NnptNjQgMTYwYTY0IDY0IDAgMSAwIC0xMjggMCA2NCA2NCAwIDEgMCAxMjggMHoiLz4NCjwvc3ZnPg0K",
"items": {

@@ -383,0 +383,0 @@ "coapbind": {

{
"common": {
"name": "shelly",
"version": "7.0.0",
"version": "8.0.0",
"news": {
"8.0.0": {
"en": "Added Shelly 1 PM Gen3\nAdded Shelly 1 Gen3\nBreaking change: Renamed input states (now digital/analog) of Shelly Plus Addon (Ext)\nAdded Shelly Plus Uni\nAdded Shelly H&T (Gen3)\nImproved structure of ble events (receivedBy) - see documentation for details\nImproved the color of icons in the admin interface",
"de": "Hinzugefügt Shelly 1 PM Gen3\nHinzugefügt Shelly 1 Gen3\nBruchänderung: Umbenannte Eingangszustände (jetzt digital/analog) von Shelly Plus Addon (Ext)\nHinzugefügt Shelly Plus Uni\nHinzugefügt Shelly H&T (Gen3)\nVerbesserte Struktur von Bble Events (receivedBy) - siehe Dokumentation für Details\nVerbesserte die Farbe der Icons in der Admin-Schnittstelle",
"ru": "Добавлено Shelly 1 PM Gen3\nДобавлено Shelly 1 Gen3\nПерерыв: Переименованные состояния ввода (ныне цифровой/аналог) Shelly Plus Addon (Ext)\nДобавлено Shelly Plus Uni\nДобавлено Shelly H&T (Gen3)\nУлучшенная структура мрачных событий (receivedBy) - см. документацию для деталей\nУлучшен цвет иконок в интерфейсе администратора",
"pt": "Adicionado Shelly 1 PM Gen3\nAdicionado Shelly 1 Gen3\nMudança de ruptura: Renamed estados de entrada (agora digital / analógico) de Shelly Plus Addon (Ext)\nAdicionado Shelly Plus Uni\nAdicionado Shelly H&T (Gen3)\nMelhor estrutura de eventos ble (recebidBy) - ver documentação para detalhes\nMelhorou a cor dos ícones na interface admin",
"nl": "Toegevoegd Shelly 1 PM Gen3\nToegevoegd Shelly 1 Gen3\nVerandering: Hernoemde invoertoestanden (nu digitaal/analogus) van Shelly Plus Addon (Ext)\nToegevoegd Shelly Plus Uni\nToegevoegd Shelly H&T (Gen3)\nVerbeterde structuur van de gebeurtenissen (ontvangenBy) - zie documentatie voor details\nVerbeterde kleur van pictogrammen in de admin interface",
"fr": "Ajouté Shelly 1 PM Gen3\nAjouté Shelly 1 Gen3\nBriser le changement : États d'entrée renommés (maintenant numériques/analogiques) de Shelly Plus Addon (Ext)\nAjouté Shelly Plus Uni\nAjout de Shelly H & T (Gen3)\nAmélioration de la structure des événements (reçus par) - voir la documentation pour plus de détails\nAmélioration de la couleur des icônes dans l'interface d'administration",
"it": "Aggiunto Shelly 1 PM Gen3\nAggiunto Shelly 1 Gen3\nCambiamento di rottura: Stati di input rinominati (ora digitale/analogico) di Shelly Plus Addon (Ext)\nAggiunto Shelly Plus Uni\nAggiunto Shelly H&T (Gen3)\nMiglioramento della struttura degli eventi di ble (receivedBy) - vedi documentazione per i dettagli\nMigliorato il colore delle icone nell'interfaccia di amministrazione",
"es": "Añadido Shelly 1 PM Gen3\nAñadido Shelly 1 Gen3\nCambio de ruptura: Estado de entrada (ahora digital/análogo) de Shelly Plus Addon (Ext)\nAñadido Shelly Plus Uni\nAñadido Shelly H adultoT (Gen3)\nMejora de la estructura de los eventos de ble (recibidoBy) - ver documentación para detalles\nMejora el color de los iconos en la interfaz de administración",
"pl": "Dodano Shelly 1 PM Gen3\nDodano Shelly 1 Gen3\nŁamanie zmian: Zmienione stany wejścia (obecnie cyfrowe / analogowe) Shelly Plus Addon (Ext)\nDodano Shelly Plus Uni\nDodano Shelly H & T (Gen3)\nUlepszona struktura zdarzeń ble (receivedBy) - szczegółowe informacje w dokumentacji\nUlepszenie koloru ikon w interfejsie administracyjnym",
"uk": "Додано Shelly 1 PM Gen3\nДодано Shelly 1 Gen3\nЗміна розривів: Перейменовані вхідні стани (нині цифрові / анлог) Shelly Plus Addon (Ext)\nДодано Shelly Plus Uni\nДодано Shelly H&T (Gen3)\nУдосконалено структуру ble подій (receivedBy) - див. документацію для деталей\nПокращено колір іконок в інтерфейсі адміністратора",
"zh-cn": "添加 Shelly 1 PM Gen3\n已添加 Shelly 1 Gen3\n中断更改 : 重命名 Shelly Plus Addon( Ext) 的输入状态( 现在的数字/ analog)\n添加 Shelly Plus 统一\n已添加 Shelly H&T (Gen3)\n改进了ble事件的结构(收到By)-详情见文件\n改进管理界面中图标的颜色"
},
"7.0.0": {

@@ -83,15 +96,2 @@ "en": "NodeJS >= 18.x and js-controller >= 5 is required\n\n* Added Shelly 1 Mini (Gen3)\n* Added Shelly 1 PM Mini (Gen3)\n* Added Shelly PM Mini (Gen3)\n* Added Shelly Pro Dimmer 1 PM and Pro Dimmer 2 PM\n* Fixed Shelly Wall Display integration\n* Added device list of ble events (receivedBy) - removed rssi state\n* Added Switch Addon for Shelly Pro 3 EM",

"zh-cn": "增加乙型装置作为炮击国。"
},
"6.5.0": {
"en": "Added Shelly Plus Smoke\nAdded Shelly Bluetooth Low Energy Gateway\nMore Shelly TRV Datapoints",
"de": "Hinzugefügt Shelly Plus Rauch\nHinzugefügt Shelly Bluetooth Low Energy Gateway\nMehr Shelly TRV Datapoints",
"ru": "Добавлено Shelly Plus Smoke\nДобавлено Shelly Bluetooth Low Energy Gateway\nБольше Shelly TRV Datapoints",
"pt": "Adicionado Shelly Plus Smoke\nAdicionado Shelly Bluetooth Low Energy Gateway\nMais Datapoints da Shelly TRV",
"nl": "Voegde Shelly Plus Smoke toe\nVoeg Shelly Bluetooth Low Energy Gateway toe\nMeer Shelly TriV Datapoints",
"fr": "Ajouté Shelly Plus Smoke\nAjout de Shelly Bluetooth Low Energy Gateway\nPlus de points de données Shelly TRV",
"it": "Aggiunto Shelly Plus Smoke\nAggiunto Shelly Bluetooth Low Energy Gateway\nPiù Shelly TRV Datapoints",
"es": "Añadido Shelly más humo\nAñadido Shelly Bluetooth Low Energy Gateway\nMás puntos de datos Shelly TRV",
"pl": "Strona oficjalna Smoke Shelly Plus\nOficjalna strona Shelly Bluetooth Low Energy Gateway\nMore Shelly TRV Datapoints (ang.)",
"uk": "Доданий Shelly Plus дим\nДодана Shelly Bluetooth Low Energy Gateway\nБільше точок даних Shelly TRV",
"zh-cn": "增 编\n增加谢全·蓝图低能源\n更广的TRV数据点"
}

@@ -193,3 +193,3 @@ },

{
"js-controller": ">=5.0.0"
"js-controller": ">=5.0.19"
}

@@ -196,0 +196,0 @@ ]

@@ -64,2 +64,3 @@ 'use strict';

const shelly1pmmini = require('./devices/gen2/shelly1pmmini').shelly1pmmini;
const shellyplusuni = require('./devices/gen2/shellyplusuni').shellyplusuni;
const shellywalldisplay = require('./devices/gen2/shellywalldisplay').shellywalldisplay;

@@ -71,3 +72,7 @@

const shellypmminig3 = require('./devices/gen3/shellypmminig3').shellypmminig3;
const shellyhtg3 = require('./devices/gen3/shellyhtg3').shellyhtg3;
const shelly1pmg3 = require('./devices/gen3/shelly1pmg3').shelly1pmg3;
const shelly1g3 = require('./devices/gen3/shelly1g3').shelly1g3;
const devices = {

@@ -129,3 +134,4 @@ // Gen 1

shelly1pmmini,
shellywalldisplay,
shellyplusuni,
ShellyWallDisplay: shellywalldisplay,
// Gen 3

@@ -135,2 +141,5 @@ shelly1minig3,

shellypmminig3,
shellyhtg3,
shelly1pmg3,
shelly1g3,
};

@@ -195,3 +204,4 @@

shelly1pmmini: ['shelly1pmmini'],
shellywalldisplay: ['ShellyWallDisplay'],
shellyplusuni: ['shellyplusuni'],
ShellyWallDisplay: ['ShellyWallDisplay'],
// Gen 3

@@ -201,2 +211,5 @@ shelly1minig3: ['shelly1minig3'],

shellypmminig3: ['shellypmminig3'],
shellyhtg3: ['shellyhtg3'],
shelly1pmg3: ['shelly1pmg3'],
shelly1g3: ['shelly1g3'],
};

@@ -260,3 +273,4 @@

shelly1pmmini: 2,
shellywalldisplay: 2,
shellyplusuni: 2,
ShellyWallDisplay: 2,
// Gen 3

@@ -266,2 +280,5 @@ shelly1minig3: 3,

shellypmminig3: 3,
shellyhtg3: 3,
shelly1pmg3: 3,
shelly1g3: 3,
};

@@ -326,3 +343,4 @@

shelly1pmmini: 'https://kb.shelly.cloud/knowledge-base/shelly-plus-1pm-mini',
shellywalldisplay: 'https://kb.shelly.cloud/knowledge-base/shelly-wall-display',
shellyplusuni: 'https://kb.shelly.cloud/knowledge-base/shelly-plus-uni',
ShellyWallDisplay: 'https://kb.shelly.cloud/knowledge-base/shelly-wall-display',
// Gen 3

@@ -332,2 +350,5 @@ shelly1minig3: 'https://kb.shelly.cloud/knowledge-base/shelly-1-mini-gen3',

shellypmminig3: 'https://kb.shelly.cloud/knowledge-base/shelly-pm-mini-gen3',
shellyhtg3: 'https://kb.shelly.cloud/knowledge-base/shelly-h-t-gen3',
shelly1pmg3: 'https://kb.shelly.cloud/knowledge-base/shelly-1pm-gen3',
shelly1g3: 'https://kb.shelly.cloud/knowledge-base/shelly-1-gen3',
};

@@ -353,2 +374,4 @@

shellyplussmoke: 3600,
// Gen 3
shellyhtg3: 3600,
};

@@ -355,0 +378,0 @@

@@ -1573,3 +1573,3 @@ 'use strict';

return JSON.stringify(val.payload, null, 2);
} catch (err) {
} catch {
return JSON.stringify({ error: 'Unable to parse json' });

@@ -1576,0 +1576,0 @@ }

@@ -80,3 +80,3 @@ 'use strict';

min: 1,
max: 600,
max: 1000,
read: true,

@@ -83,0 +83,0 @@ write: true,

@@ -15,3 +15,3 @@ 'use strict';

shellyHelperGen2.addProSwitchAddon(shellypro3em);
shellyHelperGen2.addProOutputAddon(shellypro3em);

@@ -18,0 +18,0 @@ module.exports = {

@@ -302,3 +302,3 @@ 'use strict';

getLogInfo() {
return `${this.getIP() ?? ''} (${this.getDeviceClass()} / ${this.getId()} / ${this.getDeviceId()})`;
return `${this.getIP() ?? ''} (${this.getDeviceClass()} / ${this.getId()} / ${this.getDeviceId()})`.trim();
}

@@ -487,2 +487,3 @@

name: `Device ${deviceId}`,
desc: `Gen ${this.getDeviceGen()}`,
statusStates: {

@@ -673,5 +674,5 @@ onlineId: `${this.adapter.namespace}.${deviceId}.online`,

this.adapter.log.debug(`Deleted unused state: ${tmpObj._id}`);
this.adapter.log.debug(`Deleted unused state "${tmpObj._id}"`);
} catch (err) {
this.adapter.log.error(`Could not delete unused state: ${tmpObj._id}`);
this.adapter.log.error(`Could not delete unused state "${tmpObj._id}": ${err}`);
}

@@ -713,5 +714,5 @@ }

this.adapter.log.debug(`Deleted unused channel: ${tmpObj._id}`);
this.adapter.log.debug(`Deleted unused channel "${tmpObj._id}"`);
} catch (err) {
this.adapter.log.error(`Could not delete unused channel: ${tmpObj._id}`);
this.adapter.log.error(`Could not delete unused channel "${tmpObj._id}": ${err}`);
}

@@ -718,0 +719,0 @@ }

@@ -82,3 +82,3 @@ 'use strict';

id = id.replace(/(.+?)\/(.+?)\/(.*)/, '$2');
this.deviceClass = id.replace(/(.+)-(.+)/, '$1').toLowerCase();
this.deviceClass = id.replace(/(.+)-(.+)/, '$1');
}

@@ -521,3 +521,3 @@ }

} catch (err) {
} catch {
// we do not change anything

@@ -524,0 +524,0 @@ }

@@ -36,3 +36,3 @@ 'use strict';

return Math.round(fahrenheit * 100) / 100;
} catch (err) {
} catch {
return undefined;

@@ -50,3 +50,3 @@ }

return Math.round(celsius * 100) / 100;
} catch (err) {
} catch {
return undefined;

@@ -375,3 +375,3 @@ }

return value;
} catch (err) {
} catch {
return 0;

@@ -378,0 +378,0 @@ }

@@ -33,2 +33,3 @@ 'use strict';

this.on('stateChange', this.onStateChange.bind(this));
this.on('fileChange', this.onFileChange.bind(this));
this.on('unload', this.onUnload.bind(this));

@@ -45,2 +46,3 @@ }

await this.mkdirAsync(this.namespace, 'scripts');
this.subscribeForeignFiles(this.namespace, '*');

@@ -124,2 +126,6 @@ this.subscribeStates('*');

onFileChange(id, fileName, size) {
this.log.debug(`[onFileChange]: id: ${id}, fileName: ${fileName}, size: ${size}`);
}
/**

@@ -150,3 +156,3 @@ * @param {() => void} callback

this.serverCoap.destroy();
} catch (err) {
} catch {
// ignore

@@ -160,3 +166,3 @@ }

this.serverMqtt.destroy();
} catch (err) {
} catch {
// ignore

@@ -167,3 +173,3 @@ }

callback();
} catch (e) {
} catch {
// this.log.error('Error');

@@ -341,3 +347,3 @@ callback();

if (val.scriptVersion !== '0.2') {
if (val.scriptVersion !== '0.3') {
this.log.warn(`[BLE] ${val.srcBle.mac} (via ${val.src}): BLE-Script version ${val.scriptVersion} is not supported, check documentation for latest version`);

@@ -424,3 +430,17 @@ }

await this.setStateAsync(`ble.${val.srcBle.mac}.pid`, { val: pidNew, ack: true, c: val.src });
await this.setStateAsync(`ble.${val.srcBle.mac}.receivedBy`, { val: JSON.stringify({ [val.src]: val.payload.rssi }), ack: true });
await this.setStateAsync(
`ble.${val.srcBle.mac}.receivedBy`, {
val: JSON.stringify(
{
[val.src]: {
rssi: val.payload.rssi,
ts: Date.now(),
},
},
null,
2,
),
ack: true,
},
);

@@ -451,5 +471,8 @@ for (const [key, value] of Object.entries(val.payload)) {

const deviceList = JSON.parse(receivedByState.val);
deviceList[val.src] = val.payload.rssi;
deviceList[val.src] = {
rssi: val.payload.rssi,
ts: Date.now(),
};
await this.setStateAsync(`ble.${val.srcBle.mac}.receivedBy`, { val: JSON.stringify(deviceList), ack: true });
await this.setStateAsync(`ble.${val.srcBle.mac}.receivedBy`, { val: JSON.stringify(deviceList, null, 2), ack: true });
}

@@ -456,0 +479,0 @@ } catch (err) {

{
"name": "iobroker.shelly",
"version": "7.0.0",
"version": "8.0.0",
"description": "Integrate your Shelly devices into ioBroker via MQTT or CoAP",

@@ -43,33 +43,36 @@ "author": {

"dependencies": {
"@apollon/iobroker-tools": "^0.2.1",
"@iobroker/adapter-core": "^3.1.4",
"axios": "^1.6.8",
"@apollon/iobroker-tools": "^0.3.0",
"@iobroker/adapter-core": "^3.1.6",
"axios": "^1.7.5",
"mqtt-connection": "^4.1.0",
"shelly-iot": "^1.1.2",
"tcp-ping": "^0.1.1",
"xml2js": "0.6.2",
"xml2js": "^0.6.2",
"xmlbuilder": "^15.1.1"
},
"devDependencies": {
"@alcalzone/release-script": "^3.7.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.0",
"@alcalzone/release-script": "^3.8.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@iobroker/adapter-dev": "^1.3.0",
"@iobroker/testing": "^4.1.3",
"@types/chai": "^4.3.14",
"@types/chai": "^4.3.17",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.7",
"@types/mocha": "^10.0.7",
"@types/node": "^22.5.0",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"mocha": "^10.7.3",
"proxyquire": "^2.1.3",
"sinon": "^17.0.1",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"typescript": "~5.4.5"
"typescript": "~5.5.4"
},

@@ -80,3 +83,3 @@ "main": "main.js",

"admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}",
"lib/",
"lib/**/*.js",
"io-package.json",

@@ -91,5 +94,6 @@ "LICENSE",

"test:integration": "mocha test/integration --exit",
"lint": "eslint --ext .js,.jsx",
"lint": "eslint",
"translate": "translate-adapter",
"release": "release-script",
"update-svg": "node lib/jsonConfigSvg",
"release-patch": "release-script patch --yes",

@@ -96,0 +100,0 @@ "release-minor": "release-script minor --yes",

@@ -37,74 +37,78 @@ ![Logo](admin/shelly.png)

| Shelly Device | CoAP | MQTT | Tested firmware version |
| ------------------------------------ | --------- | --------- | ---------------------------------------- |
| Shelly 1 (SHSW-1) | >= v3.3.0 | >= v3.3.0 | 20230913-112003/v1.14.0-gcb84623 |
| Shelly 1 PM (SHSW-PM) | >= v3.3.0 | >= v3.3.0 | 20230913-113709/v1.14.0-gcb84623 |
| Shelly 1L (SHSW-L) | >= v4.0.5 | >= v4.0.5 | n/a |
| Shelly 2 (SHSW-21/SHSW-22) | >= v3.3.0 | >= v3.3.0 | 20230913-112145/v1.14.0-gcb84623 |
| Shelly 2.5 (SHSW-25) | >= v3.3.0 | >= v3.3.0 | 20230913-112234/v1.14.0-gcb84623 |
| Shelly 4 Pro (SHSW-44) | >= v3.3.5 | >= v3.3.5 | n/a |
| Shelly Dimmer (SHDM-1) | >= v3.3.0 | >= v3.3.0 | 20230913-113908/v1.14.0-gcb84623 |
| Shelly Dimmer 2 (SHDM-2) | >= v3.3.4 | >= v3.3.4 | n/a |
| Shelly RGBW (SHRGBWW-01) | < v3.4.0 | < v3.4.0 | n/a |
| Shelly RGBW 2 (SHRGBW2) | >= v3.3.0 | >= v3.3.0 | 20230913-131259/v1.14.0-gcb84623 |
| Shelly i3 (SHIX3-1) | >= v3.3.0 | >= v3.3.0 | 20230913-114336/v1.14.0-gcb84623 |
| Shelly EM (SHEM) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly 3EM (SHEM-3) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly H&T (SHHT-1) | >= v3.3.0 | >= v3.3.0 | 20230503-100134/v1.13.0-g9aed950 |
| Shelly Smoke (SHSM-01) | >= v3.3.0 | >= v3.3.0 | 20230503-095905/v1.13.0-g9aed950 |
| Shelly Flood (SHWT-1) | >= v3.3.0 | >= v3.3.0 | 20230503-100249/v1.13.0-g9aed950 |
| Shelly Gas (SHGS-1) | >= v3.3.3 | >= v3.3.3 | 20230503-102300/v1.13.0-g9aed950 |
| Shelly Door/Window Sensor (SHDW-1) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Door/Window Sensor 2 (SHDW-2) | >= v3.3.5 | >= v3.3.5 | 20230503-100505/v1.13.0-g9aed950 |
| Shelly2LED (SH2LED) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Plug (SHPLG-1) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Plug S (SHPLG-S) | >= v3.3.0 | >= v3.3.0 | 20230913-113421/v1.14.0-gcb84623 |
| Shelly Plug 2 (SHPLG-2) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Sense (SHSEN-1) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Bulb (SHBLB) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Bulb Duo (SHBDUO-1) | >= v3.3.0 | >= v3.3.0 | 20221027-090712/v1.12.1-ga9117d3 |
| Shelly Color Bulb (SHCB-1) | >= v4.0.5 | >= v4.0.5 | 20230913-111548/v1.14.0-gcb84623 |
| Shelly Vintage (SHVIN-1) | >= v3.3.0 | >= v3.3.0 | n/a |
| Shelly Uni (SHUNI-1) | >= v4.0.4 | >= v4.0.4 | 20230913-114521/v1.14.0-gcb84623 |
| Shelly Button (SHBTN-1) | >= v3.3.3 | >= v3.3.3 | 20230913-113105/v1.14.0-gcb84623 |
| Shelly Button (SHBTN-2) | >= v4.0.5 | >= v4.0.5 | n/a |
| Shelly Motion (SHMOS-01) | >= v4.0.6 | >= v4.0.6 | 20220811-152232/v2.1.8@5afc928c |
| Shelly TRV (SHTRV-01) | >= v6.0.0 | >= v6.0.0 | 20220811-152343/v2.1.8@5afc928c |
| Shelly Motion 2 (SHMOS-02) | => v6.2.0 | >= v6.2.0 | 20220811-152232/v2.1.8@5afc928c |
| Shelly Device | CoAP | MQTT |
| ------------------------------------ | --------- | --------- |
| Shelly 1 (SHSW-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly 1 PM (SHSW-PM) | >= v3.3.0 | >= v3.3.0 |
| Shelly 1L (SHSW-L) | >= v4.0.5 | >= v4.0.5 |
| Shelly 2 (SHSW-21/SHSW-22) | >= v3.3.0 | >= v3.3.0 |
| Shelly 2.5 (SHSW-25) | >= v3.3.0 | >= v3.3.0 |
| Shelly 4 Pro (SHSW-44) | >= v3.3.5 | >= v3.3.5 |
| Shelly Dimmer (SHDM-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Dimmer 2 (SHDM-2) | >= v3.3.4 | >= v3.3.4 |
| Shelly RGBW (SHRGBWW-01) | < v3.4.0 | < v3.4.0 |
| Shelly RGBW 2 (SHRGBW2) | >= v3.3.0 | >= v3.3.0 |
| Shelly i3 (SHIX3-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly EM (SHEM) | >= v3.3.0 | >= v3.3.0 |
| Shelly 3EM (SHEM-3) | >= v3.3.0 | >= v3.3.0 |
| Shelly H&T (SHHT-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Smoke (SHSM-01) | >= v3.3.0 | >= v3.3.0 |
| Shelly Flood (SHWT-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Gas (SHGS-1) | >= v3.3.3 | >= v3.3.3 |
| Shelly Door/Window Sensor (SHDW-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Door/Window Sensor 2 (SHDW-2) | >= v3.3.5 | >= v3.3.5 |
| Shelly2LED (SH2LED) | >= v3.3.0 | >= v3.3.0 |
| Shelly Plug (SHPLG-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Plug S (SHPLG-S) | >= v3.3.0 | >= v3.3.0 |
| Shelly Plug 2 (SHPLG-2) | >= v3.3.0 | >= v3.3.0 |
| Shelly Sense (SHSEN-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Bulb (SHBLB) | >= v3.3.0 | >= v3.3.0 |
| Shelly Bulb Duo (SHBDUO-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Color Bulb (SHCB-1) | >= v4.0.5 | >= v4.0.5 |
| Shelly Vintage (SHVIN-1) | >= v3.3.0 | >= v3.3.0 |
| Shelly Uni (SHUNI-1) | >= v4.0.4 | >= v4.0.4 |
| Shelly Button (SHBTN-1) | >= v3.3.3 | >= v3.3.3 |
| Shelly Button (SHBTN-2) | >= v4.0.5 | >= v4.0.5 |
| Shelly Motion (SHMOS-01) | >= v4.0.6 | >= v4.0.6 |
| Shelly TRV (SHTRV-01) | >= v6.0.0 | >= v6.0.0 |
| Shelly Motion 2 (SHMOS-02) | => v6.2.0 | >= v6.2.0 |
### Generation 2 (Gen 2)
| Shelly Device | CoAP | MQTT | Tested firmware version |
|-------------------------------------------| ---- | --------- | ------------------------------- |
| Shelly Plus 1 (shellyplus1) | ❌ | >= v5.0.0 | 20231219-133950/1.1.0-g34b5d4f |
| Shelly Plus 1 PM (shellyplus1pm) | ❌ | >= v5.0.0 | 20231219-133934/1.1.0-g34b5d4f |
| Shelly Plus 2 PM (shellyplus2pm) | ❌ | >= v5.2.0 | 20231219-133951/1.1.0-g34b5d4f |
| Shelly Plus i4 (shellyplusi4) | ❌ | >= v5.3.0 | 20231219-133933/1.1.0-g34b5d4f |
| Shelly Plus i4 DC (shellyplusi4) | ❌ | >= v5.3.0 | 20231219-133933/1.1.0-g34b5d4f |
| Shelly Plus 0-10V (shellyplus010v) | ❌ | >= v6.9.0 | n/a |
| Shelly Pro 1 (shellypro1) | ❌ | >= v5.2.0 | 20231219-133937/1.1.0-g34b5d4f |
| Shelly Pro 1 PM (shellypro1pm) | ❌ | >= v5.2.0 | 20231219-133937/1.1.0-g34b5d4f |
| Shelly Pro 2 (shellypro2) | ❌ | >= v5.2.0 | 20231219-133952/1.1.0-g34b5d4f |
| Shelly Pro 2 PM (shellypro2pm) | ❌ | >= v5.2.0 | 20231219-133937/1.1.0-g34b5d4f |
| Shelly Pro 3 (shellypro3) | ❌ | >= v6.2.0 | 20231219-133956/1.1.0-g34b5d4f |
| Shelly Pro 4 PM (shellypro4pm) | ❌ | >= v5.0.0 | 20231219-133936/1.1.0-g34b5d4f |
| Shelly Pro 3 EM (shellypro3em) | ❌ | >= v6.4.0 | n/a |
| Shelly Pro Dimmer 1 PM (shellyprodm1pm) | ❌ | >= v7.0.0 | 20240425-141834/1.3.0-ga3fdd3d |
| Shelly Pro Dimmer 2 PM (shellyprodm2pm) | ❌ | >= v7.0.0 | n/a |
| Shelly Plus H&T (shellyplusht) | ❌ | >= v6.2.0 | 20240105-142929/1.1.1-g68a461a |
| Shelly Plus Smoke (shellyplussmoke) | ❌ | >= v6.5.0 | 20230912-082250/1.0.3-g6176478 |
| Shelly Bluetooth Gateway (shellyblugw) | ❌ | >= v6.5.0 | 20230912-081940/1.0.3-g6176478 |
| Shelly Plus Plug S (shellyplusplugs) | ❌ | >= v6.4.0 | n/a |
| Shelly Plus PM Mini (shellypmmini) | ❌ | >= v6.4.5 | n/a |
| Shelly Plus 1 Mini (shellyplus1mini) | ❌ | >= v6.4.5 | n/a |
| Shelly Plus 1 PM Mini (shellyplus1pmmini) | ❌ | >= v6.4.5 | n/a |
| Shelly Wall Display (shellywalldisplay) | ❌ | >= v7.0.0 | 20240402-142908/1.2.11-e287c5c3 |
| Shelly Device | CoAP | MQTT |
|-------------------------------------------| ---- | --------- |
| Shelly Plus 1 (shellyplus1) | ❌ | >= v5.0.0 |
| Shelly Plus 1 PM (shellyplus1pm) | ❌ | >= v5.0.0 |
| Shelly Plus 2 PM (shellyplus2pm) | ❌ | >= v5.2.0 |
| Shelly Plus i4 (shellyplusi4) | ❌ | >= v5.3.0 |
| Shelly Plus i4 DC (shellyplusi4) | ❌ | >= v5.3.0 |
| Shelly Plus 0-10V (shellyplus010v) | ❌ | >= v6.9.0 |
| Shelly Pro 1 (shellypro1) | ❌ | >= v5.2.0 |
| Shelly Pro 1 PM (shellypro1pm) | ❌ | >= v5.2.0 |
| Shelly Pro 2 (shellypro2) | ❌ | >= v5.2.0 |
| Shelly Pro 2 PM (shellypro2pm) | ❌ | >= v5.2.0 |
| Shelly Pro 3 (shellypro3) | ❌ | >= v6.2.0 |
| Shelly Pro 4 PM (shellypro4pm) | ❌ | >= v5.0.0 |
| Shelly Pro 3 EM (shellypro3em) | ❌ | >= v6.4.0 |
| Shelly Pro Dimmer 1 PM (shellyprodm1pm) | ❌ | >= v7.0.0 |
| Shelly Pro Dimmer 2 PM (shellyprodm2pm) | ❌ | >= v7.0.0 |
| Shelly Plus H&T (shellyplusht) | ❌ | >= v6.2.0 |
| Shelly Plus Smoke (shellyplussmoke) | ❌ | >= v6.5.0 |
| Shelly Bluetooth Gateway (shellyblugw) | ❌ | >= v6.5.0 |
| Shelly Plus Plug S (shellyplusplugs) | ❌ | >= v6.4.0 |
| Shelly Plus PM Mini (shellypmmini) | ❌ | >= v6.4.5 |
| Shelly Plus 1 Mini (shellyplus1mini) | ❌ | >= v6.4.5 |
| Shelly Plus 1 PM Mini (shellyplus1pmmini) | ❌ | >= v6.4.5 |
| Shelly Plus Uni (shellyplusuni) | ❌ | >= v7.1.0 |
| Shelly Wall Display (shellywalldisplay) | ❌ | >= v7.0.0 |
### Generation 3 (Gen 3)
| Shelly Device | CoAP | MQTT | Tested firmware version |
|-------------------------------------------| ---- | --------- | ------------------------------- |
| Shelly 1 Mini (shelly1minig3) | ❌ | >= v7.0.0 | 20240425-141412/1.3.0-ga3fdd3d |
| Shelly 1 PM Mini (shelly1pmminig3) | ❌ | >= v7.0.0 | 20240425-141355/1.3.0-ga3fdd3d |
| Shelly PM Mini (shellypmminig3) | ❌ | >= v7.0.0 | 20240425-141418/1.3.0-ga3fdd3d |
| Shelly Device | CoAP | MQTT |
|-------------------------------------------| ---- | --------- |
| Shelly 1 Mini Gen3 (shelly1minig3) | ❌ | >= v7.0.0 |
| Shelly 1 PM Mini Gen3 (shelly1pmminig3) | ❌ | >= v7.0.0 |
| Shelly PM Mini Gen3 (shellypmminig3) | ❌ | >= v7.0.0 |
| Shelly H&T Gen3 (shellyhtg3) | ❌ | >= v7.1.0 |
| Shelly 1 PM Gen3 (shelly1pmg3) | ❌ | >= v7.1.0 |
| Shelly 1 Gen3 (shelly1g3) | ❌ | >= v7.1.0 |

@@ -128,2 +132,5 @@ ### Bluetooth Low Energy (BLU)

- USB powered UVC LED strip
- Shelly Plus RGBW PM (shellyplusrgbwpm)
- Shelly i4 Gen3 (shellyi4g3)
- Shelly Dimmer Gen3 (shelly0110dimg3)

@@ -136,3 +143,3 @@ ## Sentry

### TypeError: xmlserializer.Builder is not a constructor
### TypeError: `xmlserializer.Builder is not a constructor`

@@ -149,2 +156,12 @@ execute

-->
### 8.0.0 (2024-08-25)
* (imperial929) Added Shelly 1 PM Gen3
* (imperial929) Added Shelly 1 Gen3
* (klein0r) Breaking change: Renamed input states (now digital/analog) of Shelly Plus Addon (Ext)
* (klein0r) Added Shelly Plus Uni
* (klein0r) Added Shelly H&T (Gen3)
* (klein0r) Improved structure of ble events (receivedBy) - see documentation for details
* (bluefox) Improved the color of icons in the admin interface
### 7.0.0 (2024-04-29)

@@ -178,8 +195,2 @@

### 6.6.1 (2023-10-20)
* (klein0r) Fixed stop reason for Shelly 2.5 / Shelly 2
* (klein0r) Added humidity of Shelly Plus Addon
* (klein0r) Not all devices have external power
## License

@@ -186,0 +197,0 @@

Sorry, the diff of this file is too big to display

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