diff --git a/plejd/Dockerfile b/plejd/Dockerfile index bc4cff1..320ec88 100644 --- a/plejd/Dockerfile +++ b/plejd/Dockerfile @@ -25,7 +25,7 @@ RUN \ libc-dev=0.7.1-r0 \ linux-headers=4.19.36-r0 \ make=4.2.1-r2 \ - python=2.7.16-r1 \ + python=2.7.16-r2 \ bluez=5.50-r3 \ eudev-dev=3.2.8-r0 \ \ diff --git a/plejd/api.js b/plejd/api.js index 9e02c76..91e2e98 100644 --- a/plejd/api.js +++ b/plejd/api.js @@ -44,7 +44,8 @@ class PlejdApi extends EventEmitter { } login() { - logger('login()'); + console.log('plejd-api: login()'); + console.log('logging into ' + this.siteName); const self = this; const instance = axios.create({ @@ -79,7 +80,7 @@ class PlejdApi extends EventEmitter { } getCryptoKey(callback) { - logger('getCryptoKey()'); + console.log('plejd-api: getCryptoKey()'); const self = this; const instance = axios.create({ diff --git a/plejd/config.json b/plejd/config.json index f5abb0f..5e4d574 100644 --- a/plejd/config.json +++ b/plejd/config.json @@ -1,6 +1,6 @@ { "name": "Plejd", - "version": "0.2.2", + "version": "0.2.3", "slug": "plejd", "description": "Adds support for the Swedish home automation devices from Plejd.", "url": "https://github.com/icanos/hassio-plejd/", diff --git a/plejd/main.js b/plejd/main.js index 7f07ba6..4e6fafd 100644 --- a/plejd/main.js +++ b/plejd/main.js @@ -3,7 +3,7 @@ const mqtt = require('./mqtt'); const fs = require('fs'); const PlejdService = require('./ble'); -const version = "0.2.2"; +const version = "0.2.3"; async function main() { console.log('starting Plejd add-on v. ' + version);