homebridge-tauron-elicznik 0.0.2-beta15 → 0.0.2-beta16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -5,6 +5,7 @@ const axios = require('axios');
|
|
5
5
|
const fs = require('fs');
|
6
6
|
const fsPromises = require('fs').promises;
|
7
7
|
const qs = require('qs')
|
8
|
+
const https = require('https');
|
8
9
|
|
9
10
|
const PLUGIN_NAME = 'homebridge-tauron-elicznik';
|
10
11
|
const PLATFORM_NAME = 'tauroneLicznik';
|
@@ -192,7 +193,7 @@ class eLicznikDevice {
|
|
192
193
|
baseURL: LOGIN_URL,
|
193
194
|
data: data,
|
194
195
|
headers: headers,
|
195
|
-
httpsAgent: new https.Agent({
|
196
|
+
httpsAgent: new https.Agent({ rejectUnauthorized: false }),
|
196
197
|
});
|
197
198
|
this.log(response1.data)
|
198
199
|
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"displayName": "Tauron eLicznik",
|
3
3
|
"name": "homebridge-tauron-elicznik",
|
4
|
-
"version": "0.0.2-
|
4
|
+
"version": "0.0.2-beta16",
|
5
5
|
"description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
|
6
6
|
"license": "MIT",
|
7
7
|
"author": "grzegorz914",
|