Page 83 of 123

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

Posted: Wednesday 12 July 2017 15:49
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 :)

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

Posted: Thursday 13 July 2017 9:30
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/

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

Posted: Sunday 16 July 2017 19:02
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.

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

Posted: Sunday 16 July 2017 20:26
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)

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

Posted: Sunday 16 July 2017 22:57
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?

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

Posted: Monday 17 July 2017 12:43
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

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

Posted: Monday 17 July 2017 13:12
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.

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

Posted: Monday 17 July 2017 13:22
by corbin
should work if you compile from https://github.com/corbinmunce/domoticz

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

Posted: Monday 17 July 2017 13:27
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

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

Posted: Monday 17 July 2017 13:34
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.

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

Posted: Monday 17 July 2017 13:42
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.

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

Posted: Monday 17 July 2017 17:39
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

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

Posted: Monday 17 July 2017 19:27
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?

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

Posted: Monday 17 July 2017 19:44
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

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

Posted: Monday 17 July 2017 19:50
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\"}"}

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

Posted: Monday 17 July 2017 19:52
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 ?

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

Posted: Monday 17 July 2017 19:56
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 ;-)

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

Posted: Monday 17 July 2017 22:14
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

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

Posted: Monday 17 July 2017 23:02
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

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

Posted: Monday 17 July 2017 23:26
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)