Skip to content

Commit

Permalink
fix device list
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Oct 26, 2024
1 parent 06244ed commit 1e301f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,18 @@ class Vesync extends utils.Adapter {
'user-agent': 'ioBroker',
},
data: JSON.stringify({
acceptLanguage: 'de',
acceptLanguage: this.session.acceptLanguage,
traceId: Date.now().toString(),
accountID: this.session.accountID,
appVersion: '1.1',
appVersion: 'VeSync 5.1.40 build9',
method: 'devices',
pageNo: 1,
pageSize: 1000,
phoneBrand: 'ioBroker',
phoneOS: 'ioBroker',
debugMode: false,
timeZone: 'Europe/Berlin',
token: this.session.token,
traceId: '',
}),
})
.then(async (res) => {
Expand Down

0 comments on commit 1e301f2

Please sign in to comment.