Skip to content

Commit

Permalink
(simatec) Release v0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Jun 19, 2024
1 parent 6ebd62d commit e00acec
Show file tree
Hide file tree
Showing 5 changed files with 573 additions and 4,059 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ When the adapter crashes or an other Code error happens, this error message that
## Changelog
<!-- ### __WORK IN PROGRESS__ -->
### __WORK IN PROGRESS__
* (simatec) Cloud-URL updated
* (simatec) Dependencies updated

### 0.9.6 (2024-02-05)
Expand Down
7 changes: 5 additions & 2 deletions io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@
"en": "docs/en/solax.md",
"de": "docs/de/solax.md"
},
"license": "MIT",
"licenseInformation": {
"license": "MIT",
"type": "free"
},
"platform": "Javascript/Node.js",
"main": "main.js",
"icon": "solax.png",
Expand All @@ -158,7 +161,7 @@
],
"globalDependencies": [
{
"admin": ">=5.1.0"
"admin": ">=6.0.0"
}
],
"adminUI": {
Expand Down
7 changes: 4 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ async function validateURL() {
return new Promise(async (resolve, reject) => {

const cloudURL = {
0: 'https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do',
1: 'https://www.eu.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do'
0: 'https://www.eu.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do',
1: 'https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do',
2: 'https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do'
}

for (const url in cloudURL) {
Expand Down Expand Up @@ -275,7 +276,7 @@ async function requestAPI() {
url: solaxURL,
timeout: 5000,
headers: {
'User-Agent': 'axios/1.3.6'
'User-Agent': 'axios/1.7.2'
},
responseType: 'json'
});
Expand Down
Loading

0 comments on commit e00acec

Please sign in to comment.