Skip to content

Commit

Permalink
#373 Fix event receiving for iobroker instances without unique hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
theimo1221 committed Dec 2, 2022
1 parent f216644 commit e84ef4d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -119,6 +119,11 @@ It is recommended that you add your own tests into the mix.
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->

### **WORK IN PROGRESS**

* (theimo1221) #373 Fix event receiving for iobroker instances without unique hostname

### 3.2.1 (2022-12-02)

* (theimo1221) Redeploy
Expand Down
14 changes: 7 additions & 7 deletions build/lib/ringApiClient.js

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

2 changes: 1 addition & 1 deletion build/lib/ringApiClient.js.map

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

2 changes: 1 addition & 1 deletion src/lib/ringApiClient.ts
Expand Up @@ -40,7 +40,7 @@ export class RingApiClient {
this._api = new RingApi({
controlCenterDisplayName: "iobroker.ring",
refreshToken: await this.adapter.getRefreshToken(),
systemId: `${this.adapter.host}.ring`,
systemId: `${this.adapter.host}.ring_v${this.adapter.version}_${Math.random() * Math.pow(10, 6)}`,
cameraStatusPollingSeconds: 120,
locationModePollingSeconds: 120,
// debug: true
Expand Down

0 comments on commit e84ef4d

Please sign in to comment.