Skip to content

Commit

Permalink
proper array mapping for device name
Browse files Browse the repository at this point in the history
  • Loading branch information
DutchmanNL committed Aug 12, 2023
1 parent 65611ed commit 02b14c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"common": {
"name": "multicast",
"version": "0.2.0-ALpha.0",
"version": "0.2.0-ALpha.1",
"news": {
"0.1.6": {
"en": "Dependency updates",
Expand Down
5 changes: 2 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class Multicast extends utils.Adapter {

await this.loadMainSettings();


// Reset all connection states to FALSE
this.DoResetConnState();
// Write logging of configuration values to debug log
Expand Down Expand Up @@ -774,8 +773,8 @@ class Multicast extends utils.Adapter {
// No action required, message already acknowledged

} else {
this.log.error(`Device ${message.common.id} not response to message ${msgID}`)
this.setState(`${message.common.id}.Info.Connected`,{ val: false, ack: true});
this.log.error(`Device ${message.common.id} not response to message ${msgID}`);
this.setState(`${message.i['Devicename']}.Info.Connected`,{ val: false, ack: true});
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion 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.multicast",
"version": "0.2.0-ALpha.0",
"version": "0.2.0-ALpha.1",
"description": "Receive and sent multicast information",
"author": {
"name": "DutchmanNL",
Expand Down

0 comments on commit 02b14c6

Please sign in to comment.