Skip to content

Commit

Permalink
V0.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mschlgl committed Apr 24, 2024
1 parent 47230d7 commit 4653958
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 15 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ If you are a non commercial organisation or use it for private use you can get a
* (Bannsaenger) updated to adapter-dev and release script
* (Bannsaenger) updated dependencies

### 0.2.11
* (mschlgl) added instance.device.name to be set at startup

### 0.2.10
* (mschlgl) corrected preset list handling
* (mschlgl) corrected preset list handling on SMD202

### 0.2.9
* (mschlgl) odisable subtitle command on startup added
* (mschlgl) disable subtitle command on startup added for SMD202

### 0.2.8
* (mschlgl) onStreamData command debug msg added
Expand All @@ -69,25 +72,25 @@ If you are a non commercial organisation or use it for private use you can get a
* (mschlgl) corrected typo in object_templates

### 0.2.3
* (mschlgl) fixed DMP120 file handling
* (mschlgl) fixed DMP128 file handling

### 0.2.2
* (mschlgl) fixed SMD202 loopmode command

### 0.2.1
* (mschlgl) updated log messages, improved group control
* (mschlgl) updated log messages, improved group control on DMP128

### 0.2.0
* (Bannsaenger) updated dependencies

### 0.1.16
* (mschlgl) fixed group command issues, added statedelay log message
* (mschlgl) fixed group command issues, added statedelay log message on DMP128

### 0.1.15
* (mschlgl) added statedelay log message
* (mschlgl) added statedelay log message on DMP128

### 0.1.14
* (mschlgl) fixed group command issues
* (mschlgl) fixed group command issues on DMP128

### 0.1.13
* (mschlgl) fixed source code version issues
Expand Down Expand Up @@ -140,7 +143,7 @@ If you are a non commercial organisation or use it for private use you can get a
## License
Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

Copyright (c) 2021-2023 Bannsaenger, https://github.com/bannsaenger <[email protected]>
Copyright (c) 2021-2024 Bannsaenger, https://github.com/bannsaenger <[email protected]>

![CC BY-NC License](https://i.creativecommons.org/l/by-nc/4.0/88x31.png)

Expand Down
14 changes: 9 additions & 5 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{
"common": {
"name": "extron",
"version": "0.2.10",
"version": "0.2.11",
"news": {
"0.2.11": {
"en": "added instance.device.name set on startup",
"de": "setzen von instance.device.name bei Adapterstart hinzugefügt"
},
"0.2.10": {
"en": "corrected preset list handling",
"de": "verarbeitung der Kanalliste korrigiert"
"en": "SMD202: corrected preset list handling",
"de": "SMD202: verarbeitung der Kanalliste korrigiert"
},
"0.2.9": {
"en": "disable subtitle command at startup added",
"de": "Abschaltung Untertitel bei Adapterstart hinzugefügt"
"en": "SMD202: disable subtitle command at startup added",
"de": "SMD202: Abschaltung Untertitel bei Adapterstart hinzugefügt"
},
"0.2.8": {
"en": "onStreamData command debug msg added",
Expand Down
6 changes: 5 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*
* iobroker extron (SIS) Adapter V0.2.10 20240409
* iobroker extron (SIS) Adapter V0.2.11 20240424
*
* Copyright (c) 2020-2024, Bannsaenger <[email protected]>
*
Expand Down Expand Up @@ -840,6 +840,10 @@ class Extron extends utils.Adapter {
for (const element of this.objectsTemplate.common) {
await this.setObjectNotExistsAsync(element._id, element);
}
// add deviceName to database
const deviceObj = this.objectsTemplate.common[0];
deviceObj.common.name = this.devices[this.config.device].name;
await this.setObjectAsync('device', deviceObj);
// if cp82 or sme211 : create video inputs and outputs
if ((this.devices[this.config.device].short === 'cp82') || (this.devices[this.config.device].short === 'sme211')) {
for (const element of this.objectsTemplate[this.devices[this.config.device].objects[1]].connections) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.extron",
"version": "0.2.10",
"version": "0.2.11",
"description": "Extron SIS adapter",
"author": "Bannsaenger <[email protected]>",
"homepage": "https://github.com/Bannsaenger/ioBroker.extron",
Expand Down

0 comments on commit 4653958

Please sign in to comment.