Hi all!
I cannot detect the relay in Domoticz, but do see show up in the logs.
2020-01-11 11:23:46.106 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-01-11 11:23:48.973 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-01-11 11:23:48.973 Status: {"cmd":"report","model":"","sid":"158d00033e5a75","short_id":59557,"data":"{\"channel_0\":\"on\"}"}
2020-01-11 11:23:52.353 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-01-11 11:23:52.353 Status: {"cmd":"report","model":"","sid":"158d00033e5a75","short_id":59557,"data":"{\"channel_1\":\"on\"}"}
2020-01-11 11:23:58.087 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-01-11 11:23:58.087 Status: {"cmd":"report","model":"","sid":"158d00033e5a75","short_id":59557,"data":"{\"channel_0\":\"off\"}"}
2020-01-11 11:24:03.014 Status: XiaomiGateway (ID=2): unhandled model: , name: Xiaomi Switch
2020-01-11 11:24:03.014 Status: {"cmd":"report","model":"","sid":"158d00033e5a75","short_id":59557,"data":"{\"channel_1\":\"off\"}"}
Any ideas?
Thanks
Xiaomi gateway-Aqara wireless relay
Moderator: leecollings
-
- Posts: 39
- Joined: Saturday 03 February 2018 18:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Xiaomi gateway-Aqara wireless relay
Model has no name: "model":"" 
Wait for gateway firmware update

Wait for gateway firmware update
-
- Posts: 25
- Joined: Monday 21 October 2019 10:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Boxtel, Netherlands
- Contact:
Re: Xiaomi gateway-Aqara wireless relay
Still NOK in latest version. I reported an issue via the Xiaomi app with the request that they fix reporting the model. It should report 'lumi.relay.c2acn01'.
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
-
- Posts: 12
- Joined: Tuesday 28 July 2020 8:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2.1
- Contact:
Re: Xiaomi gateway-Aqara wireless relay
There is already support in the Xiaomi gateway:
Version code: 272
Gateway ID:83872***
Zigbee channel:20
Gateway information:
{"ap":{"bssid":"EC:41:18:9D:**:**","rssi":-53,"ssid":"******"},"cfg_time":0,"fw_ver":"1.4.1_176","hw_ver":"MW300","life":452***,"mac":"78:11:DC:FB:**:**","mcu_fw_ver":"0220","mmfree":163***,"model":"lumi.gateway.v3","netif":{"gw":"192.168.**.**","gw_mac":"EC:41:18:**:**:**","localIp":"192.168.**.**","mask":"255.255.255.0"},"ot":"otu","ott_stat":[0,0,0,0],"otu_stat":[309,281,31530,10,*****,****],"token":"7438c2a00c892816********************","wifi_fw_ver":"SD878x-14.76.36.p84-702.1.0-WM"}
Sub-device information:
*{"model":"lumi.relay.c2acn01","did":"lumi.158d0003c******","name":"********"},
*{"model":"lumi.relay.c2acn01","did":"lumi.158d000********","name":"*********"},
Version code: 272
Gateway ID:83872***
Zigbee channel:20
Gateway information:
{"ap":{"bssid":"EC:41:18:9D:**:**","rssi":-53,"ssid":"******"},"cfg_time":0,"fw_ver":"1.4.1_176","hw_ver":"MW300","life":452***,"mac":"78:11:DC:FB:**:**","mcu_fw_ver":"0220","mmfree":163***,"model":"lumi.gateway.v3","netif":{"gw":"192.168.**.**","gw_mac":"EC:41:18:**:**:**","localIp":"192.168.**.**","mask":"255.255.255.0"},"ot":"otu","ott_stat":[0,0,0,0],"otu_stat":[309,281,31530,10,*****,****],"token":"7438c2a00c892816********************","wifi_fw_ver":"SD878x-14.76.36.p84-702.1.0-WM"}
Sub-device information:
*{"model":"lumi.relay.c2acn01","did":"lumi.158d0003c******","name":"********"},
*{"model":"lumi.relay.c2acn01","did":"lumi.158d000********","name":"*********"},
-
- Posts: 166
- Joined: Sunday 26 April 2020 5:27
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Netherlands
- Contact:
Re: Xiaomi gateway-Aqara wireless relay
How are you getting this info? I need the token to implement my Aqara Gateway into Domoticz, but in the app, I can't enable developer mode. I have tried numerous older versions of the apk, but even those aren't allowing me to enable developer mode.19leva89 wrote: ↑Wednesday 29 July 2020 9:42 There is already support in the Xiaomi gateway:
Version code: 272
Gateway ID:83872***
Zigbee channel:20
Gateway information:
{"ap":{"bssid":"EC:41:18:9D:**:**","rssi":-53,"ssid":"******"},"cfg_time":0,"fw_ver":"1.4.1_176","hw_ver":"MW300","life":452***,"mac":"78:11:DC:FB:**:**","mcu_fw_ver":"0220","mmfree":163***,"model":"lumi.gateway.v3","netif":{"gw":"192.168.**.**","gw_mac":"EC:41:18:**:**:**","localIp":"192.168.**.**","mask":"255.255.255.0"},"ot":"otu","ott_stat":[0,0,0,0],"otu_stat":[309,281,31530,10,*****,****],"token":"7438c2a00c892816********************","wifi_fw_ver":"SD878x-14.76.36.p84-702.1.0-WM"}
Sub-device information:
*{"model":"lumi.relay.c2acn01","did":"lumi.158d0003c******","name":"********"},
*{"model":"lumi.relay.c2acn01","did":"lumi.158d000********","name":"*********"},
I have tried Wireshark and Colasoft Capsa on my network to see if I can sniff the packets being sent to the China Mainland server, but aren't picking up any traffic through that route either.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
-
- Posts: 166
- Joined: Sunday 26 April 2020 5:27
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Netherlands
- Contact:
Re: Xiaomi gateway-Aqara wireless relay
The wiki assumes you have successfully added the Gateway to Domoticz. The wiki is, however, out of date because the instructions telling you to tap the three dots in the top right and then select "About" is no longer valid. The app doesn't have this option anymore. Xiaomi has changed it.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
Who is online
Users browsing this forum: No registered users and 1 guest