Xiaomi Aqara wireless switches not recognized.
Moderator: leecollings
-
- Posts: 10
- Joined: Tuesday 19 June 2018 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10215
- Location: Lelystad, The Netherlands
- Contact:
Xiaomi Aqara wireless switches not recognized.
Hi all!
I have received my brand new Xiaomi Aqara wireless switches today (3x single rocker + 1x dual rocker).
They should be supported by Domoticz, but I get the following log message from hell:
2018-09-26 20:53:24.710 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
Can someone confirm whether their setup works??
I am on the latest beta (V4.10007)
I've also tried the latest stable (V4.9700)
neither work.....
any ideas??
Thanks in advance!
I have received my brand new Xiaomi Aqara wireless switches today (3x single rocker + 1x dual rocker).
They should be supported by Domoticz, but I get the following log message from hell:
2018-09-26 20:53:24.710 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
Can someone confirm whether their setup works??
I am on the latest beta (V4.10007)
I've also tried the latest stable (V4.9700)
neither work.....
any ideas??
Thanks in advance!
-
- Posts: 10
- Joined: Tuesday 19 June 2018 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10215
- Location: Lelystad, The Netherlands
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
I have found in the source code that
single wireless switch is defined as 86sw1
dual wireless switch is defined as 86sw2
for some reason my gateway reports
single wireless switch as remote.b186acn01
dual wireless switch as remote.b286acn01
is there a way for me to make domoticz recognize remote.b186acn01 as 86sw1 and remote.b286acn01 as 86sw2?
single wireless switch is defined as 86sw1
dual wireless switch is defined as 86sw2
for some reason my gateway reports
single wireless switch as remote.b186acn01
dual wireless switch as remote.b286acn01
is there a way for me to make domoticz recognize remote.b186acn01 as 86sw1 and remote.b286acn01 as 86sw2?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
Dual rocker switch works for me but I might have an older model. If I look in the hub info using the app on Android phone it shows me "model":"lumi.sensor_86sw2.v1 for this switchtristanp wrote: ↑Wednesday 26 September 2018 21:46 I have received my brand new Xiaomi Aqara wireless switches today (3x single rocker + 1x dual rocker).
They should be supported by Domoticz, but I get the following log message from hell:
2018-09-26 20:53:24.710 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 39
- Joined: Saturday 03 February 2018 18:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
in domoticz, create a user variable:
XiaomiMessage, Integer, 1
restart domoticz and show logs
XiaomiMessage, Integer, 1
restart domoticz and show logs
-
- Posts: 10
- Joined: Tuesday 19 June 2018 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10215
- Location: Lelystad, The Netherlands
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
I have done that and get the following result:
2018-09-27 09:10:43.148 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
2018-09-27 09:10:43.148 Status: {"cmd":"read_ack","model":"remote.b186acn01","sid":"158d00028f886d","short_id":21458,"data":"{\"voltage\":3195}"}
2018-09-27 09:10:43.149 Status: XiaomiGateway (ID=2): unhandled model: remote.b286acn01
2018-09-27 09:10:43.149 Status: {"cmd":"read_ack","model":"remote.b286acn01","sid":"158d00027c2a1b","short_id":33032,"data":"{\"voltage\":3195}"}
2018-09-27 09:10:43.148 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
2018-09-27 09:10:43.148 Status: {"cmd":"read_ack","model":"remote.b186acn01","sid":"158d00028f886d","short_id":21458,"data":"{\"voltage\":3195}"}
2018-09-27 09:10:43.149 Status: XiaomiGateway (ID=2): unhandled model: remote.b286acn01
2018-09-27 09:10:43.149 Status: {"cmd":"read_ack","model":"remote.b286acn01","sid":"158d00027c2a1b","short_id":33032,"data":"{\"voltage\":3195}"}
-
- Posts: 39
- Joined: Saturday 03 February 2018 18:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
tristanp
ok. please, turn on this switch, then turn off. and show logs?
ok. please, turn on this switch, then turn off. and show logs?
-
- Posts: 10
- Joined: Tuesday 19 June 2018 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10215
- Location: Lelystad, The Netherlands
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
Here you go:
DUAL:
2018-09-27 23:27:34.952 Status: XiaomiGateway (ID=2): unhandled model: remote.b286acn01
2018-09-27 23:27:34.952 Status: {"cmd":"report","model":"remote.b286acn01","sid":"158d00027c2a1b","short_id":33032,"data":"{"channel_0":"click"}"}
2018-09-27 23:27:37.953 Status: XiaomiGateway (ID=2): unhandled model: remote.b286acn01
2018-09-27 23:27:37.953 Status: {"cmd":"report","model":"remote.b286acn01","sid":"158d00027c2a1b","short_id":33032,"data":"{"channel_1":"click"}"}
SINGLE:
2018-09-27 23:32:50.424 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
2018-09-27 23:32:50.424 Status: {"cmd":"heartbeat","model":"remote.b186acn01","sid":"158d00028f886d","short_id":21458,"data":"{"voltage":3185}"}
2018-09-27 23:32:56.496 Status: XiaomiGateway (ID=2): unhandled model: remote.b186acn01
2018-09-27 23:32:56.497 Status: {"cmd":"report","model":"remote.b186acn01","sid":"158d00028f886d","short_id":21458,"data":"{"channel_0":"click"}"}
-
- Posts: 38
- Joined: Friday 17 March 2017 9:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9639
- Location: Netherlands
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
You might try to update to the latest beta, I looked into the code and found that the remote.b186acn01 is in there (code was last updated 5 days ago).
Hope this solves your issue.
Hope this solves your issue.
RFXCom(E) - Yeelight Lights - KaKu / Alexa HA Bridge
Windows 2012 / Windows 2012R2 / Xpenology/ Pi 3 / Milight / Home build ESP8266 / Sonoff
Windows 2012 / Windows 2012R2 / Xpenology/ Pi 3 / Milight / Home build ESP8266 / Sonoff
-
- Posts: 1
- Joined: Sunday 11 November 2018 16:24
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
I'm having the same problem. I cannot detect the switch in Domoticz, but do see remote.b186acn01 show up in the logs. I'm running in a FreeNAS jail, so I can't update to the latest beta. Are workarounds available for this issue?
-
- Posts: 8
- Joined: Wednesday 24 July 2019 14:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
Hi all,
I'm facing the same issue here.
I also switched to Beta instead of stable build to try and fix it but it didn't fix the issue.
With the user variable in place, I get the following results in the log:
2020-10-25 09:52:00.896 Status: XiaomiGateway (ID=6): unhandled model: 'remote.b286acn02', name: 'Unknown Xiaomi device'
2020-10-25 09:52:00.896 Status: {"cmd":"report","model":"remote.b286acn02","sid":"158d00054b1679","short_id":53866,"data":"{\"channel_1\":\"click\"}"}
2020-10-25 09:52:01.315 Status: XiaomiGateway (ID=6): unhandled model: 'remote.b286acn02', name: 'Unknown Xiaomi device'
2020-10-25 09:52:01.315 Status: {"cmd":"report","model":"remote.b286acn02","sid":"158d00054b1669","short_id":7331,"data":"{\"channel_1\":\"click\"}"}
Is there any known fix by now?
Also, does anyone know if it's possible to read the log and use the SID and data/channel_1/click as a switch?
For example with the help of Lua/DzVents ?
Thanks in advance!
I'm facing the same issue here.
I also switched to Beta instead of stable build to try and fix it but it didn't fix the issue.
With the user variable in place, I get the following results in the log:
2020-10-25 09:52:00.896 Status: XiaomiGateway (ID=6): unhandled model: 'remote.b286acn02', name: 'Unknown Xiaomi device'
2020-10-25 09:52:00.896 Status: {"cmd":"report","model":"remote.b286acn02","sid":"158d00054b1679","short_id":53866,"data":"{\"channel_1\":\"click\"}"}
2020-10-25 09:52:01.315 Status: XiaomiGateway (ID=6): unhandled model: 'remote.b286acn02', name: 'Unknown Xiaomi device'
2020-10-25 09:52:01.315 Status: {"cmd":"report","model":"remote.b286acn02","sid":"158d00054b1669","short_id":7331,"data":"{\"channel_1\":\"click\"}"}
Is there any known fix by now?
Also, does anyone know if it's possible to read the log and use the SID and data/channel_1/click as a switch?
For example with the help of Lua/DzVents ?
Thanks in advance!
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
it just need to be add on xiaomigateway hardware on domoticz source like 86sw2 :
https://github.com/domoticz/domoticz/bl ... Hardware.h
https://github.com/domoticz/domoticz/bl ... Hardware.h
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
@Ruudhoevenaar, @Deennooit just need to be add on xiaomigateway hardware on domoticz source like 86sw2 :
Should be fixed in build 12914
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Wednesday 24 July 2019 14:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Aqara wireless switches not recognized.
@Waaren, thnx!
Indeed, it works now.
Indeed, it works now.
Who is online
Users browsing this forum: No registered users and 0 guests