Page 77 of 123

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

Posted: Friday 09 June 2017 14:49
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

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

Posted: Friday 09 June 2017 15:22
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 !

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

Posted: Friday 09 June 2017 21:47
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)

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

Posted: Friday 09 June 2017 23:42
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

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

Posted: Saturday 10 June 2017 8:22
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

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

Posted: Saturday 10 June 2017 8:24
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

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

Posted: Saturday 10 June 2017 8:32
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:

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

Posted: Saturday 10 June 2017 8:37
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.

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

Posted: Saturday 10 June 2017 9:18
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.

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

Posted: Sunday 11 June 2017 17:10
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 2712 times
There is no device for controlling the smoke detector though or seeing if it is active...?

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

Posted: Monday 12 June 2017 0:36
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.

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

Posted: Monday 12 June 2017 1:57
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

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

Posted: Monday 12 June 2017 2:52
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?

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

Posted: Monday 12 June 2017 7:58
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.

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

Posted: Monday 12 June 2017 8:09
by Niki0beas
Thanks for the sharing.

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

Posted: Monday 12 June 2017 8:28
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!

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

Posted: Monday 12 June 2017 8:55
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.

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

Posted: Monday 12 June 2017 9:57
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.

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

Posted: Monday 12 June 2017 14:34
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

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

Posted: Monday 12 June 2017 21:51
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