Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

levynger
Posts: 87
Joined: Wednesday 21 December 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Israel
Contact:

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

Post by levynger »

@corbin, found some issues with my code, the gateway responses used to forcibly update the first switch always.. (unitcode=1).
modfied the code abit, now seems to work fine.
patches are waiting on your git.

@deennoo - your youtube demonstration just cost me 16$ - made me order the cube.. :lol:
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

levynger wrote:@corbin, found some issues with my code, the gateway responses used to forcibly update the first switch always.. (unitcode=1).
modfied the code abit, now seems to work fine.
patches are waiting on your git.

@deennoo - your youtube demonstration just cost me 16$ - made me order the cube.. Image
Hopping you get it via my link ! ;-)

This need that corbin put a request on mainworker.cpp and been validate by dev, to allow getting svalues for limitless led device, no way without this fonction.

Once done will provied the magic cube lua script.
Last edited by deennoo on Monday 30 January 2017 9:40, edited 1 time in total.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
pikapt
Posts: 37
Joined: Wednesday 25 January 2017 20:54
Target OS: Linux
Domoticz version:
Contact:

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

Post by pikapt »

deennoo wrote:You can set a returne to off by your self using : turn to off timer.
Never thought of using it like this! Awesome thanks!
doelle4
Posts: 13
Joined: Thursday 19 January 2017 16:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by doelle4 »

Newbie with Problems...

Hello i habe setup my Xiaomi Gatey at "Hardware"

Overview shows:

"2017-01-30 00:34:29 ☀▲07:32 ▼16:52
Keine Gerätefavoriten hinzugefügt ... (oder Verbindung verloren!)
Wenn dies Ihr erstes Mal hier ist, bitte Einrichtung vornehmen für Hardware, und binde ein Geräte."

=Chinese Time, Xiaomi Gateway is now right connect or?
But i cant see any Sensor , No Temp or others
What must i do to connect the Sensors ?

Greetings Hans
murtadin
Posts: 62
Joined: Saturday 31 December 2016 15:33
Target OS: Linux
Domoticz version: beta
Contact:

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

Post by murtadin »

doelle4 wrote:Newbie with Problems...

Hello i habe setup my Xiaomi Gatey at "Hardware"

Overview shows:

"2017-01-30 00:34:29 ☀▲07:32 ▼16:52
Keine Gerätefavoriten hinzugefügt ... (oder Verbindung verloren!)
Wenn dies Ihr erstes Mal hier ist, bitte Einrichtung vornehmen für Hardware, und binde ein Geräte."

=Chinese Time, Xiaomi Gateway is now right connect or?
But i cant see any Sensor , No Temp or others
What must i do to connect the Sensors ?

Greetings Hans
Have you checked setup/devices? Can you post your log output? setup/log
joebar
Posts: 35
Joined: Tuesday 24 January 2017 12:19
Target OS: -
Domoticz version:
Contact:

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

Post by joebar »

Maybe a silly question but i can't find it on the web, using Corbin's source now but seeing a lot of (official) beta releases the last days.
Judging by the build number, Corbin's is somewhat changes behind, is there a release note somewhere for the official beta or even a GitHub for the official beta to check?, can only find complied versions, and the what's new in the pop up doesn't display the specific build
joebar
Posts: 35
Joined: Tuesday 24 January 2017 12:19
Target OS: -
Domoticz version:
Contact:

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

Post by joebar »

doelle4 wrote:Newbie with Problems...

Hello i habe setup my Xiaomi Gatey at "Hardware"

Overview shows:

"2017-01-30 00:34:29 Image▲07:32 ▼16:52
Keine Gerätefavoriten hinzugefügt ... (oder Verbindung verloren!)
Wenn dies Ihr erstes Mal hier ist, bitte Einrichtung vornehmen für Hardware, und binde ein Geräte."

=Chinese Time, Xiaomi Gateway is now right connect or?
But i cant see any Sensor , No Temp or others
What must i do to connect the Sensors ?

Greetings Hans
Did you setup anything yet?, if not check devices and let the gateway detect and report the sensors. So with a button, click and see in the log of that sensor is now detected.
If so, it will be in the devices. For the rest follow first use domoticz (sorry if you already did that)
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

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

Post by lamouette »

Hello there,

Does somebody is using the Yeelight Ceiling Light with domoticz ?

Thanks
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 »

lamouette wrote:Hello there,

Does somebody is using the Yeelight Ceiling Light with domoticz ?

Thanks
As there is no special instruction on Yeelight API this have to work as a normal yeelight product

Please use yeelight topic for this : viewtopic.php?t=13016
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

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

Post by lamouette »

Merci :)
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 »

levynger wrote:@corbin, found some issues with my code, the gateway responses used to forcibly update the first switch always.. (unitcode=1).
modfied the code abit, now seems to work fine.
patches are waiting on your git.
Just test this is half ok for me on debian 8.5 :
- Cube rotation is update on device (clock wise and anti clock wise and on text device,

- Dual wired switch appear as 2 singles switchs turning siwtch 1 on/off is ok but turning switch2 to "off" turn off switch1 too


Great job Guys !

Edit : ok didn't see the pull request who solve this issue, waiting for it
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
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 »

There is a problem with some systems that have multiple network adapters, to fix it I need to specify the local IP address to use. But I can't see anyway with the web interface to add a 'local address'. Anyone have an idea for how to get this into Domoticz (I'd rather not add it to the web interface myself)? Deennoo?
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 »

Trying to understand.

exemple :

a rpi 3 got both wifi and ethernet wired ok ?

Xiaomi is on the wifi network created by the RPI or where the PI is connected and ip is 192.168.4.x, ethernet is 192.168.0.x ?

As you set Xiaomi ip adresse on config page, all have to be good, this is to user to create a bridge between his 2 networks.

Domoticz don't manage network at all
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

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

Post by lamouette »

Hi,

Since few days, let's say, this weekend, 3 more devices appeared on my interface (running v3.6561 at the moment) :
Capture.PNG
Capture.PNG (176.36 KiB) Viewed 2179 times
3 light switches which I don't have :?: Any idea :idea: :?:

Other thing, my Wireless switch is only working with the "click" action. "double click" is not working any more.
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 »

deennoo wrote:Trying to understand.

exemple :

a rpi 3 got both wifi and ethernet wired ok ?

Xiaomi is on the wifi network created by the RPI or where the PI is connected and ip is 192.168.4.x, ethernet is 192.168.0.x ?

As you set Xiaomi ip adresse on config page, all have to be good, this is to user to create a bridge between his 2 networks.

Domoticz don't manage network at all
On some systems with multiple adapters it works ok, on others not. I guess it depends on the configuration. But we have confirmed that specifying the adapter to bind to makes it work on at least one of these systems.
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 »

lamouette wrote:Hi,

Since few days, let's say, this weekend, 3 more devices appeared on my interface (running v3.6561 at the moment) :
can you delete all the wireless switches, and see what gets added back in?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

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

Post by lamouette »

Done !
waiting to be back at home to make it coming back :mrgreen:
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 »

restarting the Xiaomi Gateway under hardware in Domoticz should make it scan for the switches straight away
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

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

Post by lamouette »

They are back :ugeek:
Capture.PNG
Capture.PNG (43.76 KiB) Viewed 2153 times
joebar
Posts: 35
Joined: Tuesday 24 January 2017 12:19
Target OS: -
Domoticz version:
Contact:

Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by joebar »

lamouette wrote:They are back :ugeek:
Capture.PNG
I had the same, actually it are no new switches, in the example you mentioned it was the cuisine switch.
I removed the old and rename the new to the old.

To address the click only you mentioned, look if your switch has the click, double click and long click actions (go to the switch page, select that switch and edit).
If so, you need to manually add the long release and place after the long click, make the double click the last position.
It should have : click (10), long click (20), long release (30) and double click (40)
That was changed a week ago or so and those actions where not updated on mine, maybe at yours too
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest