Page 108 of 123

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

Posted: Tuesday 12 December 2017 22:12
by DAVIZINHO
jelleeelco wrote: Tuesday 12 December 2017 10:57
jelleeelco wrote: Tuesday 12 December 2017 10:26
corbin wrote: Sunday 10 December 2017 10:54 multiple gateway support is in the beta only
Hi Corbin,
Please see my post below. I got two gateways in my MiHome app, only in domoticz. Devices from both gateways come to domoticz as if it was from one gateway.

This worked on both beta as well as stable versions of domoticz. As far as I could tell, adding a second gateway only has to happen in the MiHome app, nothing needs to be done in Domoticz.

But please let me know in case I'm wrong!
Ahhhh silly me...

It just sees the second Gateway, just as if you would enter a wrong IP/password in the gateway settings. You can see updates when done physically (switch) but not when done from MiHome app. You can also not control the switches from Domoticz.

Is my assumption correct that this setup would work for window sensors, temperature sensors and motion detectors? And then lights/switches on the gateway that is added to Domoticz?
hello,
in first place, sorry for my poor english. is not my natural languaje.

In the past I tried to connect a second gateway to domoticz adding this as "aditional gateway" this not works because only one gateway works.
After this i connect a second domoticz and this second gateway connected in the second domoticz. apears duplicate sensor and was a kaos. :-O
After this i connect a second gateway in a second subnet and configure one as slave and one as master. This works fine, not perfect but fine.

Your idea is connect the second gateway at wifi and configure it in my home. no more? with this the sensor works??? :-O

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

Posted: Tuesday 12 December 2017 22:20
by jelleeelco
mvveelen wrote: Tuesday 12 December 2017 20:55 Anyone who has a link to a Xiaomi wall switch which I can use to switch a light with (220V) and which sends a signal to the gateway AND which I can use in Europe in a regular flush-mounted box (about 76mm diameter) ? I see some switches, but they don't seem to fit in the Dutch boxes I think.
Hi,

I bought one and tried to build it in: doesn't work. It simply does not fit. There is no xiaomi switch that fits in the Dutch boxes, don't waist your money.

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

Posted: Tuesday 12 December 2017 22:25
by jelleeelco
DAVIZINHO wrote: Tuesday 12 December 2017 22:12
jelleeelco wrote: Tuesday 12 December 2017 10:57
jelleeelco wrote: Tuesday 12 December 2017 10:26

Hi Corbin,
Please see my post below. I got two gateways in my MiHome app, only in domoticz. Devices from both gateways come to domoticz as if it was from one gateway.

This worked on both beta as well as stable versions of domoticz. As far as I could tell, adding a second gateway only has to happen in the MiHome app, nothing needs to be done in Domoticz.

But please let me know in case I'm wrong!
Ahhhh silly me...

It just sees the second Gateway, just as if you would enter a wrong IP/password in the gateway settings. You can see updates when done physically (switch) but not when done from MiHome app. You can also not control the switches from Domoticz.

Is my assumption correct that this setup would work for window sensors, temperature sensors and motion detectors? And then lights/switches on the gateway that is added to Domoticz?
hello,
in first place, sorry for my poor english. is not my natural languaje.

In the past I tried to connect a second gateway to domoticz adding this as "aditional gateway" this not works because only one gateway works.
After this i connect a second domoticz and this second gateway connected in the second domoticz. apears duplicate sensor and was a kaos. :-O
After this i connect a second gateway in a second subnet and configure one as slave and one as master. This works fine, not perfect but fine.

Your idea is connect the second gateway at wifi and configure it in my home. no more? with this the sensor works??? :-O
Correct. Remember, in wiki it clearly states that even if your ip adres or password is wrong, it will still receive input.from the gateway. Same as for a second one: not even added to domoticz, but one your network..... Domoticz will receive all updates. I have a second one added like that to MiHome without changing anything in domoticz and all the sensors work (even wireless switches work).

After last night though (added second domoticz) nothing worked, wife angry and now getting rid.of it all. Back to manual switching the.lights!

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

Posted: Tuesday 12 December 2017 22:41
by mvveelen
jelleeelco wrote: Tuesday 12 December 2017 22:20
mvveelen wrote: Tuesday 12 December 2017 20:55 Anyone who has a link to a Xiaomi wall switch which I can use to switch a light with (220V) and which sends a signal to the gateway AND which I can use in Europe in a regular flush-mounted box (about 76mm diameter) ? I see some switches, but they don't seem to fit in the Dutch boxes I think.
Hi,

I bought one and tried to build it in: doesn't work. It simply does not fit. There is no xiaomi switch that fits in the Dutch boxes, don't waist your money.
Thanks. So, partly dismantling the switch also didn't help? Then I have to look for another solution for my 'problem'.

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

Posted: Tuesday 12 December 2017 22:53
by jelleeelco
Nope, keeps on coming back

Edit: I meant that for a different question. No you can't modify the switch, you'll break it.

I used a "opbouw" box but not very elegant.

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

Posted: Wednesday 13 December 2017 12:27
by DAVIZINHO
jelleeelco wrote: Tuesday 12 December 2017 22:25
DAVIZINHO wrote: Tuesday 12 December 2017 22:12
jelleeelco wrote: Tuesday 12 December 2017 10:57

Ahhhh silly me...

It just sees the second Gateway, just as if you would enter a wrong IP/password in the gateway settings. You can see updates when done physically (switch) but not when done from MiHome app. You can also not control the switches from Domoticz.

Is my assumption correct that this setup would work for window sensors, temperature sensors and motion detectors? And then lights/switches on the gateway that is added to Domoticz?
hello,
in first place, sorry for my poor english. is not my natural languaje.

In the past I tried to connect a second gateway to domoticz adding this as "aditional gateway" this not works because only one gateway works.
After this i connect a second domoticz and this second gateway connected in the second domoticz. apears duplicate sensor and was a kaos. :-O
After this i connect a second gateway in a second subnet and configure one as slave and one as master. This works fine, not perfect but fine.

Your idea is connect the second gateway at wifi and configure it in my home. no more? with this the sensor works??? :-O
Correct. Remember, in wiki it clearly states that even if your ip adres or password is wrong, it will still receive input.from the gateway. Same as for a second one: not even added to domoticz, but one your network..... Domoticz will receive all updates. I have a second one added like that to MiHome without changing anything in domoticz and all the sensors work (even wireless switches work).

After last night though (added second domoticz) nothing worked, wife angry and now getting rid.of it all. Back to manual switching the.lights!
Great! i will try.
How is fast in notify the events the second gateway. instant like the first?

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

Posted: Wednesday 13 December 2017 12:31
by jelleeelco
Yes, instant

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

Posted: Wednesday 13 December 2017 12:40
by DAVIZINHO
jelleeelco wrote: Wednesday 13 December 2017 12:31 Yes, instant
perfect! thanks

This weekend i will configure it

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

Posted: Thursday 14 December 2017 7:50
by welby
Any tips on how to add a motion sensor? Just received a motion sensor and another 2 door switches which domoticz has added no worries but it won't see the motion sensor.

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

Posted: Thursday 14 December 2017 8:11
by madrian
upgrade to beta

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

Posted: Thursday 14 December 2017 10:09
by DAVIZINHO
welby wrote: Thursday 14 December 2017 7:50 Any tips on how to add a motion sensor? Just received a motion sensor and another 2 door switches which domoticz has added no worries but it won't see the motion sensor.
the motion sensor aqara only works in beta :-(

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

Posted: Friday 15 December 2017 16:33
by Andree
jelleeelco wrote: Tuesday 12 December 2017 22:25
DAVIZINHO wrote: Tuesday 12 December 2017 22:12
jelleeelco wrote: Tuesday 12 December 2017 10:57

Ahhhh silly me...

It just sees the second Gateway, just as if you would enter a wrong IP/password in the gateway settings. You can see updates when done physically (switch) but not when done from MiHome app. You can also not control the switches from Domoticz.

Is my assumption correct that this setup would work for window sensors, temperature sensors and motion detectors? And then lights/switches on the gateway that is added to Domoticz?
hello,
in first place, sorry for my poor english. is not my natural languaje.

In the past I tried to connect a second gateway to domoticz adding this as "aditional gateway" this not works because only one gateway works.
After this i connect a second domoticz and this second gateway connected in the second domoticz. apears duplicate sensor and was a kaos. :-O
After this i connect a second gateway in a second subnet and configure one as slave and one as master. This works fine, not perfect but fine.

Your idea is connect the second gateway at wifi and configure it in my home. no more? with this the sensor works??? :-O
Correct. Remember, in wiki it clearly states that even if your ip adres or password is wrong, it will still receive input.from the gateway. Same as for a second one: not even added to domoticz, but one your network..... Domoticz will receive all updates. I have a second one added like that to MiHome without changing anything in domoticz and all the sensors work (even wireless switches work).

After last night though (added second domoticz) nothing worked, wife angry and now getting rid.of it all. Back to manual switching the.lights!
Hi man,can you explain step by step how i can add a second gateway please?update after update i'm not sure witch solution work fine!

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

Posted: Saturday 16 December 2017 22:41
by corbin
jelleeelco wrote: Tuesday 12 December 2017 10:57 Is my assumption correct that this setup would work for window sensors, temperature sensors and motion detectors? And then lights/switches on the gateway that is added to Domoticz?
Yes you are correct, for only reading the values of sensors the 2nd gateway shouldn't need to be added to Domoticz. The only benefit of adding the 2nd gateway in Domoticz is that you can control the gateway light and sounds (but not the mp3) from Domoticz.

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

Posted: Saturday 16 December 2017 22:46
by corbin
Andree wrote: Friday 15 December 2017 16:33 Hi man,can you explain step by step how i can add a second gateway please?update after update i'm not sure witch solution work fine!
Do the steps in the wiki not work for you? I've used a new Domoticz install and adding 2 gateways worked for me.

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

Posted: Sunday 17 December 2017 10:34
by welby
madrian wrote: Thursday 14 December 2017 8:11 upgrade to beta
Of course thanks for the tip working great now 8-) 8-)

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

Posted: Monday 18 December 2017 14:43
by Schorschi
Hello,

is it possible to get direct access to sensor data over JSON command?

For example i want read the state of an Door Switch directly from the Xiaomi Gateway with an LUA script.

Thx

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

Posted: Tuesday 19 December 2017 12:45
by snadwich
Maybe a good place to post here, i made a youtube review of the Gateway and some different sensors. Have fun!

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

Posted: Friday 22 December 2017 16:46
by raffiq78
Hello.
I dont know if it is only my problem but after last path (few days ago) Aquara Wall Switches stopped to work. When I click them in domoticz to turn them on they seems like turning on but the light stays OFF :(
Please fix it...

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

Posted: Saturday 23 December 2017 21:46
by corbin
wall switches still working here. did you apply the latest gateway update? I haven't on mine.

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

Posted: Saturday 23 December 2017 21:51
by corbin
Schorschi wrote: Monday 18 December 2017 14:43 Hello,

is it possible to get direct access to sensor data over JSON command?

For example i want read the state of an Door Switch directly from the Xiaomi Gateway with an LUA script.

Thx
should be possible from LUA, see https://louiszl.gitbooks.io/lumi-gateway-local-api

eg send a read request to your gateway IP on port 9898:

Code: Select all

{"cmd":"read"","sid":"158d000111eed3"}