Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

jjnj

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

Post by jjnj »

thps wrote:
thps wrote:my gateway freezes about 4-5 times a day so i had to plug it out and in again.
Does anybody has the same issues with it?
any ideas?
You can also try a different wifi network, maybe it doesn't freeze but just looses connection?
jjnj

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

Post by jjnj »

Good news everyone, I just connected device 31 to the gateway, all are still active. It seems the limit isn't 30 :)
thps
Posts: 19
Joined: Monday 26 September 2016 8:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by thps »

jjnj wrote:
thps wrote:
thps wrote:my gateway freezes about 4-5 times a day so i had to plug it out and in again.
Does anybody has the same issues with it?
any ideas?
You can also try a different wifi network, maybe it doesn't freeze but just looses connection?
mmh, the button on the gateway is even not working at this time.

My "solution" is to a lua script to turn an 433mhz plug off an on if the gateway isnt reachable. omg...
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

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

Post by Mat2Vence »

corbin wrote:
Mat2Vence wrote: Yep.. looks like I have some switches that did appear..
So you have removed ALL the duplicates, and still have problems with device updates?
I did reinitialize everything... it's fine now. The only point is now that the name given within the Xiaomi Apps is no longer propagated to Domoticz. Better install things one after one ;)
bertbigb
Posts: 147
Joined: Thursday 13 August 2015 13:36
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: Netherlands
Contact:

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

Post by bertbigb »

Hi everyone,

I hope someone can help me with the following problem:

I have a Xiaomi Gateway installed.
As you can see in the image the version of the software is 1.3.1_140 and it is also connected to the several devices.
IMG_3135.PNG
IMG_3135.PNG (284.73 KiB) Viewed 3348 times

This is my setup for Domoticz
Xiaomi - Domoticz.png
Xiaomi - Domoticz.png (12.83 KiB) Viewed 3348 times
But I don’t see any device in Domoticz occurring

When I inspect the network traffic with Wireshark I see only UDP traffic from 192.168.1.180 port 9966 to 255.255.255.255 port 8875
traffic port 9966 - 8875.jpg
traffic port 9966 - 8875.jpg (366.77 KiB) Viewed 3348 times
(screenshot from different setup so other source ip number, but result stays)

What I learned from people who have this working I should see UDP traffic from 192.168.1.180 port 4321 to 224.0.0.50 port 9898

I really hope someone can help me with this issue.
Best regards Bert

Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
derrij
Posts: 14
Joined: Friday 30 December 2016 12:14
Target OS: Linux
Domoticz version:
Contact:

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

Post by derrij »

bertbigb wrote:Hi everyone,
I really hope someone can help me with this issue.
try

Code: Select all

route add -net 224.0.0.0 netmask 224.0.0.0 br0

or

Code: Select all

route add -net 224.0.0.0 netmask 224.0.0.0 ra0

on router
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

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

Post by bing69 »

bertbigb wrote:Hi everyone,

I hope someone can help me with the following problem:

I have a Xiaomi Gateway installed.
As you can see in the image the version of the software is 1.3.1_140 and it is also connected to the several devices.
IMG_3135.PNG

This is my setup for Domoticz
Xiaomi - Domoticz.png

But I don’t see any device in Domoticz occurring

When I inspect the network traffic with Wireshark I see only UDP traffic from 192.168.1.180 port 9966 to 255.255.255.255 port 8875
traffic port 9966 - 8875.jpg
(screenshot from different setup so other source ip number, but result stays)

What I learned from people who have this working I should see UDP traffic from 192.168.1.180 port 4321 to 224.0.0.50 port 9898

I really hope someone can help me with this issue.
Maybe udp on the Pi off
Try:
iptables -P OUTPUT ACCEPT
iptables -I INPUT -p udp -j ACCEPT
bertbigb
Posts: 147
Joined: Thursday 13 August 2015 13:36
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: Netherlands
Contact:

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

Post by bertbigb »

Hi Everyone,

I finally found out what was wrong in my case

As I wrote I was working with 1.3.1_140 as firmware and it told me also it was up to date.
Yesterday I was playing with the app and because it had a lot of chines I couldn't read all.
But at a certain moment I found that it could set the locale to china mainland and then it moved forward.

Code: Select all

(I forgot to make screenshots so I can't share the info where and how I did it with the community, but when someone else has the problem send me a PM and maybe I can help further)

I could update to version 1.4.1_143, after doing so, a lot of chinese turned into English (still some Chinese in the app :D )
I put it in developer mode again (also a good description in https://github.com/lazcad/homeassistant how to do that)
Filled in the new password in domoticz agaian, disabled and enabled the hardware and voila there were my devices.

and now it works!!!!

So everyone thanks for your all the help!
Especially Corbin who put in a lot of private time to help and guide me to make it work. I learned a lot!
Best regards Bert

Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
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 »

Derik wrote:Uhm.. sorry

Only i see a hack different like a lan ip web gui...

Then my boards messages are bad .
So sorry
Thanks for your info


Is there some one that has this hack working? Can i brick with this hack?

This is my Camera:
http://www.banggood.com/Xiaomi-XiaoFang ... mds=search
I just release a hack about this cam, got jpg strem for domoticz !

more here : http://domo-attitude.fr/camera-xiaomi-x ... cz-jeedom/
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

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

Post by Derik »

Dear Deennoo looks promissing..
Only is it perhaps possible that the image is not working/broken? .. Deamontools says damage.. :-(
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
mKotek
Posts: 68
Joined: Wednesday 30 December 2015 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

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

Post by mKotek »

Derik wrote:Dear Deennoo looks promissing..
Only is it perhaps possible that the image is not working/broken? .. Deamontools says damage.. :-(
I have downloaded the image from Deennoo and can open it in Image Writer. I have calculated MD5 hash, so we can be sure if the image is correct. Deennoo, will you provide your MD5 hash? Mine is 478c5d12fe8a4e711777a6267823b43e
I wouldn't rely on Daemon Tools here though.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

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

Post by bing69 »

Thanks to the help of Corbin operates the gateway and two magnetswitches! Thanks for that!
However, I have a few questions:
The gateway Domoticz only indicates the lamp , are there more devices in the default gateway?
Can I switch the gateway lamp, if I do it with the app on the iPhone I can see that state change in domoticz. If I switch from domoticz the light does nothing (status changed though)
Can I switch the alarm on the gateway from domoticz?
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 »

Derik wrote:Dear Deennoo looks promissing..
Only is it perhaps possible that the image is not working/broken? .. Deamontools says damage.. :-(
Use win32diskimager
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
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 »

mKotek wrote:
Derik wrote:Dear Deennoo looks promissing..
Only is it perhaps possible that the image is not working/broken? .. Deamontools says damage.. :-(
I have downloaded the image from Deennoo and can open it in Image Writer. I have calculated MD5 hash, so we can be sure if the image is correct. Deennoo, will you provide your MD5 hash? Mine is 478c5d12fe8a4e711777a6267823b43e
I wouldn't rely on Daemon Tools here though.
I didn't get it...how to ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
juzx
Posts: 16
Joined: Thursday 23 March 2017 14:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by juzx »

Anyone knows anything about progress on the Mi Socket Wi-Fi and how to control this within Domoticz or even without the Mi application?
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 »

juzx wrote:Anyone knows anything about progress on the Mi Socket Wi-Fi and how to control this within Domoticz or even without the Mi application?
Please provid a source who explain how to do this...probleme is here no way to get it on domoticz if there is no source to begin something.

Maybe hack who works for Mi Robot Vaccum Cleaner can work.

Search on this topic
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

Hi corbin. Since version 3.7xxx, the Smart Plug does not work.
Goes spontaneously to the "off" state after a few minutes.
Today's update from the https://github.com/corbinmunce/domoticz did not fix the problem.
Spoiler: show
1.png
1.png (15.57 KiB) Viewed 3054 times
2.png
2.png (41.27 KiB) Viewed 3054 times
Spoiler: show

Code: Select all

2017-03-23 16:40:32.869 User: ..... initiated a switch command (97/Xiaomi Smart Plug/On)
2017-03-23 16:40:33.019 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 16:41:49.250 User: ..... initiated a switch command (97/Xiaomi Smart Plug/Off)
2017-03-23 16:41:49.400 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 16:42:00.239 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":10530,"data":"{\"status\":\"off\",\"inuse\":\"0\"}"}
2017-03-23 16:42:04.948 User: ..... initiated a switch command (97/Xiaomi Smart Plug/On)
2017-03-23 16:42:05.098 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 16:49:01.206 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":10530,"data":"{\"status\":\"off\",\"inuse\":\"0\"}"}
2017-03-23 16:52:05.745 User: ..... initiated a switch command (97/Xiaomi Smart Plug/On)
2017-03-23 16:52:05.895 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 16:55:27.154 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 16:55:27.167 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":10530,"data":"{\"status\":\"off\",\"inuse\":\"0\"}"}
2017-03-23 16:56:54.692 User: ..... initiated a switch command (97/Xiaomi Smart Plug/On)
2017-03-23 16:56:54.842 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 17:01:40.198 (Xiaomi) Light/Switch (Xiaomi Smart Plug)
2017-03-23 17:01:40.214 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":10530,"data":"{\"status\":\"off\",\"inuse\":\"0\"}"}
Neutrino
Posts: 21
Joined: Sunday 08 May 2016 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: France
Contact:

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

Post by Neutrino »

Hi everyone,
Since version 3.7xxx, on a totally new fresh install, the cube and the wireless switch didn't update... Only once on the first detect.
Btw, the gateway, the motion sensor and the door sensor are ok.
xbox2610
Posts: 11
Joined: Thursday 23 March 2017 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Rome - Italy
Contact:

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

Post by xbox2610 »

Hello everyone I am a new user of the forum and I have a problem with xiaomi button switch after the beta update (V3.7115) detect only a position (Click) before the 'renovation work. Thank you
P.Š. Sorry but I'm using a translator
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 »

Neutrino wrote:Hi everyone,
Since version 3.7xxx, on a totally new fresh install, the cube and the wireless switch didn't update... Only once on the first detect.
Btw, the gateway, the motion sensor and the door sensor are ok.
We are on this issue since this morning...beta is beta.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest