reconnect and version up
This commit is contained in:
parent
667beaa11f
commit
ce84a296ab
3 changed files with 11 additions and 9 deletions
|
|
@ -109,7 +109,6 @@ class PlejdService extends EventEmitter {
|
|||
}
|
||||
|
||||
this.objectManager.on('InterfacesAdded', this.onInterfacesAdded.bind(this));
|
||||
this.objectManager.on('InterfacesRemoved', this.onInterfacesRemoved.bind(this));
|
||||
|
||||
this.adapter.SetDiscoveryFilter({
|
||||
'UUIDs': new dbus.Variant('as', [PLEJD_SERVICE]),
|
||||
|
|
@ -200,10 +199,6 @@ class PlejdService extends EventEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
async onInterfacesRemoved(path, interfaces) {
|
||||
const [adapter, dev, service, characteristic] = path.split('/').slice(3);
|
||||
}
|
||||
|
||||
updateSettings(settings) {
|
||||
if (settings.debug) {
|
||||
debug = 'console';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue