Page 113 of 123

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

Posted: Wednesday 07 February 2018 20:25
by clubeddie
pjsgsy wrote: Monday 05 February 2018 19:41 I just received my gateway and sensors etc today. Install was pretty straightforward. Gateway added to domoticz OK. All sensors paired and showing up in domoticz. Getting live readings from them all. I can press a switch and see the 'Click' event in the log.

So, I tried to setup a simple doorbell. I based it on the example in the wiki. I have tried the exact code and variations. It runs when the door bell button is clicked, but it seems domoticz cannot talk to the gateway, or if it is, the gateway is not doing anything.

From the switches I try to turn on the rgb light or doorbel sound. Nothing. It does work fine from the Mi app though. I have enabled the local network and I have reset and regenerated the password in case I had some typo's (there was a O or 0, but there is not now), but still, I cannot get domoticz to make the gateway play any sounds or light up.

I assume I should be able to play the sounds by simply clicking the gateway doorbell on with the relevant sound? I've tried the blocky script which I used and it does run when the switch is clicked.

I set the volume to level 50
Doorbell to level 40
RG gateway on

But nothing. These 3 don;t seem to work. I DO see them switch on and off in the dashboard, so the domoticz switches seem to be getting set. The gateway however does not seem to carry out the actions. I have the latest firmware on the gateway too.

Version: Latest stable
Platform: Windows 10

Anyone set this up and got any tips? I see nothing in the logs that seems relevant. No errors etc.
I am reading with you. Today received my GW installed it according to the instruction on the wiki. Everything is working fine. Gw received two firmware updates, know i have version 1.4.1_151.0143. Trough the app everything is working fine.
Added the GW to domoticz, 5 hardware devices are added. Tried to use them, first i can click but no response.
Know when i use the lightswitch i get
2018-02-07 20:19:22.580 User: Admin initiated a switch command (109/Xiaomi RGB Gateway/On)
2018-02-07 20:19:22.731 Error: XiaomiGateway: unable to write command - Invalid Key
2018-02-07 20:19:22.731 XiaomiGateway: SendMessageToGateway failed on first attempt, will try again
2018-02-07 20:19:22.982 Error: XiaomiGateway: unable to write command - Invalid Key

Anyone an idea, maybe firmware of ghe GW?

Using domoticz
Version: 3.8153
Build Hash: 494fff7-modified
Compile Date: 2017-07-30 12:19:41

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

Posted: Thursday 08 February 2018 5:53
by ak97
clubeddie wrote: Wednesday 07 February 2018 20:25
Know when i use the lightswitch i get
2018-02-07 20:19:22.580 User: Admin initiated a switch command (109/Xiaomi RGB Gateway/On)
2018-02-07 20:19:22.731 Error: XiaomiGateway: unable to write command - Invalid Key
2018-02-07 20:19:22.731 XiaomiGateway: SendMessageToGateway failed on first attempt, will try again
2018-02-07 20:19:22.982 Error: XiaomiGateway: unable to write command - Invalid Key

Anyone an idea, maybe firmware of ghe GW?
you must write correct gw key in domoticz!
domoticz->setup->hardware->xiaomi gateway->password

this password you can get in mihome application

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

Posted: Thursday 08 February 2018 8:08
by clubeddie
ak97 wrote: Thursday 08 February 2018 5:53
clubeddie wrote: Wednesday 07 February 2018 20:25
Know when i use the lightswitch i get
2018-02-07 20:19:22.580 User: Admin initiated a switch command (109/Xiaomi RGB Gateway/On)
2018-02-07 20:19:22.731 Error: XiaomiGateway: unable to write command - Invalid Key
2018-02-07 20:19:22.731 XiaomiGateway: SendMessageToGateway failed on first attempt, will try again
2018-02-07 20:19:22.982 Error: XiaomiGateway: unable to write command - Invalid Key

Anyone an idea, maybe firmware of ghe GW?
you must write correct gw key in domoticz!
domoticz->setup->hardware->xiaomi gateway->password

this password you can get in mihome application
Thank you! Probaly mis a letter in typing, twice checked :shock: . Now it is working, better next time go to bed on time :roll:

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

Posted: Monday 12 February 2018 11:35
by burton666
I tried searching the thread but could not find anything. What is the difference between the v2 an v3 of the gateway?

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

Posted: Saturday 17 February 2018 19:14
by rich710
I also hope for this, I bought a lot of Xiaomi Aqara sensors, and they show up on my conbee software called Phoscon, but not in deConz and therefore not in Domoticz I think.
quack3d wrote: Monday 08 January 2018 8:07 Anyone looked into integrating ConBee USB adapter in Domoticz to work with Xiaomi devices? Getting rid of the Hub would be nice.

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

Posted: Saturday 17 February 2018 19:42
by remb0
burton666 wrote: Monday 12 February 2018 11:35 I tried searching the thread but could not find anything. What is the difference between the v2 an v3 of the gateway?
v3 has: Lux + IR-Transceiver + power meter (IR only working inside the mihome app, and powermeter is only for the ch plugs
because it has the option for putting in a extra power plug.

Aqara Air Conditioning Companion - CN PLUG ( 3-PIN ) WHITE
but v2 is a little bit cheaper. your choice. I recommend v2 for best bang for the bugs.

Original Xiaomi Mi Smart WiFi Remote Control Multi-functional Gateway Upgrade - XIAOMI MULTIFUNCTIONAL GATEWAY WHITE

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

Posted: Saturday 17 February 2018 20:11
by Mightymicro
ak97 wrote: Saturday 03 February 2018 19:26 I have Xiaomi Smart Home 2 Gateway with latest firmware 1.4.1_151.0143
And i use latest Domoticz beta V3.8875

I bought New Aqara switches (single and double buttons) with zero line

MiHome successfully paired this switches to gateway.
BUT domoticz says:

2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001f99222","short_id":53738,"data":"{\"voltage\":3600,\"channel_0\":\"on\"}"}
2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001fa1960","short_id":53211,"data":"{\"voltage\":3600}"}
2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001fa18e7","short_id":12953,"data":"{\"voltage\":3600}"}

and No new devices on Domoticz Setup->Devices tab

at same time my old aqara switches (without zero line) works fine:
2018-02-03 17:48:44.725 {"cmd":"heartbeat","model":"ctrl_neutral2","sid":"158d00014a8324","short_id":4959,"data":"{\"voltage\":3300,\"channel_0\":\"off\",\"channel_1\":\"on\"}"}
I am having the same problem. Is there any update on this.

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

Posted: Monday 19 February 2018 21:33
by devros
hello all, tried new xiaomi square switch
Double Click

Code: Select all

XiaomiGateway: New Xiaomi Smart Push Button Found (158d0001f9bd7c)
(GW) Light/Switch (Unknown)
(GW) Light/Switch (Xiaomi Smart Push Button)
works great but noticed that in domoticz is only Off, Click, Shake (double click is missing) in Mi Home log is Double Click normally logged

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

Posted: Monday 19 February 2018 22:38
by TroLoo
Mightymicro wrote:
ak97 wrote: Saturday 03 February 2018 19:26 I have Xiaomi Smart Home 2 Gateway with latest firmware 1.4.1_151.0143
And i use latest Domoticz beta V3.8875

I bought New Aqara switches (single and double buttons) with zero line

MiHome successfully paired this switches to gateway.
BUT domoticz says:

2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001f99222","short_id":53738,"data":"{\"voltage\":3600,\"channel_0\":\"on\"}"}
2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001fa1960","short_id":53211,"data":"{\"voltage\":3600}"}
2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001fa18e7","short_id":12953,"data":"{\"voltage\":3600}"}

and No new devices on Domoticz Setup->Devices tab

at same time my old aqara switches (without zero line) works fine:
2018-02-03 17:48:44.725 {"cmd":"heartbeat","model":"ctrl_neutral2","sid":"158d00014a8324","short_id":4959,"data":"{\"voltage\":3300,\"channel_0\":\"off\",\"channel_1\":\"on\"}"}
I am having the same problem. Is there any update on this.
Same problem here, both of mine wired switches (single & double, zero line) don’t show up in Domoticz...

I guess they’ve changed some id number and they don’t get recognized automatically. I tried latest beta with no luck... please advise.


Sent from my iPad using Tapatalk

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

Posted: Tuesday 20 February 2018 8:15
by burton666
What distance does the gateway cover? And what is the best/cheapest way to extend the range? Multiple gateways?

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

Posted: Monday 26 February 2018 16:57
by Revers59
I have serious problems with scenes in last beta.
Scene loop and delay off don't work.

If I put on yeelight ON the switch pannel all scene with yeelight turn on.
But in scenes yeelight use different rgb...

my domoticz is broke ...

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

Posted: Monday 26 February 2018 19:55
by remb0
26-2-2018
Yeelight JIAOYUE 450 LED Ceiling Light 200 - 220V - WHITE LAMPSHADE WHITE
warehouse: China
price: from 92.99 to 77.10
coupon: XMY450
available: 300
Start: 2.26 until 3.5

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

Posted: Monday 26 February 2018 22:54
by JaapKoppejan
febalci wrote:Is there anyone who is succesfully using Xiaomi PM2.5 Air Quality Sensor with Domoticz?
Not yet! I have one as well. Tried to integrate it with https://github.com/rytilahti/python-miio but gave up after some time. Would be great to get it working.....

Sent from my Redmi Note 4 using Tapatalk


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

Posted: Tuesday 27 February 2018 8:20
by febalci
JaapKoppejan wrote: Monday 26 February 2018 22:54 Not yet! I have one as well. Tried to integrate it with https://github.com/rytilahti/python-miio but gave up after some time. Would be great to get it working.....
I prepared a Python Plugin for Xiaomi PM2.5. You can find it on https://github.com/febalci/DomoticzXiaomiPM2.5 . It makes a direct connection to the unit once you assign an IP to it. You can give a reserved DHCP address from the router so the unit will use a static IP. I've been using the plugin successfully for some time.

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

Posted: Thursday 01 March 2018 15:47
by ak97
OK! Today i have updated firmware for my Xiaomi Gateway and now my aqara swithces works correctly. but now domoticz wrote:

Code: Select all

2018-03-01 16:48:23.018 XiaomiGateway: unhandled model: ctrl_ln2.aq1
and

Code: Select all

2018-03-01 16:48:54.229 XiaomiGateway: unhandled model: ctrl_ln1.aq1

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

Posted: Thursday 01 March 2018 16:20
by Nerdmovieproductions
Hi Guys,
I have an alarm set on my Mi Home App that send notification to my smartphone and make the gateway ring when the door are open (xiaomi door device).
Can I import the alarm directly on domoticz or I need to program it with blocky?
And Can I attach a pin for set on/off the alarm?

Let me know thanks :)

Andrea

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

Posted: Saturday 10 March 2018 12:02
by fennec62
Hi

First thanks a lot for your job, Xiaomi Smart home is very great to use and very smart

Can i update firmware Without surprise ?

Current 1.4.1_151.0143
Last 1.4.1_153.0143

Thanks for your help

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

Posted: Saturday 10 March 2018 18:23
by ak97
fennec62 wrote: Saturday 10 March 2018 12:02 Can i update firmware Without surprise ?
yes

P.S.
Last beta (9014) now support new aqara wall swithes! cool!

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

Posted: Saturday 10 March 2018 18:32
by Mightymicro
Mightymicro wrote: Saturday 17 February 2018 20:11
ak97 wrote: Saturday 03 February 2018 19:26 I have Xiaomi Smart Home 2 Gateway with latest firmware 1.4.1_151.0143
And i use latest Domoticz beta V3.8875

I bought New Aqara switches (single and double buttons) with zero line

MiHome successfully paired this switches to gateway.
BUT domoticz says:

2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001f99222","short_id":53738,"data":"{\"voltage\":3600,\"channel_0\":\"on\"}"}
2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001fa1960","short_id":53211,"data":"{\"voltage\":3600}"}
2018-02-03 17:31:56.907 XiaomiGateway: unhandled model:
2018-02-03 17:31:56.907 {"cmd":"read_ack","model":"","sid":"158d0001fa18e7","short_id":12953,"data":"{\"voltage\":3600}"}

and No new devices on Domoticz Setup->Devices tab

at same time my old aqara switches (without zero line) works fine:
2018-02-03 17:48:44.725 {"cmd":"heartbeat","model":"ctrl_neutral2","sid":"158d00014a8324","short_id":4959,"data":"{\"voltage\":3300,\"channel_0\":\"off\",\"channel_1\":\"on\"}"}
I am having the same problem. Is there any update on this.
I just installed latest update Beta V3.9014 and now all my Aqara switches are working, zero line and non zero line.
Thanks for all the good work.

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

Posted: Tuesday 13 March 2018 12:25
by fenix
welby wrote: Tuesday 09 January 2018 12:47 I've come across this hub that claims to be compatible with the aqara stuff. Not sure on price or any other details as of yet though.

https://www.mixtile.com/mixtilehub/
you may check on Indiegogo for more information, the crowdfunding lasts a few days.