Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

Revers59
Posts: 13
Joined: Friday 12 May 2017 13:53
Target OS: Linux
Domoticz version:
Contact:

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

Post by Revers59 »

benbammens wrote:
doxikus wrote:HI,

I think someone already post a question. I have on new temperature sensor ordered from gearbest, cube shape, with additional pressure sensor. Can someone confirm that he had in domoticz sensor registered or we need to wait for update on code. Problem with android is resolved I can add sensor via Mi Home app.

Thanks
No, it does not work yet

Verstuurd vanaf mijn SM-G930F met Tapatalk
hum I receive it this day ! One beer for the dev who code that :)
suborb
Posts: 9
Joined: Friday 16 December 2016 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by suborb »

Revers59 wrote:
benbammens wrote:
doxikus wrote:HI,

I think someone already post a question. I have on new temperature sensor ordered from gearbest, cube shape, with additional pressure sensor. Can someone confirm that he had in domoticz sensor registered or we need to wait for update on code. Problem with android is resolved I can add sensor via Mi Home app.

Thanks
No, it does not work yet

Verstuurd vanaf mijn SM-G930F met Tapatalk
hum I receive it this day ! One beer for the dev who code that :)
The problem, as I understand it, is that the values for the new square button and thermometer aren't emitted over the LAN interface.

Looking at a tcpdump, it appears that the values are sent up to Xiaomi cloud, but the encryption keys/method for the cloud channel haven't been found - the protocol there is similar to that described here https://github.com/OpenMiHome/mihome-bi ... ROTOCOL.md

Thus a gateway firmware update is needed, or you need to bypass the gateway and use a zigbee sniffer such as here: http://faire-ca-soi-meme.fr/hack/2017/0 ... e-sniffer/
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

I am using quit some Xiaomi Product by now, I bought them all @ GearBest. The shipping time was okay, german express 7-20 days (also available for other country and EU) and no TAX. They are really affordable with good build quality and design. Also integration via homebridge works like a charm.

These is a list of my working products:

Xiaomi Gateway Bridge (you need this)
Xiaomi Smart Door and Windows Sensor
Xiaomi Smart Wireless Switch
Xiaomi Motionsensor
Xiaomi Aqara Double Wall Switch
Xiaomi Aqara Single Wall Switch
Xiaomi Aqara Double Wall Switch Wireless
Xiaomi Aqara Single Wall Switch Wireless
Xiaomi Smart WiFi Socket

Not working right now are the Zero Line (neutral) Xiaomi Aqara Wall Switches.
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
levynger
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?

Post by levynger »

theo69 wrote:I am using quit some Xiaomi Product by now, I bought them all @ GearBest. The shipping time was okay, german express 7-20 days (also available for other country and EU) and no TAX. They are really affordable with good build quality and design. Also integration via homebridge works like a charm.

These is a list of my working products:

Xiaomi Gateway Bridge (you need this)
Xiaomi Smart Door and Windows Sensor
Xiaomi Smart Wireless Switch
Xiaomi Motionsensor
Xiaomi Aqara Double Wall Switch
Xiaomi Aqara Single Wall Switch
Xiaomi Aqara Double Wall Switch Wireless
Xiaomi Aqara Single Wall Switch Wireless
Xiaomi Smart WiFi Socket

Not working right now are the Zero Line (neutral) Xiaomi Aqara Wall Switches.
i Just installed the Aqara Single Wall Switch Line (LN) 2 days ago - after updating git from corbin's - it works.. i have seen corbin added the code to deal with the LN switch.. (didn't dig into it.. as it seems to work fine)
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

levynger wrote: i Just installed the Aqara Single Wall Switch Line (LN) 2 days ago - after updating git from corbin's - it works.. i have seen corbin added the code to deal with the LN switch.. (didn't dig into it.. as it seems to work fine)
Did you update beta or did you compiled from corbin?
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
doxikus
Posts: 14
Joined: Friday 27 November 2015 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Dalj, Croatia
Contact:

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

Post by doxikus »

HI all,

This morning I have receive update for Xiaomi gateway, ver. 1.4.1_148.0143, and under domoticz log I got this message:

Code: Select all

2017-07-17 09:40:32.236 XiaomiGateway: unhandled model: weather.v1
2017-07-17 09:40:32.245 XiaomiGateway: unhandled model: weather.v1
2017-07-17 09:40:32.282 XiaomiGateway: unhandled model: weather.v1
I have latest version of Aquara temp/hum/bar sensor, cube shape. Can someone take look on this, maybe with this update we can have finally support for new xiaomi sensors.

Thanks

edit:

HA forum thread have more info:

https://community.home-assistant.io/t/b ... /8213/2236
benbammens
Posts: 29
Joined: Tuesday 30 May 2017 19:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by benbammens »

doxikus wrote:HI all,

This morning I have receive update for Xiaomi gateway, ver. 1.4.1_148.0143, and under domoticz log I got this message:

Code: Select all

2017-07-17 09:40:32.236 XiaomiGateway: unhandled model: weather.v1
2017-07-17 09:40:32.245 XiaomiGateway: unhandled model: weather.v1
2017-07-17 09:40:32.282 XiaomiGateway: unhandled model: weather.v1
I have latest version of Aquara temp/hum/bar sensor, cube shape. Can someone take look on this, maybe with this update we can have finally support for new xiaomi sensors.

Thanks

edit:

HA forum thread have more info:

https://community.home-assistant.io/t/b ... /8213/2236
Damn, they are fast :)

Looking forward to seeing them in Domoticz.
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 »

should work if you compile from https://github.com/corbinmunce/domoticz
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
benbammens
Posts: 29
Joined: Tuesday 30 May 2017 19:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by benbammens »

Thank you!

Can the door/window sensor also be added? This is the message I see in the log:

2017-07-17 12:50:33.831 XiaomiGateway: unhandled model: sensor_magnet.aq2
levynger
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?

Post by levynger »

theo69 wrote:
levynger wrote: i Just installed the Aqara Single Wall Switch Line (LN) 2 days ago - after updating git from corbin's - it works.. i have seen corbin added the code to deal with the LN switch.. (didn't dig into it.. as it seems to work fine)
Did you update beta or did you compiled from corbin?
Used Corbin's .cpp and .h on top of the beta before compiling.
but you can use corbin's git - it should work..
these changes are not yet in the official beta.
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 »

@benbammens Done - assuming it works the same as the Xiaomi sensor

@levynger I've just reset the changes for the wall switches in my repo to match the current Domoticz beta, so these new Aqara devices can be added in. I'm waiting on an order of wall switches to arrive so I can test it out fully, unless you could do it? You will see I've changed to using more unitcodes for the different devices.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

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

Post by salvacalatayud »

I've just ordered this:

https://xiaomi-mi.com/sockets-and-senso ... ty-sensor/

Do you know if I can use it as a gateway?

Thanks
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

corbin wrote:should work if you compile from https://github.com/corbinmunce/domoticz
to stupid to compile, still new to all this. What do you think at what time it will word with beta?
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

I also just got the new Square Button (Aqara Button) and I see these:

Code: Select all

2017-07-17 13:39:33.186 XiaomiGateway: unhandled model: sensor_switch.aq2
Did anybody try the new motion sensor with LUX Sensor?motion sensor LUX
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
chatainsim
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?

Post by chatainsim »

corbin wrote:@benbammens Done - assuming it works the same as the Xiaomi sensor

@levynger I've just reset the changes for the wall switches in my repo to match the current Domoticz beta, so these new Aqara devices can be added in. I'm waiting on an order of wall switches to arrive so I can test it out fully, unless you could do it? You will see I've changed to using more unitcodes for the different devices.
For the aqara door sensor :

Code: Select all

2017-07-17 19:42:20.142 XiaomiGateway: unhandled model: sensor_magnet.aq2
2017-07-17 19:42:20.142 {"cmd":"report","model":"sensor_magnet.aq2","sid":"158d0001a64ef5","short_id":15096,"data":"{\"status\":\"close\"}"}
2017-07-17 19:42:21.607 XiaomiGateway: unhandled model: sensor_magnet.aq2
2017-07-17 19:42:21.607 {"cmd":"report","model":"sensor_magnet.aq2","sid":"158d0001a64ef5","short_id":15096,"data":"{\"status\":\"open\"}"}
chatainsim
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?

Post by chatainsim »

theo69 wrote:I also just got the new Square Button (Aqara Button) and I see these:

Code: Select all

2017-07-17 13:39:33.186 XiaomiGateway: unhandled model: sensor_switch.aq2
Did anybody try the new motion sensor with LUX Sensor?motion sensor LUX
For the new square button, I'm not able to add it to the gateway. It's not in the list.
You did you add it ?
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

chatainsim wrote: For the new square button, I'm not able to add it to the gateway. It's not in the list.
You did you add it ?
Just use the other button icon and after adding it shows aqara button ;-)
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
chatainsim
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?

Post by chatainsim »

theo69 wrote:
chatainsim wrote: For the new square button, I'm not able to add it to the gateway. It's not in the list.
You did you add it ?
Just use the other button icon and after adding it shows aqara button ;-)
I tried but it failed.
I will try again later. Thanks
Revers59
Posts: 13
Joined: Friday 12 May 2017 13:53
Target OS: Linux
Domoticz version:
Contact:

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

Post by Revers59 »

the temp sensor with pression ( not supported now ) has a new name
2017-07-17 22:44:04.691 XiaomiGateway: unhandled model: weather.v1
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

chatainsim wrote: I tried but it failed.
I will try again later. Thanks
The learning button is on the side (not the small hole on top)
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests