Xiaomi Smart Home Suite (very cheap) compatibilty? Topic is solved

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.
ak97
Posts: 12
Joined: Saturday 03 February 2018 19:42
Target OS: Raspberry Pi
Domoticz version: 3.8975
Contact:

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

Post by ak97 » Monday 10 September 2018 12:36

sincze wrote:
Monday 10 September 2018 10:58
I can now also monitor devices connected to my second gateway ???
yes. now you can))

User avatar
sincze
Posts: 961
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

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

Post by sincze » Monday 10 September 2018 12:48

ak97 wrote:
Monday 10 September 2018 12:36
sincze wrote:
Monday 10 September 2018 10:58
I can now also monitor devices connected to my second gateway ???
yes. now you can))
Excellent news. Ali Express here I come ;-)
btw: Would that be on the latest beta or already available on latest stable.
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

ak97
Posts: 12
Joined: Saturday 03 February 2018 19:42
Target OS: Raspberry Pi
Domoticz version: 3.8975
Contact:

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

Post by ak97 » Monday 10 September 2018 14:16

only on latest beta

DAVIZINHO
Posts: 177
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO » Monday 10 September 2018 20:59

Hello
I received today one aqara vibration sensor and domoticz not recognized it as device.
In the log this is the message:
2018-09-10 20:54:21.617 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:21.625 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:22.683 Status: XiaomiGateway (ID=2): unhandled model: vibration

ak97
Posts: 12
Joined: Saturday 03 February 2018 19:42
Target OS: Raspberry Pi
Domoticz version: 3.8975
Contact:

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

Post by ak97 » Tuesday 11 September 2018 6:45

DAVIZINHO wrote:
Monday 10 September 2018 20:59
Hello
I received today one aqara vibration sensor and domoticz not recognized it as device.
In the log this is the message:
2018-09-10 20:54:21.617 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:21.625 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:22.683 Status: XiaomiGateway (ID=2): unhandled model: vibration
Create a user variable XiaomiMessage Integer and set value 1
restart domticz system and show log with this model

DAVIZINHO
Posts: 177
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO » Tuesday 11 September 2018 11:51

ak97 wrote:
Tuesday 11 September 2018 6:45
DAVIZINHO wrote:
Monday 10 September 2018 20:59
Hello
I received today one aqara vibration sensor and domoticz not recognized it as device.
In the log this is the message:
2018-09-10 20:54:21.617 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:21.625 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:22.683 Status: XiaomiGateway (ID=2): unhandled model: vibration
Create a user variable XiaomiMessage Integer and set value 1
restart domticz system and show log with this model
Hello,

this is the info:
2018-09-11 11:19:39.043 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"coordination\":\"48,69,1171\"}"}
2018-09-11 11:19:39.045 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 11:19:39.045 Status: {"cmd":"heartbeat","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"voltage\":3105}"}
Now im not in home, and i dont move/touch the sensor, but maybe some vibration ocurs :-P

ak97
Posts: 12
Joined: Saturday 03 February 2018 19:42
Target OS: Raspberry Pi
Domoticz version: 3.8975
Contact:

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

Post by ak97 » Tuesday 11 September 2018 14:07

DAVIZINHO wrote:
Tuesday 11 September 2018 11:51
Hello,

this is the info:
2018-09-11 11:19:39.043 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"coordination\":\"48,69,1171\"}"}
2018-09-11 11:19:39.045 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 11:19:39.045 Status: {"cmd":"heartbeat","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"voltage\":3105}"}
Now im not in home, and i dont move/touch the sensor, but maybe some vibration ocurs :-P
Need more info ))

DAVIZINHO
Posts: 177
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO » Tuesday 11 September 2018 14:16

ak97 wrote:
Tuesday 11 September 2018 14:07
DAVIZINHO wrote:
Tuesday 11 September 2018 11:51
Hello,

this is the info:
2018-09-11 11:19:39.043 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"coordination\":\"48,69,1171\"}"}
2018-09-11 11:19:39.045 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 11:19:39.045 Status: {"cmd":"heartbeat","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"voltage\":3105}"}
Now im not in home, and i dont move/touch the sensor, but maybe some vibration ocurs :-P
Need more info ))
Jejeje.
Ok, tonight i will move the sensor and obtain more info. Thanks

DAVIZINHO
Posts: 177
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO » Tuesday 11 September 2018 19:42

Hello,
This is the new info. is enought?
2018-09-11 18:12:27.577 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:12:27.577 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"status\":\"vibrate\"}"}
2018-09-11 18:12:27.595 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:12:27.595 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"status\":\"free_fall\"}"}
2018-09-11 18:12:42.655 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:12:42.655 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"coordination\":\"-58,-48,1191\"}"}
2018-09-11 18:12:43.797 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:12:43.798 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"status\":\"free_fall\"}"}

2018-09-11 18:13:28.947 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:13:28.948 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"status\":\"vibrate\"}"}
2018-09-11 18:13:35.405 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:13:35.405 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"coordination\":\"-17,47,1176\"}"}
2018-09-11 18:13:37.588 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:13:37.588 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"status\":\"free_fall\"}"}
2018-09-11 18:13:50.482 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-11 18:13:50.482 Status: {"cmd":"report","model":"vibration","sid":"158d0002a6e073","short_id":21715,"data":"{\"coordination\":\"-37,52,1174\"}"}

Jumper3126
Posts: 64
Joined: Thursday 31 December 2015 16:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

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

Post by Jumper3126 » Tuesday 11 September 2018 22:22

I have a question for everybody having the Xiaomi gateway running without any issue on their synology NAS.

I have Domoticz on a Raspi, but want to more to synology. It took me quite a while to get the xiaomi gateway to work on my raspi. In the end, the problem was that I needed to Raspi to be connected by Wifi and not by cable to my router, just like the gateway is connected by Wifi. If I didn't, I could get sensor (like temp) data in, but couldn't control switches (got error message "Error sending switch command, check device/hardware !").
When I now try to install the xiaomi gateway in synology Domoticz, I get the same error. Which isnt weird, as the NAS is obviously connected by cable.

So, how do other solve this problem. Or is nobody having this issue?

DAVIZINHO
Posts: 177
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO » Friday 14 September 2018 20:24

ak97 wrote:
Tuesday 11 September 2018 6:45
DAVIZINHO wrote:
Monday 10 September 2018 20:59
Hello
I received today one aqara vibration sensor and domoticz not recognized it as device.
In the log this is the message:
2018-09-10 20:54:21.617 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:21.625 Status: XiaomiGateway (ID=2): unhandled model: vibration
2018-09-10 20:54:22.683 Status: XiaomiGateway (ID=2): unhandled model: vibration
Create a user variable XiaomiMessage Integer and set value 1
restart domticz system and show log with this model
Hello again, in the last post i paste the information. do you need more information?

BTW, how can i disable the log?, i delete de user variable and the log persist, jijiji :-O
thanks

maikelvds
Posts: 5
Joined: Monday 19 March 2018 16:16
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Netherlands
Contact:

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

Post by maikelvds » Friday 14 September 2018 20:50

I'm also very curious to the solution about the vibration sensor.
My idea is to let the system send me a message when my washing machine is done, so at a specific vibration (at centrifuging)

melgi
Posts: 13
Joined: Tuesday 15 August 2017 15:50
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by melgi » Saturday 15 September 2018 19:37

I just read about the Xiaomi Smart Home Suite products. They look slick and affordable. As they use the Zigbee protocol I have the following question:
- Can I use the Xiaomi products with my Philips Hue Bridge or do I need to buy the seperate Xiaomi Mijia Upgrade Version Smart Home WiFi Remote Control Multifunctional Gateway?

I'm thinking of using the temperature and humidity sensors throughout the house and convert my WTW-installation to work with Domoticz.

jenssen
Posts: 31
Joined: Wednesday 13 July 2016 22:13
Target OS: Linux
Domoticz version: stable
Contact:

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

Post by jenssen » Monday 17 September 2018 21:55

Hello,

Just added a Xiaomi Gateway to Domoticz. It seems to work fine, however when I press a switch connected to the XIaomi Gateway, it will take up to 5 or 10 seconds, before the switch is turning to state "on" in Domoticz. When I add an action/scene in the Xiaomi App, the response is within 2 seconds. Is there such a delay between Domoticz and Xiaomi? If not then wireless can be a problem, but the Xiaomi Gateway is within a few meters of the access point. I tested the switch within 3 meter range of the Xiaomi Gateway.

Thanks.

Nautilus
Posts: 771
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi
Domoticz version: beta
Location: Finland
Contact:

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

Post by Nautilus » Wednesday 19 September 2018 22:59

jenssen wrote:
Monday 17 September 2018 21:55
...it will take up to 5 or 10 seconds, before the switch is turning to state "on" in Domoticz.
If this is just about seeing the switch update in the web UI then it is expected as the UI updates every 10 seconds. However, if you use the switch as a trigger for the event system, the reaction should be close to instant (tenth of a second max).

snellejellep
Posts: 116
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi
Domoticz version: 3.97xx
Location: The Neterlands
Contact:

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

Post by snellejellep » Thursday 20 September 2018 8:03

jenssen wrote:
Monday 17 September 2018 21:55
Hello,

Just added a Xiaomi Gateway to Domoticz. It seems to work fine, however when I press a switch connected to the XIaomi Gateway, it will take up to 5 or 10 seconds, before the switch is turning to state "on" in Domoticz. When I add an action/scene in the Xiaomi App, the response is within 2 seconds. Is there such a delay between Domoticz and Xiaomi? If not then wireless can be a problem, but the Xiaomi Gateway is within a few meters of the access point. I tested the switch within 3 meter range of the Xiaomi Gateway.

Thanks.
What you are reporting may be the refresh time of your dashboard.
You can try hooking up an automation, for example turn a light on, and time that for a more accurate response time.
Also you can see in the log when a sensor or switch gets new data, in there you may find it as well
raspberry pi | xiaomi gateway/vacuum | yeelight | philips hue | zwave |ubiquiti unifi | harmony

Recky
Posts: 1
Joined: Monday 30 July 2018 7:05
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post by Recky » Friday 21 September 2018 13:31

Also monitoring progress on the vibration sensor. I'm also getting the error :

XiaomiGateway (ID=7): unhandled model: vibration

Can anyone shed a light on if this is being worked on?

I have one mounted in my external mailbox next to the door, the goal is to get a pushbullet message when I have mail 8-)

DAVIZINHO
Posts: 177
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO » Friday 21 September 2018 19:18

Recky wrote:
Friday 21 September 2018 13:31
Also monitoring progress on the vibration sensor. I'm also getting the error :

XiaomiGateway (ID=7): unhandled model: vibration

Can anyone shed a light on if this is being worked on?

I have one mounted in my external mailbox next to the door, the goal is to get a pushbullet message when I have mail 8-)
no news. im waiting for this fuction

lolomin
Posts: 18
Joined: Sunday 11 October 2015 16:48
Target OS: Linux
Domoticz version:
Contact:

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

Post by lolomin » Sunday 23 September 2018 18:05

Hi,

Same for me, would be glad to have support for Xiaomi Aqara Vibration Sensor under Domoticz : https://www.gearbest.com/smart-home-con ... id=1433363

It has been added properly though Mi Home application but has not been detected by domoticz though the Xiaomi Gateway, I can see there is logs about it when disabled/enabled the Gateway :
2018-09-23 18:04:29.694 Status: {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0001ab2edf","short_id":58098,"data":"{\"voltage\":3025,\"status\":\"close\"}"}
2018-09-23 18:04:29.694 Status: {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d00020b4f5e","short_id":10541,"data":"{\"voltage\":3015,\"status\":\"close\"}"}
2018-09-23 18:04:29.694 Status: XiaomiGateway: unhandled model: vibration
2018-09-23 18:04:29.694 Status: {"cmd":"read_ack","model":"vibration","sid":"158d0002a8ab7a","short_id":222,"data":"{\"voltage\":3035}"}
2018-09-23 18:04:29.694 Status: XiaomiGateway: unhandled model: vibration
2018-09-23 18:04:29.694 Status: {"cmd":"read_ack","model":"vibration","sid":"158d0002a62887","short_id":3851,"data":"{\"voltage\":3065}"}

Regards,

Laurent

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest