Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
- Mooseknuckle
- Posts: 43
- Joined: Sunday 08 March 2015 9:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi,
Has anybody succesfully added the following wireless switch to the gateway?
http://www.gearbest.com/access-control/pp_626695.html
I tried to add it as a round wireless switch but It doesn't work. Maybe I just have to wait for a gateway update but I was curious if others did succeed in adding the switch.
Has anybody succesfully added the following wireless switch to the gateway?
http://www.gearbest.com/access-control/pp_626695.html
I tried to add it as a round wireless switch but It doesn't work. Maybe I just have to wait for a gateway update but I was curious if others did succeed in adding the switch.
RPI 3, Philips Hue,Toon Thermostat, Harmony Smart Control, Yeelights
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
-
- Posts: 87
- Joined: Wednesday 21 December 2016 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Israel
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
xiaomi released a new wireless switch ?Mooseknuckle wrote:Hi,
Has anybody succesfully added the following wireless switch to the gateway?
http://www.gearbest.com/access-control/pp_626695.html
I tried to add it as a round wireless switch but It doesn't work. Maybe I just have to wait for a gateway update but I was curious if others did succeed in adding the switch.
if this is the case, it may use a different ID.
can you paste logs after clicking it, it should show "unknown device" with the ID..
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I think he actually means he's unable to add it to the gateway through the app. I wonder why they made this revision of buttons and temperature sensors. As a light switch I think I prefer the old switch style as you can hit the entire switch, not just the middle.
- Mooseknuckle
- Posts: 43
- Joined: Sunday 08 March 2015 9:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi,
It is what quack3d said, adding it to the gateway does not work. The strange thing is that when I add it, the mihome app counts it as a device but I cannot see it under the devices. Also in Domoticz I see the new switch but nothing changes when I press the button. I can add other devices to the gateway so I think I have to wait for a firmware update from Xiaomi.
It is what quack3d said, adding it to the gateway does not work. The strange thing is that when I add it, the mihome app counts it as a device but I cannot see it under the devices. Also in Domoticz I see the new switch but nothing changes when I press the button. I can add other devices to the gateway so I think I have to wait for a firmware update from Xiaomi.
RPI 3, Philips Hue,Toon Thermostat, Harmony Smart Control, Yeelights
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
-
- Posts: 87
- Joined: Wednesday 21 December 2016 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Israel
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
So you are able to add it to mi home apl?Mooseknuckle wrote:Hi,
It is what quack3d said, adding it to the gateway does not work. The strange thing is that when I add it, the mihome app counts it as a device but I cannot see it under the devices. Also in Domoticz I see the new switch but nothing changes when I press the button. I can add other devices to the gateway so I think I have to wait for a firmware update from Xiaomi.
In this case, you won't see it in domoticz devices if it uses new ID.
After paring it in mi home app, click on it, and in domoticz logs you should see the unknown line with the new device id.
Paste it here, and corbin would be able to do his magics..

Sent from my SM-N920G using Tapatalk
- Mooseknuckle
- Posts: 43
- Joined: Sunday 08 March 2015 9:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi,levynger wrote:So you are able to add it to mi home apl?Mooseknuckle wrote:Hi,
It is what quack3d said, adding it to the gateway does not work. The strange thing is that when I add it, the mihome app counts it as a device but I cannot see it under the devices. Also in Domoticz I see the new switch but nothing changes when I press the button. I can add other devices to the gateway so I think I have to wait for a firmware update from Xiaomi.
In this case, you won't see it in domoticz devices if it uses new ID.
After paring it in mi home app, click on it, and in domoticz logs you should see the unknown line with the new device id.
Paste it here, and corbin would be able to do his magics..![]()
Sent from my SM-N920G using Tapatalk
That does not work. As I said, after adding it with the mihome app the switch is not visible in the app, while it does count as a device. I see the switch in Domoticz but it doesn't change and nothing appears in the log when I push the switch. The last update time remains on the time I added the switch.
The problem starts with adding it to the gateway, this has to work before making it work in Domoticz. But anywayz, I was just wondering if ppl with this switch have similar problems or that maybe my switch is broken. All other switches work perfectly.
RPI 3, Philips Hue,Toon Thermostat, Harmony Smart Control, Yeelights
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Anyone tested the new temperature monitor version? The one shaped like a square.
-
- Posts: 61
- Joined: Saturday 17 December 2016 11:51
- Target OS: Linux
- Domoticz version: Beta
- Location: Moscow, Russia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hello Corbin,corbin wrote:Was the error when smoke was detected?
You can enable the raw gateway messages to appear in the Domoticz log by creating a user variable 'XiaomiMessage' of type Integer and value 1. (Setup -> More Options -> User Variables). Then restart the Gateway hardware in Domoticz. from http://www.domoticz.com/wiki/Xiaomi_Gat ... leshooting
Thanks alot for your great job!
Could you please add Gas Sensor to Domoticz, logs:
Code: Select all
XiaomiGateway: unhandled model: natgas
{"cmd":"report","model":"natgas","sid":"158d0001112b11","short_id":14003,"data":"{\"alarm\":\"0\"}"}
{"cmd":"report","model":"natgas","sid":"158d0001112b11","short_id":14003,"data":"{\"density\":\"0\"}"}
XiaomiGateway: unhandled model: natgas
{"cmd":"heartbeat","model":"natgas","sid":"158d0001112b11","short_id":14003,"data":"{\"voltage\":3600}"}
- Attachments
-
- IMG_20170530_210847.jpg (133.46 KiB) Viewed 3496 times
-
- IMG_20170530_210833.jpg (77.16 KiB) Viewed 3496 times
-
- Screenshot_20170530-210209.png (15.33 KiB) Viewed 3496 times
-
- Posts: 15
- Joined: Thursday 29 December 2016 7:29
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
PROBLEM OF COMMUNICATION AFTER REBOOT
I don't know if this is normal/happening to everyone, but for me it's a problem
After restart/reboot of Raspberry Pi3 & domoticz, if I look at LOG I always find communication problems like below

I figured out that if I go to HARDWARE page, select xiaomi gateway line and just push UPDATE button, the communication thread is restarted and communication is fixed and everything's working properly like shown below

so again, is this normal/happening to everyone else ?
is there any way to prevent this problem automatically in case of reboot/power loss ?
thanks
I don't know if this is normal/happening to everyone, but for me it's a problem
After restart/reboot of Raspberry Pi3 & domoticz, if I look at LOG I always find communication problems like below

I figured out that if I go to HARDWARE page, select xiaomi gateway line and just push UPDATE button, the communication thread is restarted and communication is fixed and everything's working properly like shown below

so again, is this normal/happening to everyone else ?
is there any way to prevent this problem automatically in case of reboot/power loss ?
thanks

-
- Posts: 37
- Joined: Friday 20 January 2017 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Same "problem" on my side since ... the beginning 

-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Maybe Domoticz start to quickly after startup of the Pi?
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Not sure if it helps, as I don't seem to have this problem, but if you run 'raspiconfig' I think there is an option in there to 'Wait for network on boot' (or something along those lines).StefanoA wrote:PROBLEM OF COMMUNICATION AFTER REBOOT
I don't know if this is normal/happening to everyone, but for me it's a problem
After restart/reboot of Raspberry Pi3 & domoticz, if I look at LOG I always find communication problems like below
I figured out that if I go to HARDWARE page, select xiaomi gateway line and just push UPDATE button, the communication thread is restarted and communication is fixed and everything's working properly like shown below
so again, is this normal/happening to everyone else ?
is there any way to prevent this problem automatically in case of reboot/power loss ?
thanks
Maybe try to turn that on so that the network stack is fully up and address allocated etc. before Domoticz starts?
-
- Posts: 41
- Joined: Saturday 09 April 2016 18:11
- Target OS: Linux
- Domoticz version: 3.7449
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
is there anyway to know easily in Domoticz which voltage device correspond to which sensor?
I saw reference of the hex code in another post, but there is nothing matching on my device list... anything I am doind wrong?
I saw reference of the hex code in another post, but there is nothing matching on my device list... anything I am doind wrong?
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thanks, have added to https://github.com/corbinmunce/domoticzColdman wrote: Could you please add Gas Sensor to Domoticz, logs:
Setting it as a smoke detector, type same as the actual smoke detector. Anyone know if there is a more suitable device type for Gas?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 61
- Joined: Saturday 17 December 2016 11:51
- Target OS: Linux
- Domoticz version: Beta
- Location: Moscow, Russia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thanks a lot!corbin wrote:Thanks, have added to https://github.com/corbinmunce/domoticzColdman wrote: Could you please add Gas Sensor to Domoticz, logs:
Setting it as a smoke detector, type same as the actual smoke detector. Anyone know if there is a more suitable device type for Gas?
UPD: additional information, what's inside:
- Attachments
-
- IMG_20170530_213410.jpg (135.52 KiB) Viewed 3264 times
-
- IMG_20170530_213339.jpg (119.54 KiB) Viewed 3264 times
-
- IMG_20170530_213315.jpg (130.91 KiB) Viewed 3264 times
Last edited by Coldman on Thursday 01 June 2017 22:09, edited 1 time in total.
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
If you don't have many devices, try matching them by battery level on the devices pageMat2Vence wrote:is there anyway to know easily in Domoticz which voltage device correspond to which sensor?
I saw reference of the hex code in another post, but there is nothing matching on my device list... anything I am doind wrong?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I've added a 5 second delay at startup, hope that helps.Swifty wrote:
Not sure if it helps, as I don't seem to have this problem, but if you run 'raspiconfig' I think there is an option in there to 'Wait for network on boot' (or something along those lines).
Maybe try to turn that on so that the network stack is fully up and address allocated etc. before Domoticz starts?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 41
- Joined: Saturday 09 April 2016 18:11
- Target OS: Linux
- Domoticz version: 3.7449
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I have 11 of them... not that easy... anyway I can identify at least some of them.corbin wrote:If you don't have many devices, try matching them by battery level on the devices page
-
- Posts: 41
- Joined: Saturday 09 April 2016 18:11
- Target OS: Linux
- Domoticz version: 3.7449
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
One more question... is there any easyway to make the alarm ringtone keep ringing for a while? By default, if switch on, it only remains active for a short period of time which is not that practical for using as an alarm siren.
I guess there is no way to do in blocky script and I should go though lua, isn't it?
I guess there is no way to do in blocky script and I should go though lua, isn't it?
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
My smoke detector has arrived, this is appearing in the Domoticz status logs:
2017-06-02 11:02:44.854 2017-06-02 11:02:44.854 XiaomiGateway: unhandled model: smoke
I can't see the smoke detector in the devices list, I've rebooted the Domoticz server twice.
Build 3.7602
Any ideas?
2017-06-02 11:02:44.854 2017-06-02 11:02:44.854 XiaomiGateway: unhandled model: smoke
I can't see the smoke detector in the devices list, I've rebooted the Domoticz server twice.
Build 3.7602
Any ideas?
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
Who is online
Users browsing this forum: Bing [Bot] and 0 guests