Xiaomi Smart Home Suite (very cheap) compatibilty?

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

User avatar
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?

Post by corbin »

can you compile directly on your Synology?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
bertbigb
Posts: 147
Joined: Thursday 13 August 2015 13:36
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: Netherlands
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by bertbigb »

corbin wrote:I think the current problems can be summed up as:
  • 1. Cannot enable developer mode (this problem is external to Domoticz). - > I don't have a solution but hope other uses can help with this.
    2. Cannot detect any devices in Domoticz -> This can occur regardless of what you enter in the Domoticz hardware settings. I would suspect firewall/router or local hardware settings to be the cause.
    3. Devices detect, but do not update state in Domoticz -> this could also be due to firewall/router restrictions, but we have found that some systems need the local Domoticz IP address to be used when binding to the socket. But this still fails on some systems.
    4. Cannot control devices (password error) -> This could be related to devices not updated as in point 3, but could also be simply mistyping the password into Domoticz.
Please feel free to expand the above list or ask questions.

I am willing to help troubleshoot if you can provide a Domoticz install I can remote into (PM me the details)
Hi Corbin, I have send you a PM

Answers to your list:
1- I could enter developper mode via the app
2. I can detect other devices in Domoticz, however no devices connecte over the Xiaomi Gateway
3. Could be, but I don't know how to bind the socket (missing knowledge :?: )
4. mistyping the password, I'm sure that can't be the case. Typed it in in a txt file, controlled and double check against the app. Than with copy - paste it into domoticz.

I hope this helps you a bit to see what could have gone wrong and where.
Again thanks for all your help!!
Best regards Bert

Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
bertbigb
Posts: 147
Joined: Thursday 13 August 2015 13:36
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: Netherlands
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by bertbigb »

corbin wrote:can you compile directly on your Synology?
I have never done that. It should be possible since I installed a bootstrap installer. But I don't have the knowledge what and how to do that.
Is it better to get this problem solved? How should I do it? In case it is really necessary I useually asked Jumbotroll for a favor to recompile for my synology
Best regards Bert

Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

bertbigb wrote:
deennoo wrote: Which os did you use on domoticz ? Linux Windows

On Windows have you unlock 9898 firewall ?

Have set your dev password ?
Hi deennoo,

My domoticz is running on a Synology DS1515+ - version Domoticz is latest beta available ( V3.6886, build time 2017-03-08 19:38:55)
I also have set my dev. password. Found it in the tab (with the lot of tapping Image )
I also reset my password already a few times (by changing it in the app, note it down and re-use it in Domoticz)

My firewall is not blocking 9898. But this brings up another question, do I have to open port 9898 on my router and connect it to the IP of the Xiaomi gateway? --> Because that I didn't.

By the way - the Xiaomi is working very well from my iphone (in and outside my local network) and on the app I also see all devices connected to the gateway. So I expect there is something between the Gateway and Domoticz what is not going smooth.
Just test on my ds216play (v3.6883 is the lastest aviable for me) and i can't add xiaomi gateway i have to investigate with jumbotroll about this
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by bing69 »

Yesterday received my Xiaomi Gateway. As far as I can see it's a V3.
I have installed the app on iOS and Android, but can not find the password to enter him in Domoticz.
Here I do not know what to do. Does anyone advice?
zorroar
Posts: 4
Joined: Sunday 22 January 2017 19:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by zorroar »

corbin wrote:I fired up a test system under vmware in hopes of duplicating your problem, but it worked for me with those settings. If you don't mind modifying the source code, you could try manually adding in your local IP address to XiaomiGateway.cpp, line 573:

Code: Select all

m_LocalIp = "192.168.0.x";
EDIT - Try with VIMAGE enabled, that is what worked for me.
Thank, I solve de problem. You're doing a great job. Thank you very much
User avatar
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?

Post by corbin »

zorroar wrote:Thank, I solve de problem. You're doing a great job. Thank you very much
:)
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
User avatar
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?

Post by corbin »

bing69 wrote:but can not find the password to enter him in Domoticz.
You didn't say, so have you have tried to enable developer mode first?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by bing69 »

corbin wrote:
bing69 wrote:but can not find the password to enter him in Domoticz.
You didn't say, so have you have tried to enable developer mode first?
Can you tell me how can I get him in the Developer mode?
I do that from the app? I might need an older version of the app?
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by bing69 »

Thanks google translate, found a chinees page en found the solution. Thanks!

I see this:
2017-03-12 09:29:05.978 XiaomiGateway: will listen on 9898 for hardware id 18
2017-03-12 09:29:05.979 XiaomiGateway: Worker started...
2017-03-12 09:29:05.979 XiaomiGateway: Using 192.168.1.49 for local IP address.

for now i have only the gateway, can i use domoticz just to do with the lamp of the gateway??
(i am waiting on Alieexpress) :D
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by hekm77 »

Hi corbin
Is it possible to receive data from a light sensor Xiaomi Gateway?
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by Derik »

Is there perhaps some one that have the gateway working with Android? Or just only with Iphone. I try a lot of things only no luck yet..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
deennoo
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?

Post by deennoo »

hekm77 wrote:Hi corbin
Is it possible to receive data from a light sensor Xiaomi Gateway?
Wait for gateway fw update
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
murtadin
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?

Post by murtadin »

deennoo wrote:
hekm77 wrote:Hi corbin
Is it possible to receive data from a light sensor Xiaomi Gateway?
Wait for gateway fw update
Are you sure that it will be updated? :)
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

As what i can read on the api from github
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
murtadin
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?

Post by murtadin »

deennoo wrote:As what i can read on the api from github
Can you give me url pls? Thank you.

Sent from my MI MAX using Tapatalk
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by Derik »

Yes... Did everything again... And finaly i got the gateway with all the sensors !!! # happy # Thanks All...

Perhaps possible to switch a dummy switch with the Cube?

The radio should be great to :-)
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by hekm77 »

I have problems with Xiaomi Smart Socket (ZigBee). Domoticz v3.6908
Spoiler: show
Снимок экрана от 2017-03-12 17-55-28.png
Снимок экрана от 2017-03-12 17-55-28.png (14.4 KiB) Viewed 2482 times
Снимок экрана от 2017-03-12 17-57-20.png
Снимок экрана от 2017-03-12 17-57-20.png (37.57 KiB) Viewed 2482 times
Spoiler: show

Code: Select all

2017-03-12 18:23:08.655 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\",\"inuse\":\"0\"}"}
2017-03-12 18:23:21.277 User: Admin initiated a switch command (9/Камера/On)
2017-03-12 18:23:21.353 (Xiaomi) Light/Switch (Камера)
2017-03-12 18:23:21.368 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-12 18:23:21.427 (Xiaomi) Light/Switch (Камера)
2017-03-12 18:23:21.456 (Xiaomi) Light/Switch (Камера)
2017-03-12 18:23:21.473 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-12 18:24:00.499 LUA: TV ping success
2017-03-12 18:24:00.626 LUA: TV says it is active
2017-03-12 18:24:00.626 LUA: TV active, status is ON, so do nothing.
2017-03-12 18:24:14.435 User: Admin initiated a switch command (9/Камера/Off)
2017-03-12 18:24:14.601 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-12 18:24:14.601 bIsOn = false
2017-03-12 18:24:14.601 nvalue = 0
2017-03-12 18:24:14.601 messagetype = report
2017-03-12 18:24:14.601 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-12 18:24:14.601 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-12 18:24:14.601 bIsOn = false
2017-03-12 18:24:14.601 nvalue = 0
2017-03-12 18:24:14.601 messagetype = report
2017-03-12 18:24:14.601 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-12 18:24:14.585 (Xiaomi) Light/Switch (Камера)
murtadin
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?

Post by murtadin »

Is there any real chance, that support of wi-fi socket will be added? Developer mode for xiaomi wi-fi socket. For ir remote it would be great too.

Sent from my MI MAX using Tapatalk
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest