iobroker.boschindego
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"common": { | ||
"name": "boschindego", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"news": { | ||
"1.0.2": { | ||
"en": "added client timeout", | ||
"de": "client timeout", | ||
"ru": "добавлено timeout клиента", | ||
"pt": "adicionado timeout cliente", | ||
"nl": "voegde cliënt time-out toe", | ||
"fr": "client ajouté timeout", | ||
"it": "timeout client aggiunto", | ||
"es": "tiempo adicional cliente", | ||
"pl": "uproszczony czas klienta", | ||
"uk": "доданий клієнт", | ||
"zh-cn": "增加客户时间" | ||
}, | ||
"1.0.1": { | ||
@@ -7,0 +20,0 @@ "en": "bump version. New Object structure please delete old objects and restart", |
14
main.js
@@ -31,2 +31,3 @@ 'use strict'; | ||
withCredentials: true, | ||
timeout: 3 * 60 * 1000, //3min client timeout | ||
httpsAgent: new HttpsCookieAgent({ | ||
@@ -567,7 +568,9 @@ cookies: { | ||
addLocationtoMap(state, map) { | ||
map = map.substr(0, map.length - 6); // remove </svg> | ||
map = | ||
map + | ||
`<circle cx="${state.svg_xPos}" cy="${state.svg_yPos}" r="20" stroke="black" stroke-width="3" fill="yellow" /></svg>`; | ||
map = map.replace('ry="0" fill="#FAFAFA"', 'ry="0" fill="#000" fill-opacity="0.0"'); | ||
//add location to map | ||
map = map.replace( | ||
'</svg>', | ||
`<circle cx="${state.svg_xPos}" cy="${state.svg_yPos}" r="20" stroke="black" stroke-width="3" fill="yellow"/> </svg>`, | ||
); | ||
//transparent background | ||
map = map.replace('ry="0" fill="#FAFAFA"', 'ry="0" fill="#00000" fill-opacity="0.0"'); | ||
return map; | ||
@@ -578,3 +581,2 @@ } | ||
this.log.debug('Refresh token'); | ||
await this.requestClient({ | ||
@@ -581,0 +583,0 @@ method: 'post', |
{ | ||
"name": "iobroker.boschindego", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Adapter for Bosch Indego Mower", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -30,7 +30,13 @@ ![Logo](admin/boschindego.png) | ||
--> | ||
### 1.0.2 (2023-11-23) | ||
- added client timeout | ||
### 1.0.1 (2023-11-19) | ||
- bump version. New Object structure please delete old objects and restart | ||
- (TA2k) bump version. New Object structure please delete old objects and restart | ||
### 1.0.0 (2023-11-18) | ||
- (mcm1957) Version number has been bumped to 1.0.0 as lower numbers have been already used in the past. | ||
@@ -37,0 +43,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105222
808
70