Page 34 of 123

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

Posted: Sunday 05 February 2017 15:13
by brunod
Any issues using the Xiaomi Gateway with Domoticz?
I have some issues using you're tutorial:
https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Adding the Xiaomi Gateway to Domoticz:
In above part, I choose the toggle switch to enable de LAN mode and write down the password. I then click OK in the right bottom area to save the changes. Which I see with an answer to be correct.

After those steps I fill in the new hardware and password in Domoticz and click add (update)
The log file says: XiaomiGateway: Worker started...
And I can see the new hardware in Domoticz.
After those steps nothing happens in Domoticz. No Xiaomi Gateway appears at the devices en no other devices (already connected to the gateway) do appear.

To check my password and settings in the app after that I surprisingly see a new password and no toggled LAN switch! It seems I cannot save the setting in the xiaomi app on my phone.

Do you have any ideas to correct this?

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

Posted: Sunday 05 February 2017 15:32
by levynger
brunod wrote:
Any issues using the Xiaomi Gateway with Domoticz?
I have some issues using you're tutorial:
https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Adding the Xiaomi Gateway to Domoticz:
In above part, I choose the toggle switch to enable de LAN mode and write down the password. I then click OK in the right bottom area to save the changes. Which I see with an answer to be correct.

After those steps I fill in the new hardware and password in Domoticz and click add (update)
The log file says: XiaomiGateway: Worker started...
And I can see the new hardware in Domoticz.
After those steps nothing happens in Domoticz. No Xiaomi Gateway appears at the devices en no other devices (already connected to the gateway) do appear.

To check my password and settings in the app after that I surprisingly see a new password and no toggled LAN switch! It seems I cannot save the setting in the xiaomi app on my phone.

Do you have any ideas to correct this?
Happened to me as well once, make sure the Mi Smart saves the settings by closing the App and reopen..
also, please what is your GW version?

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

Posted: Sunday 05 February 2017 16:29
by brunod
under about it says Version 2.19

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

Posted: Sunday 05 February 2017 16:45
by benj29
Hi,

I'm running on 3.6616 on raspberry. Since the last update (beta), i lost the connection with two gateways V2 (with color band) (which worked since 1 week).
I see the two gateways in my router configuration with the adequate IP (in case of...), 2.40/ 2.165.
Of course, the Xiaomi systems works perfectly on the Xiaomi software and in local.

I see this error on the log :
2017-02-05 16:44:00.644 Error: XIAOMI-GAT1 hardware (9) thread seems to have ended unexpectedly
2017-02-05 16:44:00.644 Error: XIAOMI-GAT2 hardware (10) thread seems to have ended unexpectedly

I see all the sensors, with the last date of connection, one day ago, before the upgrade to the last version.

Any idea ? i've started a new install on a baytrail (because i prefer to use this computer instead of a raspberry for long term use...)

EDIT : I check the error, i suppress one gateway, and i reconfigure the first one and it works !
But i loose all the sensors of the second gateway... humrf ??? How i can access to the second gateway or bridge it ?

EDIT 2 : I remove the LAN support for the second gateway, only one works on 9898. But i can't see the other sensors linked to the previous one since the LAN connection of the second... is it volontary to reduce to only one gateway ? I don't understand because i see two RGB color band in the measurement units, but when i set on/off the rgb band, only one will turn on, which is the adequate gateway (with Lan activation).

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

Posted: Sunday 05 February 2017 21:29
by brunod
Ok I finally got it working:

Trick was to re-install the android app to get the password set and saved for Domoticz.
Domoticz immediately found the Xiaomi Gateway
2017-02-05 21:17:11.043 XiaomiGateway: Worker started...
2017-02-05 21:17:11.047 XiaomiGateway: RGB Gateway Detected
and I was able to bind the detected hardware to a Domoticz light switch.

Now I wait for Domoticz to detect my connected temperature gauges. I hope they will eventually appear.

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

Posted: Sunday 05 February 2017 21:36
by Kayle
Sevift wrote:
Sevift wrote:Xiaomi Mi Robot Vacuum - Is that possible? )
it's possible!

Снимок экрана 2017-01-08 в 21.06.53.png
Hello Sevift,

did you manage also to get the actual Battery Level or cleaning time ?

Greetings Kay

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

Posted: Monday 06 February 2017 8:17
by corbin
benj29 wrote:Hi,

I'm running on 3.6616 on raspberry. Since the last update (beta), i lost the connection with two gateways V2 (with color band) (which worked since 1 week).
I see the two gateways in my router configuration with the adequate IP (in case of...), 2.40/ 2.165.
Of course, the Xiaomi systems works perfectly on the Xiaomi software and in local.

I see this error on the log :
2017-02-05 16:44:00.644 Error: XIAOMI-GAT1 hardware (9) thread seems to have ended unexpectedly
2017-02-05 16:44:00.644 Error: XIAOMI-GAT2 hardware (10) thread seems to have ended unexpectedly

I see all the sensors, with the last date of connection, one day ago, before the upgrade to the last version.

Any idea ? i've started a new install on a baytrail (because i prefer to use this computer instead of a raspberry for long term use...)

EDIT : I check the error, i suppress one gateway, and i reconfigure the first one and it works !
But i loose all the sensors of the second gateway... humrf ??? How i can access to the second gateway or bridge it ?

EDIT 2 : I remove the LAN support for the second gateway, only one works on 9898. But i can't see the other sensors linked to the previous one since the LAN connection of the second... is it volontary to reduce to only one gateway ? I don't understand because i see two RGB color band in the measurement units, but when i set on/off the rgb band, only one will turn on, which is the adequate gateway (with Lan activation).
Only a single gateway is supported in Domoticz. In older Beta versions I would have expected it to stop working as you are currently seeing with each thread crashing. But with the current Beta, it should not be starting at all and instead displaying "XiaomiGateway: Only one Xiaomi Gateway is supported, please remove any duplicates from Hardware"

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

Posted: Monday 06 February 2017 8:45
by benj29
Thanks Corbin for your return.
But how i can add other sensors linked to the second gateway ?

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

Posted: Monday 06 February 2017 9:19
by corbin
benj29 wrote:Thanks Corbin for your return.
But how i can add other sensors linked to the second gateway ?
I don't have 2 gateways so haven't observed how it would work. Can you put everything on one gateway?

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

Posted: Monday 06 February 2017 9:22
by benj29
No i can't due to the surface of my house and of course number of sensors (near 40 !).
I don't remember exactly but there is a limitation of max sensor / gateway.

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

Posted: Monday 06 February 2017 9:29
by corbin
Did you hit the sensor limit? I'd like to know what it is, have 17 so far with a few more to go yet. Also do you have the power plugs as they are supposed to be range extenders?

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

Posted: Monday 06 February 2017 9:38
by deennoo
corbin wrote: Only a single gateway is supported in Domoticz.
No way to get 2 or more ?

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

Posted: Monday 06 February 2017 10:41
by benj29
corbin wrote:Did you hit the sensor limit? I'd like to know what it is, have 17 so far with a few more to go yet. Also do you have the power plugs as they are supposed to be range extenders?
I can try, but 2 gateways are very pratical (red color for alarm) etc... i will try !

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

Posted: Monday 06 February 2017 11:13
by corbin
deennoo wrote: No way to get 2 or more ?
Well if someone programs it, yes there is no reason why there can't be 2 or more. I have no desire to program it myself.

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

Posted: Monday 06 February 2017 13:38
by benj29
Hurmf, in other case, if it does not working with the two gateways, i need to use Jeedom or other softwares... :(

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

Posted: Monday 06 February 2017 16:33
by Sevift
Kayle wrote:
Hello Sevift,

did you manage also to get the actual Battery Level or cleaning time ?

Greetings Kay
Hello.
No. To do this, we must be able to decrypt the packets.

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

Posted: Monday 06 February 2017 19:11
by deennoo
benj29 wrote:Hurmf, in other case, if it does not working with the two gateways, i need to use Jeedom or other softwares... :(
And paid 6€ for a plugin who is on beta stage, and who got an update every day, good deal !

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

Posted: Monday 06 February 2017 19:21
by benj29
Not sure to understand. Jeedom plug-in is in beta? Yes, same nightmare in this case lol!

I try to remove all my sensors from the second gateway to add on the first one, but I cannot add more than 31...

Envoyé de mon Moto G (4) en utilisant Tapatalk

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

Posted: Monday 06 February 2017 21:05
by deennoo
benj29 wrote:Not sure to understand. Jeedom plug-in is in beta? Yes, same nightmare in this case lol!

I try to remove all my sensors from the second gateway to add on the first one, but I cannot add more than 31...

Envoyé de mon Moto G (4) en utilisant Tapatalk
I got your solution !

Add a second domoticz+rpi/syno or anything else for the 2nd gateway and use the domoticz slave system to add the 2nd gateway hardware to your main

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

Posted: Monday 06 February 2017 21:15
by benj29
Hehe !!!! :)
Good idea ! :)
I have a raspberry pi3, free of charge, because i move my installation to another Baytrail, more reliable :) !!!!
Now, i need to add all my sensors again... but if your idea will works it, it is perfect !