Skip to content

Commit

Permalink
chore: release v1.10.12
Browse files Browse the repository at this point in the history
* (asgothian) corr Channel Scan
  • Loading branch information
arteck committed Nov 3, 2024
1 parent fd15536 commit c5e429f
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 52 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ You can thank the authors by these links:

-----------------------------------------------------------------------------------------------------
## Changelog
### 1.10.12 (2024-11-03)
* (asgothian) corr Channel Scan

### 1.10.11 (2024-11-02)
* BREAKING CHANGE
*
Expand Down
28 changes: 14 additions & 14 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "zigbee",
"version": "1.10.11",
"version": "1.10.12",
"news": {
"1.10.12": {
"en": "corr Channel Scan",
"de": "corr Channel Scan",
"ru": "корректор канала",
"pt": "escaneamento do canal de cortiça",
"nl": "corr kanaalscan",
"fr": "balayage du canal corr",
"it": "corr Channel Scansione",
"es": "corr Channel Scan",
"pl": "corr Channel Scan",
"uk": "сканування каналу",
"zh-cn": "频道扫描"
},
"1.10.11": {
"en": "BREAKING CHANGE\n\nbugs : ChannelScan is currently not available\n\n\nfix linter errors\ndisable map display for deactivated devices\nnew option on map: disable physics interaction\nnew zigbee-herdsman-converters 20.28.0\nnew zigbee-herdsman 2.1.1\nAllow use of keyless converters (used for TuYa and compatible devices in zigbee-herdsman-converters\nswap from request to axios\ndelete groups works again",
"de": "VERWENDUNGSBEREICH\n\nbugs : ChannelScan ist derzeit nicht verfügbar\n\n\nlinterfehler beheben\nkartenanzeige für deaktivierte geräte deaktivieren\nneue option auf der karte: physik-interaktion deaktivieren\nneue zickbee-herdsman-konverter 20.28.0\nneuer zickbee-herdsman 2.1.1\nVerwenden von schlüssellosen Wandlern (für TuYa und kompatible Geräte in Zickbee-herdsman-Konverter verwendet)\nswap von anfrage an axios\nlöschen von gruppen funktioniert wieder",
Expand Down Expand Up @@ -80,19 +93,6 @@
"pl": "podstawowa aktualizacja\naktualizacja zależności",
"uk": "оновлення ядра\nоновлення залежності",
"zh-cn": "核心更新\n依赖性更新"
},
"1.10.5": {
"en": "icon ota device update\nicon fix",
"de": "icon ota device update\nsymbol fix",
"ru": "обновление значок ota\nзначок",
"pt": "atualização do dispositivo do ícone ota\ncorreção do ícone",
"nl": "pictogram ota apparaat update\npictogramfix",
"fr": "icône ota mise à jour du périphérique\ncorrection de l'icône",
"it": "icona ota aggiornamento del dispositivo\nicona fix",
"es": "icono ota actualización del dispositivo\nicono de fijación",
"pl": "icon ota aktualizacji urządzenia\nikona fix",
"uk": "ota пристрій оновлення\nфіксатор ікони",
"zh-cn": "图标 ota 设备更新\n图标修复"
}
},
"titleLang": {
Expand Down
12 changes: 6 additions & 6 deletions lib/zigbeecontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,24 +1007,24 @@ class ZigbeeController extends EventEmitter {
}

async getChannelsEnergy() {
let clusterId = ZDO.ClusterId.NWK_UPDATE_REQUEST;
const clusterId = ZDO.ClusterId.NWK_UPDATE_REQUEST;
const result = {};
try
{
let payload = ZDO.Buffalo.buildRequest(false, clusterId, [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26], 0x05, 1, 0, undefined);
const payload = ZDO.Buffalo.buildRequest(false, clusterId, [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26], 0x05, 1, 0, undefined);
const scanresult = await this.herdsman.adapter.sendZdo(0x0, 0x0, clusterId , payload, false);
this.debug(`scanresult is ${JSON.stringify(scanresult)}`)
this.debug(`scanresult is ${JSON.stringify(scanresult)}`)
result.energyvalues = scanresult[1].entryList;
this.debug(`result is ${JSON.stringify(result)}`)
}
this.debug(`result is ${JSON.stringify(result)}`)
}
catch (error) {
this.sendError(error);
this.error(`Failed to scan channels ${error.stack}`);
result.error = error;

}
return result;

}
}

Expand Down
42 changes: 11 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.zigbee",
"version": "1.10.11",
"version": "1.10.12",
"author": {
"name": "Kirov Ilya",
"email": "[email protected]"
Expand Down

0 comments on commit c5e429f

Please sign in to comment.