homebridge-tauron-elicznik 0.0.2-beta36 → 0.0.2-beta37

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.
Files changed (2) hide show
  1. package/index.js +1 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -173,17 +173,15 @@ class eLicznikDevice {
173
173
  var options = {
174
174
  mode: 'text',
175
175
  pythonOptions: ['-u'],
176
- scriptPath: './src/',
177
176
  args: [this.user, this.passwd, this.meterId]
178
177
  };
179
178
 
180
- pyshell.PythonShell.run('elicznik.py', options, function (err, results) {
179
+ pyshell.PythonShell.run('./src/elicznik.py', options, function (err, results) {
181
180
  if (err) throw err;
182
181
  // results is an array consisting of messages collected during execution
183
182
  console.log('results: %j', results.toString());
184
183
  });
185
184
 
186
- this.log.debug('Device: %s %s, debug response: %s', this.meterId, this.name, response1);
187
185
  const energyImport = 0;
188
186
  const energyExport = 0;
189
187
  if (this.tauroneLicznikEnergyService) {
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-beta36",
4
+ "version": "0.0.2-beta37",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to read data from Tauron eLicznik.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",