Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This app for [Athom Homey](https://homey.app/en-us/) adds support for [deCONZ](https://www.dresden-elektronik.de/funk/software/deconz.html)'s [[RaspBee](https://www.phoscon.de/en/raspbee)/[ConBee](https://www.phoscon.de/en/conbee)] child devices.

[![current version](https://img.shields.io/badge/version-0.13.4-<COLOR>.svg)](https://shields.io/)
[![current version](https://img.shields.io/badge/version-0.14.2-<COLOR>.svg)](https://shields.io/)

# Installation information

Expand All @@ -29,7 +29,7 @@ Almost there. Now you can install app using `athom app install` command being in
- [x] Aqara leakage sensor
- [x] Honeywell Smoke sensor
- [x] Philips Hue Dimmer Switch
- [x] Symfonisk remote
- [x] Symfonisk remote
- [x] TRÅDFRI wireless (round) dimmer
- [x] TRÅDFRI square dimmer
- [x] TRÅDFRI remote control
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ru.notabene.deconz",
"version": "0.13.4",
"version": "0.14.2",
"compatibility": ">=1.5.0",
"sdk": 2,
"name": {
Expand Down
10 changes: 5 additions & 5 deletions drivers/aqara-button/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
const Driver = require('../Driver')

class AqaraButtonDriver extends Driver {

onInit() {
super.onInit()
this.log('AqaraButtonDriver has been initiated')
}

onPairListDevices(data, callback) {
this.getSensorsByCondition(device => device.modelid === 'lumi.sensor_switch.aq2', callback)
this.getSensorsByCondition(device => ['lumi.remote.b1acn01', 'lumi.sensor_switch.aq2'].includes(device.modelid), callback)
}

}

module.exports = AqaraButtonDriver
module.exports = AqaraButtonDriver
10 changes: 5 additions & 5 deletions drivers/aqara-wireless-switch-2016/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
const Driver = require('../Driver')

class AqaraWirelessSwitch2016Driver extends Driver {

onInit() {
super.onInit()
this.log('AqaraWirelessSwitch2016Driver has been initiated')
}

onPairListDevices(data, callback) {
this.getSensorsByCondition(device => device.modelid === 'lumi.sensor_86sw2' || device.modelid === 'lumi.sensor_86sw2Un', callback)
this.getSensorsByCondition(device => ['lumi.sensor_86sw2', 'lumi.sensor_86sw2Un', 'lumi.remote.b186acn01'].includes(device.modelid), callback)
}

}

module.exports = AqaraWirelessSwitch2016Driver
module.exports = AqaraWirelessSwitch2016Driver
12 changes: 6 additions & 6 deletions drivers/aqara-wireless-switch-2018/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
const Driver = require('../Driver')

class AqaraWirelessSwitch2018Driver extends Driver {

onInit() {
super.onInit()
this.log('AqaraWirelessSwitch2018Driver has been initiated')
}
onPairListDevices(data, callback) {
this.getSensorsByCondition(device => device.modelid === 'lumi.remote.b286acn01', callback)

onPairListDevices(_, callback) {
this.getSensorsByCondition(device => device.modelid == 'lumi.remote.b286acn01', callback)
}

}

module.exports = AqaraWirelessSwitch2018Driver
module.exports = AqaraWirelessSwitch2018Driver