commit
fecd699171
4 changed files with 6 additions and 5 deletions
|
|
@ -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 \
|
||||||
\
|
\
|
||||||
|
|
|
||||||
|
|
@ -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({
|
||||||
|
|
|
||||||
|
|
@ -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/",
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue