Page 15 of 123
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 08 January 2017 23:53
by deennoo
Sevift wrote:Sevift wrote:Xiaomi Mi Robot Vacuum - Is that possible? )
it's possible!
Снимок экрана 2017-01-08 в 21.06.53.png
Great ! via the gateway or something else ?
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 2:30
by jjnj
icibt wrote:WrathfulFab wrote:Update to a beta version? Domoticz or my Gateway?
My domoticz version is 3.6288
My gateway version is 1.4.1_142.0141
Are you installing Domoticz on Windows 10 64bit? If that is the case, you won't see any devices... don't know why. Others have the same problem.
I'm using windows 10 64-bit and I can see everything
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 3:50
by ben53252642
Well I've ordered the Xiaomi Air Purifier 2nd gen with Wifi (which I'll figure out how to integrate into Domoticz) and another 6x motion sensors (making 12 in total now). The Xiaomi motion sensors use the CR2450 coin cell batteries, which only have about 550 - 630 mah capacity which is fascinating considering the Fibaro Gen5 Door/Window sensor has a 1200mah capacity battery and my TKB 4 in 1 motion / door sensors use a 1500mah capacity 123 battery. The Aeotec 2nd gen door / window sensors use a couple of AAA batteries which are usually about 1250mah each so 2500mah total.
Now Zigbee has lower power consumption compared to Z-Wave and considering the Xiaomi motion sensor only does motion...
Has anyone sent the batteries in a Xiaomi motion sensor flat yet? How long did it last?
The good thing about CR2450 is the batteries can be bought for around $0.45 AUD each.
https://www.aliexpress.com/wholesale?ca ... ext=CR2450
Corbin I'd say your guess that they only transit a battery level below a certain threshold is extremely likely, they would be doing everything possible to conserve energy.
Actually I'm going to test it with one of the sensors when I get it by deliberately running down the cell with a 3v motor then putting it in the sensor and seeing what happens.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 9:15
by woody4165
deennoo wrote:Left to get compatibel :
- Magic Cube : playing with this remote is fun !
...
Hi deennoo
Is there any chance to get the Magic Cube work with domoticz?
I've just bought one (waiting for delivery) since the price was very low, and I was wondering to use it with domoticz.
Thanks
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 9:37
by Sevift
deennoo wrote:Sevift wrote:Sevift wrote:Xiaomi Mi Robot Vacuum - Is that possible? )
it's possible!
Снимок экрана 2017-01-08 в 21.06.53.png
Great ! via the gateway or something else ?
Via python script
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 9:52
by jjnj
ben53252642 wrote:Well I've ordered the Xiaomi Air Purifier 2nd gen with Wifi (which I'll figure out how to integrate into Domoticz) and another 6x motion sensors (making 12 in total now). The Xiaomi motion sensors use the CR2450 coin cell batteries, which only have about 550 - 630 mah capacity which is fascinating considering the Fibaro Gen5 Door/Window sensor has a 1200mah capacity battery and my TKB 4 in 1 motion / door sensors use a 1500mah capacity 123 battery. The Aeotec 2nd gen door / window sensors use a couple of AAA batteries which are usually about 1250mah each so 2500mah total.
Now Zigbee has lower power consumption compared to Z-Wave and considering the Xiaomi motion sensor only does motion...
Has anyone sent the batteries in a Xiaomi motion sensor flat yet? How long did it last?
The good thing about CR2450 is the batteries can be bought for around $0.45 AUD each.
https://www.aliexpress.com/wholesale?ca ... ext=CR2450
Corbin I'd say your guess that they only transit a battery level below a certain threshold is extremely likely, they would be doing everything possible to conserve energy.
Actually I'm going to test it with one of the sensors when I get it by deliberately running down the cell with a 3v motor then putting it in the sensor and seeing what happens.
If you get the purifier working on Domoticz i would definitely order one
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 13:21
by deennoo
Sevift wrote:deennoo wrote:Sevift wrote:
it's possible!
Снимок экрана 2017-01-08 в 21.06.53.png
Great ! via the gateway or something else ?
Via python script
Ok ! Can you share it please ?
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 13:22
by deennoo
woody4165 wrote:deennoo wrote:Left to get compatibel :
- Magic Cube : playing with this remote is fun !
...
Hi deennoo
Is there any chance to get the Magic Cube work with domoticz?
I've just bought one (waiting for delivery) since the price was very low, and I was wondering to use it with domoticz.
Thanks
All is done on domoticz side, you/we have to wait for a gateway fw update, as already says previously.
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 13:35
by Sevift
deennoo wrote:Sevift wrote:deennoo wrote:
Great ! via the gateway or something else ?
Via python script
Ok ! Can you share it please ?
I used vereschark to intercept packets.
I do not know whether they will suit you.
Probably everyone has their own packages.
Code: Select all
#!/usr/bin/python
import socket
import sys
import codecs
UDP_IP = '192.168.100.18'
UDP_PORT = 54321
INET_ADDR = (UDP_IP,UDP_PORT)
action = str(sys.argv[1])
massage = "213100500000000002f2c97b5872"
if action == "start":
message_to_send = massage + "2fd096c280746dc2091bad1d30c49ce74da6c88492a5c0e7c427ad0b4ca98c3b08ea35e67b29dddd8624dd1f2ea46ced68fce3c5b7fef8e89eef60b3c777f43a5622"
if action == "pause":
message_to_send = massage + "3080fdc4d67fe6fd048b63eb6d2cee5f285f8fec54c2e3bc5486641ec620bae160e9717af4d17ce3c0265bcb807644dae475bcaaf089391f6f76fa85b31396af3e26"
if action == "home":
message_to_send = massage + "30e4006525a8e0420c337fbc2bfc1741369bb9760685aafe250790ee4ea8bda3aafbdfaa47ae0e8518503530fb72579fe8cf334c6a6fcd4cbc94bfb310f64163a80a"
if action == "find":
message_to_send = massage + "29d24b61f9c826221c4c7a68be606ff324f81fcc282e18fa679d0506e3e805cbfe56323f2dc292f5d609d20782cb6df1abe3b4a9ce062da42e3371126048c2213b3e"
message_to_send = codecs.decode(message_to_send, "hex_codec")
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(message_to_send, INET_ADDR)
- Снимок экрана 2017-01-09 в 13.34.57.png (50.13 KiB) Viewed 11244 times
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 09 January 2017 15:19
by deennoo
Sevift wrote:deennoo wrote:Sevift wrote:
Via python script
Ok ! Can you share it please ?
I used vereschark to intercept packets.
I do not know whether they will suit you.
Probably everyone has their own packages.
Thanks, isn't really for me, but if some one get the robot and can try your script and works, that a good tricks
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 10 January 2017 10:11
by n1c0l45
Sevift wrote:deennoo wrote:Sevift wrote:
Via python script
Ok ! Can you share it please ?
I used vereschark to intercept packets.
I do not know whether they will suit you.
Probably everyone has their own packages.
Code: Select all
#!/usr/bin/python
import socket
XXXX
XXXX
XXXX
sock.sendto(message_to_send, INET_ADDR)
Снимок экрана 2017-01-09 в 13.34.57.png
I should receve my mi robot soon, could you give me some informations to catch packets with wireshark? So that I could check if command are te same?
thanks
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 10 January 2017 13:06
by jjnj
All my compliments to you guys. I installed everything and it works really really well!
Thanks for your hard work.
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 10 January 2017 19:12
by Sevift
n1c0l45 wrote:
I should receve my mi robot soon, could you give me some informations to catch packets with wireshark? So that I could check if command are te same?
thanks
For example, a vacuum cleaner Search
Install BlueStacks on PC (Mac)
Install MiHome app on BlueStacks and connect Mi Robot
- Снимок экрана 2017-01-10 в 18.46.24.png (147.14 KiB) Viewed 11095 times
On MiHome see ip adress Mi Robot
Run vereschark and select interface network PC
- Снимок экрана 2017-01-10 в 18.45.58.png (164.07 KiB) Viewed 11095 times
Run intercept packets
- Снимок экрана 2017-01-10 в 18.47.00.png (185 KiB) Viewed 11095 times
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 10 January 2017 19:21
by Sevift
Click on MiHome search devices
and stop on vereschark intercept packets
search packets ip PC to ip Mi Robot
- Снимок экрана 2017-01-10 в 18.49.44.png (316.97 KiB) Viewed 11090 times
Copy data
- 555.png (338.28 KiB) Viewed 11092 times
Run PacketSender
Paste ip, port, protocol, data
- Снимок экрана 2017-01-10 в 18.54.36.png (117.67 KiB) Viewed 11092 times
And send
If the robot will respond - excellent!
The required package is found
analogously other commands
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 10 January 2017 22:06
by jumping
Hi,
when do you think the Xiaomi Home will be available in Domoticz stable version?
thanks for great job!
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 10 January 2017 22:22
by deennoo
jumping wrote:Hi,
when do you think the Xiaomi Home will be available in Domoticz stable version?
thanks for great job!
When Domoticz dev will decide to publish a new stable version.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 11 January 2017 13:54
by pavelbor
New firmware is available for Gateway 1.4.1_143.0141
Does someone has updated Gateway yet ? Developer mode still exist?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 11 January 2017 13:58
by arkoko
Yes.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 11 January 2017 14:02
by pavelbor
arkoko wrote:Yes.
Is there are any improvements ? Battery level from sensors? Does log file shows something new?
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 11 January 2017 14:26
by n1c0l45
Thanks for your help!!
Great !!
Sevift wrote:n1c0l45 wrote:
I should receve my mi robot soon, could you give me some informations to catch packets with wireshark? So that I could check if command are te same?
thanks
For example, a vacuum cleaner Search
Install BlueStacks on PC (Mac)
Install MiHome app on BlueStacks and connect Mi Robot
Снимок экрана 2017-01-10 в 18.46.24.png
On MiHome see ip adress Mi Robot
Run vereschark and select interface network PC
Снимок экрана 2017-01-10 в 18.45.58.png
Run intercept packets
Снимок экрана 2017-01-10 в 18.47.00.png