Skip to content

Commit

Permalink
v3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
demel42 committed Nov 13, 2023
1 parent 23570a0 commit 246f3ea
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion AutomowerConnectDevice/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,13 @@ public function ReceiveData($data)

$type = $this->GetArrayElem($jbuffer, 'type', '');
if ($type == '') {
$this->SendDebug(__FUNCTION__, 'buffer=' . print_r($jbuffer, true), 0);
$this->SendDebug(__FUNCTION__, 'missing type, buffer=' . print_r($jbuffer, true), 0);
return;
}

$id = $this->GetArrayElem($jbuffer, 'id', '');
if ($id == '' || $id != $this->ReadPropertyString('id')) {
$this->SendDebug(__FUNCTION__, 'id mismatch, buffer=' . print_r($jbuffer, true), 0);
return;
}

Expand All @@ -788,6 +794,7 @@ public function ReceiveData($data)
default:
break;
}

$this->SendDebug(__FUNCTION__, 'type=' . $type . ', attributes=' . print_r($attributes, true), 0);
$this->DecodeAttributes($attributes);
}
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ Quellen:

## 7. Versions-Historie

- 3.3 @ 13.11.2023 11:01
- Fix: bei dem Empfang von Daten per Websocket wird nun die Geräte-ID ausgewertet und somit nur noch vom richtigen Gerät verarbeitet.

- 3.2 @ 03.11.2023 12:40
- Fix: bei der Anlage einer Splitter-Instanz wurde u.U. eine bereits vorhandene Websocket-Instanze verwendet
- update submodule CommonStubs
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"compatibility": {
"version": "6.2"
},
"version": "3.2",
"version": "3.3",
"build": 0,
"date": 1699011603
"date": 1699869709
}

0 comments on commit 246f3ea

Please sign in to comment.