Merge pull request #33 from icanos/dev

resolved container build error
This commit is contained in:
Marcus Westin 2020-01-14 18:29:27 +01:00 committed by GitHub
commit fecd699171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View file

@ -25,7 +25,7 @@ RUN \
libc-dev=0.7.1-r0 \ libc-dev=0.7.1-r0 \
linux-headers=4.19.36-r0 \ linux-headers=4.19.36-r0 \
make=4.2.1-r2 \ make=4.2.1-r2 \
python=2.7.16-r1 \ python=2.7.16-r2 \
bluez=5.50-r3 \ bluez=5.50-r3 \
eudev-dev=3.2.8-r0 \ eudev-dev=3.2.8-r0 \
\ \

View file

@ -44,7 +44,8 @@ class PlejdApi extends EventEmitter {
} }
login() { login() {
logger('login()'); console.log('plejd-api: login()');
console.log('logging into ' + this.siteName);
const self = this; const self = this;
const instance = axios.create({ const instance = axios.create({
@ -79,7 +80,7 @@ class PlejdApi extends EventEmitter {
} }
getCryptoKey(callback) { getCryptoKey(callback) {
logger('getCryptoKey()'); console.log('plejd-api: getCryptoKey()');
const self = this; const self = this;
const instance = axios.create({ const instance = axios.create({

View file

@ -1,6 +1,6 @@
{ {
"name": "Plejd", "name": "Plejd",
"version": "0.2.2", "version": "0.2.3",
"slug": "plejd", "slug": "plejd",
"description": "Adds support for the Swedish home automation devices from Plejd.", "description": "Adds support for the Swedish home automation devices from Plejd.",
"url": "https://github.com/icanos/hassio-plejd/", "url": "https://github.com/icanos/hassio-plejd/",

View file

@ -3,7 +3,7 @@ const mqtt = require('./mqtt');
const fs = require('fs'); const fs = require('fs');
const PlejdService = require('./ble'); const PlejdService = require('./ble');
const version = "0.2.2"; const version = "0.2.3";
async function main() { async function main() {
console.log('starting Plejd add-on v. ' + version); console.log('starting Plejd add-on v. ' + version);