Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

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 »

chatainsim wrote:
Swifty wrote:
Swifty wrote:Does anyone have any suggestions for a (cheap) doorbell pusher that can be fitted outside? (in the British weather!) :)
My current doorbell (some Siemens junk) keeps failing, so I'd like to get a wireless button that is weather proof which I can integrate with Domoticz to trigger the Xiaomi gateways :D
At the risk of talking to myself - I have now found a solution for this :)

I took a spare Xiaomi door sensor, pulled it apart and wired a push button between GND and D0 pins, then fitted it all inside my old doorbell pusher casing.
Now I have a Xiaomi smart doorbell :D - The gateway rings when the doorbell is pushed (using a bit of blocky in Domoticz).

However, I've noticed that once the tune has finished playing on the gateway, the state of the 'Xiaomi Smart Gateway Doorbell' (the one where you pick a sound) does not go back to 'Off' state in Domoticz - is this normal?
You're not talking only to yourself :D
I'm interested about this. Can you post some pics of your setup?
Thanks
Probably you will find some solution for how to in this topic:

http://www.domoticz.com/forum/viewtopic ... 84#p129784



Verzonden vanaf mijn iPhone met Tapatalk
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
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 »

bertbigb wrote:
chatainsim wrote:
Swifty wrote:
At the risk of talking to myself - I have now found a solution for this :)

I took a spare Xiaomi door sensor, pulled it apart and wired a push button between GND and D0 pins, then fitted it all inside my old doorbell pusher casing.
Now I have a Xiaomi smart doorbell :D - The gateway rings when the doorbell is pushed (using a bit of blocky in Domoticz).

However, I've noticed that once the tune has finished playing on the gateway, the state of the 'Xiaomi Smart Gateway Doorbell' (the one where you pick a sound) does not go back to 'Off' state in Domoticz - is this normal?
You're not talking only to yourself :D
I'm interested about this. Can you post some pics of your setup?
Thanks
Probably you will find some solution for how to in this topic:

http://www.domoticz.com/forum/viewtopic ... 84#p129784



Verzonden vanaf mijn iPhone met Tapatalk
Thanks, I will look at it !
jjnj

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

Post by jjnj »

Hi guys, would it perhaps be possible to add more xiaomi devices next to the gateway?

https://github.com/aholstenson/miio
They added support for:
Air Purifiers (1, 2 and Pro)
Mi Humidifier
Mi Smart Socket Plug and Power Strips
Mi Robot Vacuum
Mi Smart Home Gateway (Aqara) and accessories
Yeelights

If i could do it myself i would but unfortunatelly i don't have enough coding knowledge yet (still learning)
warmaniac
Posts: 24
Joined: Wednesday 12 April 2017 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by warmaniac »

Xiaomi Aqara Door / Window module , today arrived, it was same

2017-06-09 23:23:08.800 2017-06-09 23:23:08.800 XiaomiGateway: unhandled model:

http://www.gearbest.com/access-control/pp_626703.html
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 »

warmaniac wrote:Xiaomi Aqara Door / Window module , today arrived, it was same

2017-06-09 23:23:08.800 2017-06-09 23:23:08.800 XiaomiGateway: unhandled model:

http://www.gearbest.com/access-control/pp_626703.html
Is he reconize by xiaomi gateway ?

Mine is on the way can't test for the moment
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
warmaniac
Posts: 24
Joined: Wednesday 12 April 2017 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by warmaniac »

Yes this notification was after I pair it to the gateway , this shows up in domoticz logs
deennoo wrote:
warmaniac wrote:Xiaomi Aqara Door / Window module , today arrived, it was same

2017-06-09 23:23:08.800 2017-06-09 23:23:08.800 XiaomiGateway: unhandled model:

http://www.gearbest.com/access-control/pp_626703.html
Is he reconize by xiaomi gateway ?

Mine is on the way can't test for the moment


Odoslané z môjho iPhone cez Tapatalk
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 »

Waiting on the update to the Xiaomi Gateway firmware that will report the model name for these new devices. Currently it is empty resulting in the following log message:

Code: Select all

XiaomiGateway: unhandled model:
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 »

jjnj wrote:Hi guys, would it perhaps be possible to add more xiaomi devices next to the gateway?

https://github.com/aholstenson/miio
They added support for:
Air Purifiers (1, 2 and Pro)
Mi Humidifier
Mi Smart Socket Plug and Power Strips
Mi Robot Vacuum
Mi Smart Home Gateway (Aqara) and accessories
Yeelights

If i could do it myself i would but unfortunatelly i don't have enough coding knowledge yet (still learning)
Yes it is definitely possible as a new plugin done with C++, and possibly could be done with the new Python plugin framework. I would recommend trying to do it with Python.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

On my side all Xiaomi wifi device aren't xiaomi gateway dependent.

They have to be add by using another plugin or cpp dev.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

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

Post by ben53252642 »

Just installed Domoticz build 3.7712 which includes the commit for the smoke detector.

In devices I have a new device added:
Screen Shot 2017-06-12 at 1.09.48 am.png
Screen Shot 2017-06-12 at 1.09.48 am.png (71.3 KiB) Viewed 2700 times
There is no device for controlling the smoke detector though or seeing if it is active...?
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
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 »

I have test it with a bbq, when smoke is here he ring and gateway flash on red and ring too.

On domoticz he turn on.

Don't forget to allow new device and press button one time, he will arrive on unused device.

Bad point of this device is our none ability to make it ring from aqara api...this will be usefull for.a weekly test.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

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

Post by ben53252642 »

deennoo wrote:I have test it with a bbq, when smoke is here he ring and gateway flash on red and ring too.

On domoticz he turn on.

Don't forget to allow new device and press button one time, he will arrive on unused device.

Bad point of this device is our none ability to make it ring from aqara api...this will be usefull for.a weekly test.
It showed up over night while I was asleep, just added it. Thanks
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
drolore
Posts: 3
Joined: Monday 12 June 2017 2:44
Target OS: Linux
Domoticz version:
Contact:

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

Post by drolore »

Hi,

Thanks for the great software, can't wait to get it to work. I am running Domoticz 3.7706 in Docker. I can access the WEBGUI however after adding the gateway it cannot find any devices. In the log I have this:
2017-06-12 08:41:00.595 XiaomiGateway: will listen on 9898 for hardware id 2
domoticz: XiaomiGateway: Worker started...
2017-06-12 08:41:00.595 XiaomiGateway: Worker started...

So I am guessing it cannot find the gateway? The IP is correct, Lan access is enabled on the gateway and the password is also correct.

What is interesting is that I have tried changing the port from 9898 to 54321 for example however the log keeps showing that it is listening on 9898: Is that normal?
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 »

First thing to check is that you have multicast working on your container. See https://stackoverflow.com/questions/372 ... st-traffic

And yes the port will always be 9898, regardless of what you enter in the settings.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Niki0beas
Posts: 1
Joined: Monday 12 June 2017 7:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Niki0beas »

Thanks for the sharing.
drolore
Posts: 3
Joined: Monday 12 June 2017 2:44
Target OS: Linux
Domoticz version:
Contact:

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

Post by drolore »

corbin wrote:First thing to check is that you have multicast working on your container. See https://stackoverflow.com/questions/372 ... st-traffic
WOW, I will need to study this in more detail as I only understand 50%. Thanks for the tip!
User avatar
Mooseknuckle
Posts: 43
Joined: Sunday 08 March 2015 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Mooseknuckle »

drolore wrote:Hi,

Thanks for the great software, can't wait to get it to work. I am running Domoticz 3.7706 in Docker. I can access the WEBGUI however after adding the gateway it cannot find any devices. In the log I have this:
2017-06-12 08:41:00.595 XiaomiGateway: will listen on 9898 for hardware id 2
domoticz: XiaomiGateway: Worker started...
2017-06-12 08:41:00.595 XiaomiGateway: Worker started...

So I am guessing it cannot find the gateway? The IP is correct, Lan access is enabled on the gateway and the password is also correct.

What is interesting is that I have tried changing the port from 9898 to 54321 for example however the log keeps showing that it is listening on 9898: Is that normal?
Hi,

Try starting your container with "--net=host". It worked for me after adding this option. Unfortunately this option is not available when running a docker swarm.
RPI 3, Philips Hue,Toon Thermostat, Harmony Smart Control, Yeelights
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
drolore
Posts: 3
Joined: Monday 12 June 2017 2:44
Target OS: Linux
Domoticz version:
Contact:

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

Post by drolore »

Mooseknuckle wrote: Try starting your container with "--net=host". It worked for me after adding this option. Unfortunately this option is not available when running a docker swarm.
Thanks. That did it. I guess it didn't like me running it in bridge mode.
Marco74
Posts: 2
Joined: Saturday 19 November 2016 17:43
Target OS: Linux
Domoticz version:
Contact:

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

Post by Marco74 »

Hi all,
a very quick question.
I was trying to send the data from the temp&humidy sensors to the influx DB using the DataPush|InfluxDB but I don't see anything sent to the DB from any xiaomi device.
I have tried bot the direct and value change mode but nothing changed.
I know that the datapush engine is working because I can see other data pushed into from different devices.

...any hint/suggestion?

Thanks
warmaniac
Posts: 24
Joined: Wednesday 12 April 2017 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by warmaniac »

Try to watch via wireshark if is some output from xiaomi gateway UDP

Marco74 wrote:Hi all,
a very quick question.
I was trying to send the data from the temp&humidy sensors to the influx DB using the DataPush|InfluxDB but I don't see anything sent to the DB from any xiaomi device.
I have tried bot the direct and value change mode but nothing changed.
I know that the datapush engine is working because I can see other data pushed into from different devices.

...any hint/suggestion?

Thanks


Odoslané z môjho iPhone cez Tapatalk
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest