Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
-
- Posts: 14
- Joined: Tuesday 19 July 2016 14:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9227
- Location: Italy
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi, I have a Xiaomi home gateway and some sensors, thanks for your job and happy new year!!
Domoticz + Mysensors 2.0 ESP8266 GW + RFlink + Philips Hue 2.0 + Netatmo Thermostat
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi folks. I need some help.
1st time i have installed beta DomoticzSetup_2_6277.exe about 2 weeks ago. I have added xiaomi gateway and detected all door sensors, 2 pir and some wireless switches. Today i upgraded to latest beta and for some reason all prevoious detected devices were duplicated + new devices such like temperature sensors. I deleted all devices and domoticz do not detect any attached device now.
Developer mode on gw enabled.
Help pls.
P.S. Happy new Year ))
1st time i have installed beta DomoticzSetup_2_6277.exe about 2 weeks ago. I have added xiaomi gateway and detected all door sensors, 2 pir and some wireless switches. Today i upgraded to latest beta and for some reason all prevoious detected devices were duplicated + new devices such like temperature sensors. I deleted all devices and domoticz do not detect any attached device now.
Developer mode on gw enabled.
Help pls.
P.S. Happy new Year ))
- 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?
Currently mapped like this, could change long click release to another button or send the off command?levynger wrote: the Long Press appears twice in logs (one for press and once for release i assume)
Code: Select all
else if ((status == "click")) {
level = 10;
}
else if ((status == "long_click_press") || (status == "long_click_release")) {
level = 20;
}
else if ((status == "double_click")) {
level = 30;
}
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?
Try deleting the hardware for Xiaomi Gateway, then add it back in.murtadin wrote:I deleted all devices and domoticz do not detect any attached device now.
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?
Thanks, have fixed in my repository too.vetalok wrote:Hah... problem fixed when I changed port on line
XiaomiGateway.cpp:9898 to 9899Code: Select all
XiaomiGateway::xiaomi_udp_server::xiaomi_udp_server(boost::asio::io_service& io_service, int m_HwdID, XiaomiGateway *parent) : socket_(io_service, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 9898))
But then can no longer receive sensor events, so this needs to stay 9898
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
tried yesterday 10 times. No luck. Today tried one more time, changed port to 54321and it works.corbin wrote:Try deleting the hardware for Xiaomi Gateway, then add it back in.murtadin wrote:I deleted all devices and domoticz do not detect any attached device now.
btw - support of xiaomi cube comtroller will be implemented?
Sent from my MI MAX using Tapatalk
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
There isn't an API for the cube known as yet - but if a way to interact with it is discovered support will be added.murtadin wrote: tried yesterday 10 times. No luck. Today tried one more time, changed port to 54321and it works.
btw - support of xiaomi cube comtroller will be implemented?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi I'm new to this, but does anybody know if has support for the Xiaomi Universal IR Remote Controller, thanks and continue with the good work
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
-
- 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?
Very tempted to order a sample kit of the xaiomi sensors + gateway, but I have a few questions, if anyone who already owns could answer?
- Is the plug on the gateway available in UK spec? - the gateway looks a little big to be hanging off an adaptor socket..
- Is the motion sensor pet tolerant? - I have a cat and would like to use the motion sensors for alarm purpose without the cat tripping it.
- Is the plug on the gateway available in UK spec? - the gateway looks a little big to be hanging off an adaptor socket..
- Is the motion sensor pet tolerant? - I have a cat and would like to use the motion sensors for alarm purpose without the cat tripping it.
-
- Posts: 61
- Joined: Saturday 17 December 2016 11:51
- Target OS: Linux
- Domoticz version: Beta
- Location: Moscow, Russia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi, I can't to answer about plug/socket, I'm from Russia and I'm using a adapter, but I have a dog, 40kg, sometimes a sensor is alarming.Swifty wrote:Very tempted to order a sample kit of the xaiomi sensors + gateway, but I have a few questions, if anyone who already owns could answer?
- Is the plug on the gateway available in UK spec? - the gateway looks a little big to be hanging off an adaptor socket..
- Is the motion sensor pet tolerant? - I have a cat and would like to use the motion sensors for alarm purpose without the cat tripping it.
Отправлено с моего ONE A2001 через Tapatalk
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi Guys,
Firstly to answer the question above about the plugs, I believe its only a chinese/australian plug on the gateway units?
I've tried to setup the gateway on the latest beta for both Linux and Windows but I recieve two different errors:
On Windows:
XiaomiGateway: error in handle_receive
on Linux:
XiaomiGateway: invalid data received!
I've tried different ports etc, but I can't get it working. Any ideas on what I'm doing wrong? I've followed the Wiki article but no go.
Thanks!
Firstly to answer the question above about the plugs, I believe its only a chinese/australian plug on the gateway units?
I've tried to setup the gateway on the latest beta for both Linux and Windows but I recieve two different errors:
On Windows:
XiaomiGateway: error in handle_receive
on Linux:
XiaomiGateway: invalid data received!
I've tried different ports etc, but I can't get it working. Any ideas on what I'm doing wrong? I've followed the Wiki article but no go.
Thanks!
- 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?
Hi dcliff1,
Try this in Windows,
Install Packet Sender https://packetsender.com/
Enter packet settings as:
Click Send and see if you get an "iam" response from the gateway
Try this in Windows,
Install Packet Sender https://packetsender.com/
Enter packet settings as:
Code: Select all
Name: Test
ASCII: {"cmd":"whois"}
Address: IP Address of your gateway
Port: 4321
UDP
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 tried a store purchased sensor, home made sensors, and now the Xiaomi sensor, and have found the Xiaomi to work best with less false-positives. Xiaomi call it a "Human Body Sensor", but as Coldman has replied, it will detect a large dog, and maybe a cat (I have neither)Swifty wrote: - Is the motion sensor pet tolerant? - I have a cat and would like to use the motion sensors for alarm purpose without the cat tripping it.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hey Corbin.
Great utility, i've not seen it before. I've used it and am getting the same response as you.
I tried resetting the gateway and cycling the password but same result.
Unfortunately the log doesn't tell me anything:
2017-01-03 20:39:18.531 XiaomiGateway: stopped
2017-01-03 20:39:37.810 XiaomiGateway: Worker started...
2017-01-03 20:39:37.844 Error: XiaomiGateway: error in handle_receive
Here is my config.
Thanks mate!
Great utility, i've not seen it before. I've used it and am getting the same response as you.
I tried resetting the gateway and cycling the password but same result.
Unfortunately the log doesn't tell me anything:
2017-01-03 20:39:18.531 XiaomiGateway: stopped
2017-01-03 20:39:37.810 XiaomiGateway: Worker started...
2017-01-03 20:39:37.844 Error: XiaomiGateway: error in handle_receive
Here is my config.
Thanks mate!
- 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?
try updating to the latest beta - I've just had a pull request accepted. I don't think it will fix your problem but just to get you on the latest release.
If that doesn't work, are you able to compile from source? I could then do some troubleshooting.
If that doesn't work, are you able to compile from source? I could then do some troubleshooting.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
No worries, i'll try the latest beta.. and will compile from source on the linux box tomorrow.
Thanks for helping out, its much appreciated. I'm excited to get this working
Thanks for helping out, its much appreciated. I'm excited to get this working
- 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?
cool! should be able to get it working - compile from https://github.com/corbinmunce/domoticz, I've added output for what is received in the data buffer in handle_receive, might give us a clue.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Wow! I currently pay $90 AU for motion sensors avg, I can get the Xiaomi motion sensor for $18 AU. Very tempted to buy a few sensors.
What is the delay like between a motion sensor being triggered and reporting to Domoticz compared to say a Z-Wave motion sensor?
Has anyone seen a battery level report yet?
What is the delay like between a motion sensor being triggered and reporting to Domoticz compared to say a Z-Wave motion sensor?
Has anyone seen a battery level report yet?
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
-
- Posts: 35
- Joined: Sunday 18 December 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: LastBeta
- Location: Tallinn / Estonia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Notification from door sensor (telegram notification in my case) comes almost immediately after door was opened. There is practically no delay at all. Same with motion sensor.ben53252642 wrote: What is the delay like between a motion sensor being triggered and reporting to Domoticz compared to say a Z-Wave motion sensor?
-
- Posts: 61
- Joined: Saturday 17 December 2016 11:51
- Target OS: Linux
- Domoticz version: Beta
- Location: Moscow, Russia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
1 secben53252642 wrote:Wow! I currently pay $90 AU for motion sensors avg, I can get the Xiaomi motion sensor for $18 AU. Very tempted to buy a few sensors.
What is the delay like between a motion sensor being triggered and reporting to Domoticz compared to say a Z-Wave motion sensor?
Has anyone seen a battery level report yet?
Отправлено с моего MI PAD 2 через Tapatalk
Who is online
Users browsing this forum: Bing [Bot] and 1 guest