Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
- galadril
- Posts: 824
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I've readded the buttons and that was the solution, thanks.
But I've also removed the Gateway to readd it.. but that one never appeared back.
(i've triggered the light of the gateway multiple times with the mihome app)
But I've also removed the Gateway to readd it.. but that one never appeared back.
(i've triggered the light of the gateway multiple times with the mihome app)
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 2
- Joined: Saturday 11 February 2017 21:35
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Without any problem I was able to add the Xiaomi RGB Gateway as a new Device to Domoticz (v. 3.6669) on a Synology NAS. I can see in the logs that Domoticz sends an on / off command (2017-02-11 21:42:38.810 User: nielsvdv initiated a switch command (67/Xiaomi RGB Gateway/On)). But nothing happens with the led on the gateway.
Does someone has a solution for this problem?
Does someone has a solution for this problem?
-
- Posts: 37
- Joined: Wednesday 25 January 2017 20:54
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
get the latest version from corbin git, should work fine
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Which model? I mean Synology NAS model.nielsvdv wrote:Without any problem I was able to add the Xiaomi RGB Gateway as a new Device to Domoticz (v. 3.6669) on a Synology NAS. I can see in the logs that Domoticz sends an on / off command (2017-02-11 21:42:38.810 User: nielsvdv initiated a switch command (67/Xiaomi RGB Gateway/On)). But nothing happens with the led on the gateway.
Does someone has a solution for this problem?
- 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?
The "Xiaomi RGB Gateway"? I tried deleting mine and it was found again when restarting the gateway in Domoticz. There is no need to trigger the light anymore.galadril wrote: But I've also removed the Gateway to readd it.. but that one never appeared back.
(i've triggered the light of the gateway multiple times with the mihome app)
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 2
- Joined: Saturday 11 February 2017 21:35
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I have a DS216Play with the latest Domoticz Beta installed. So not the version from Corbin.murtadin wrote:Which model? I mean Synology NAS model.nielsvdv wrote:Without any problem I was able to add the Xiaomi RGB Gateway as a new Device to Domoticz (v. 3.6669) on a Synology NAS. I can see in the logs that Domoticz sends an on / off command (2017-02-11 21:42:38.810 User: nielsvdv initiated a switch command (67/Xiaomi RGB Gateway/On)). But nothing happens with the led on the gateway.
Does someone has a solution for this problem?
- 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?
Ok great, if you try my version, does it still not work?nielsvdv wrote: I have a DS216Play with the latest Domoticz Beta installed. So not the version from Corbin.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 37
- Joined: Wednesday 25 January 2017 20:54
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
So I have a time script to turn off a gateway led after N seconds without motion detection. For some reason, turning off the light sometimes fails.
example:
017-02-13 21:15:00.646 EventSystem: Script event triggered: HallOff
2017-02-13 21:15:00.685 Activating Scene/Group: [grp_led]
2017-02-13 21:15:00.686 Activating Scene/Group Device: Xiaomi RGB Gateway (Off)
2017-02-13 21:15:00.837 (Xiaomi_Gw) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-02-13 21:15:01.110 (Dummy_Gw) General/Custom Sensor (Sun Azimuth)
2017-02-13 21:15:01.579 (Dummy_Gw) General/Custom Sensor (Sun Altitude)
2017-02-13 21:15:01.634 (Xiaomi_Gw) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-02-13 21:15:01.653 {"cmd":"report","model":"gateway","sid":"286c0785ad14","short_id":0,"data":"{\"rgb\":0}"}
2017-02-13 21:15:25.637 (Xiaomi_Gw) Light/Switch (Xiaomi Motion Sensor)
2017-02-13 21:15:25.656 {"cmd":"report","model":"motion","sid":"158d000127ca18","short_id":54285,"data":"{\"no_motion\":\"300\"}"}
2017-02-13 21:19:45.703 {"cmd":"heartbeat","model":"plug","sid":"158d00012aead2","short_id":21811,"data":"{\"status\":\"on\",\"inuse\":\"1\"}"}
we see the domoticz sending the off message (Activating Scene/Group Device: Xiaomi RGB Gateway (Off)) and then a reply from the gateway confirming it 2017-02-13 21:15:01.653 {"cmd":"report","model":"gateway","sid":"286c0785ad14","short_id":0,"data":"{\"rgb\":0}"}
now this one:
2017-02-13 21:04:00.497 EventSystem: Script event triggered: HallOff
2017-02-13 21:04:00.513 Activating Scene/Group: [grp_led]
2017-02-13 21:04:00.514 Activating Scene/Group Device: Xiaomi RGB Gateway (Off)
2017-02-13 21:04:00.665 (Xiaomi_Gw) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-02-13 21:04:50.527 (Xiaomi_Gw) Light/Switch (Xiaomi Motion Sensor)
2017-02-13 21:04:50.546 {"cmd":"report","model":"motion","sid":"158d000127ca18","short_id":54285,"data":"{\"no_motion\":\"300\"}"}
doesn't have the confirmation from the gateway and remained on until I switch it off manually. Any clue what it might be?
I have my rpi connected to via eth cable, and xiaomi connected via wifi to another router but they are in the same network, not sure if it's related with that..
EDIT: I guess these were network issues, I'm now using wifi interface from pi and it is on the same wireless network then gateway and it looks like its working good!
example:
017-02-13 21:15:00.646 EventSystem: Script event triggered: HallOff
2017-02-13 21:15:00.685 Activating Scene/Group: [grp_led]
2017-02-13 21:15:00.686 Activating Scene/Group Device: Xiaomi RGB Gateway (Off)
2017-02-13 21:15:00.837 (Xiaomi_Gw) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-02-13 21:15:01.110 (Dummy_Gw) General/Custom Sensor (Sun Azimuth)
2017-02-13 21:15:01.579 (Dummy_Gw) General/Custom Sensor (Sun Altitude)
2017-02-13 21:15:01.634 (Xiaomi_Gw) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-02-13 21:15:01.653 {"cmd":"report","model":"gateway","sid":"286c0785ad14","short_id":0,"data":"{\"rgb\":0}"}
2017-02-13 21:15:25.637 (Xiaomi_Gw) Light/Switch (Xiaomi Motion Sensor)
2017-02-13 21:15:25.656 {"cmd":"report","model":"motion","sid":"158d000127ca18","short_id":54285,"data":"{\"no_motion\":\"300\"}"}
2017-02-13 21:19:45.703 {"cmd":"heartbeat","model":"plug","sid":"158d00012aead2","short_id":21811,"data":"{\"status\":\"on\",\"inuse\":\"1\"}"}
we see the domoticz sending the off message (Activating Scene/Group Device: Xiaomi RGB Gateway (Off)) and then a reply from the gateway confirming it 2017-02-13 21:15:01.653 {"cmd":"report","model":"gateway","sid":"286c0785ad14","short_id":0,"data":"{\"rgb\":0}"}
now this one:
2017-02-13 21:04:00.497 EventSystem: Script event triggered: HallOff
2017-02-13 21:04:00.513 Activating Scene/Group: [grp_led]
2017-02-13 21:04:00.514 Activating Scene/Group Device: Xiaomi RGB Gateway (Off)
2017-02-13 21:04:00.665 (Xiaomi_Gw) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-02-13 21:04:50.527 (Xiaomi_Gw) Light/Switch (Xiaomi Motion Sensor)
2017-02-13 21:04:50.546 {"cmd":"report","model":"motion","sid":"158d000127ca18","short_id":54285,"data":"{\"no_motion\":\"300\"}"}
doesn't have the confirmation from the gateway and remained on until I switch it off manually. Any clue what it might be?
I have my rpi connected to via eth cable, and xiaomi connected via wifi to another router but they are in the same network, not sure if it's related with that..
EDIT: I guess these were network issues, I'm now using wifi interface from pi and it is on the same wireless network then gateway and it looks like its working good!
Last edited by pikapt on Wednesday 15 February 2017 10:52, edited 1 time in total.
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Did anyone check if the Xiaomi gateway 'calls home' to China?
I wonder how secure this gateway is, I could not find anything online about it.
I wonder how secure this gateway is, I could not find anything online about it.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Mine doesn't get internet acces (he set a parental limit, i just those malrvelous chinise radio...function)bbqkees wrote:Did anyone check if the Xiaomi gateway 'calls home' to China?
I wonder how secure this gateway is, I could not find anything online about it.
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
-
- Posts: 37
- Joined: Wednesday 25 January 2017 20:54
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
@deennoo which site are you blocking?
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I ordered one this week, if it does not need internet access after setup I can easily block the gateway from accessing the internet in my Edgerouter.deennoo wrote:Mine doesn't get internet acces (he set a parental limit, i just those malrvelous chinise radio...function)bbqkees wrote:Did anyone check if the Xiaomi gateway 'calls home' to China?
I wonder how secure this gateway is, I could not find anything online about it.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 2
- Joined: Tuesday 17 January 2017 10:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I did some research with a man-in-the-middle setup. It's calling home. So far I discovered the following dns/addresses/ranges:bbqkees wrote:Did anyone check if the Xiaomi gateway 'calls home' to China?
I wonder how secure this gateway is, I could not find anything online about it.
DNS requests for: ot.io.mi.com,
DNS answer: 42.62.48.114, 58.83.200.2-12, 42.62.48.225, 42.62.48.2, 42.62.48.112, 42.62.48.113
DNS requests for: ott.io.mi.com
DNS answer: 58.83.160.36,58.83.160.14,42.62.94.185
Sniffing Results:
UDP: 58.83.200.0/24, 42.62.48.114
TCP: 58.83.160.36
Its sending some TCP requests during startup (maybe update requests?) and recurring UDP requests (heartbeat?). Additionally it sends UDP packages for every action (Movement, Button. etc). Unfortunately i'm not able to decode the send data.
I've blocked these connections ... until now its trying hard to reach only these endpoints but maybe there are more.
BTW: @corbin: thanks for your plugin! for me its working like a charm and hopefully it will be soon in the release path. I tried to get the heartbeat/battery level but in 24h (sniffing) i didnt received a single message with these information, maybe its in an earlier release. This page https://louiszl.gitbooks.io/lumi-gateway-local-api/ (use translator) is up to date and reports that there where changes related to battery measurement maybe a new update is available (dont know because everything is blocked ) deliviering new features.
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
If it calls home for apparently everything that is happening in your home, blocking is thus highly recommended!mschreier65 wrote:
I did some research with a man-in-the-middle setup. It's calling home. So far I discovered the following dns/addresses/ranges:
Its sending some TCP requests during startup (maybe update requests?) and recurring UDP requests (heartbeat?). Additionally it sends UDP packages for every action (Movement, Button. etc). Unfortunately i'm not able to decode the send data.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 2
- Joined: Tuesday 17 January 2017 10:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Sure, but i looks like the gateway is not accessible from phone if outbound connections are blocked....doing some more testbbqkees wrote: If it calls home for apparently everything that is happening in your home, blocking is thus highly recommended!
-
- 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?
Some sporadic bug detected:
I have 3 Xiaomi Door/Window sensors. Very often (but not every time) after upgrade to latest beta, 2 of 3 sensors changed state to "Open" (but door/windows remains closed). In MiHome apps i see correct state (closed).
I have to open/close door to set status of device to right state.
I have 3 Xiaomi Door/Window sensors. Very often (but not every time) after upgrade to latest beta, 2 of 3 sensors changed state to "Open" (but door/windows remains closed). In MiHome apps i see correct state (closed).
I have to open/close door to set status of device to right state.
-
- 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?
same issuepavelbor wrote:Some sporadic bug detected:
I have 3 Xiaomi Door/Window sensors. Very often (but not every time) after upgrade to latest beta, 2 of 3 sensors changed state to "Open" (but door/windows remains closed). In MiHome apps i see correct state (closed).
I have to open/close door to set status of device to right state.
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
After last update to v3.6729 Xiaomi Gateway stopped working with domoticz. Anybody else experience same problems?
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Same thing but reversed some Time door is open, mi Home says open but Domoticz stay close.pavelbor wrote:Some sporadic bug detected:
I have 3 Xiaomi Door/Window sensors. Very often (but not every time) after upgrade to latest beta, 2 of 3 sensors changed state to "Open" (but door/windows remains closed). In MiHome apps i see correct state (closed).
I have to open/close door to set status of device to right state.
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
-
- Posts: 105
- Joined: Thursday 31 December 2015 15:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Placed an order for the complete set at gearbest earlier this week. Got a reply that they a cant deliver at the moment. Further questioning got me the following replies:
We are sorry to inform you that this item is unavailable and won't be restocked in short time.
Yes, the supplier can not provided the item in short time as the item need to update.
Wondering what this new update might include
We are sorry to inform you that this item is unavailable and won't be restocked in short time.
Yes, the supplier can not provided the item in short time as the item need to update.
Wondering what this new update might include
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest