Great ! via the gateway or something else ?Sevift wrote:it's possible!Sevift wrote:Xiaomi Mi Robot Vacuum - Is that possible? )
Снимок экрана 2017-01-08 в 21.06.53.png
Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
-
- 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?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I'm using windows 10 64-bit and I can see everythingicibt wrote: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.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
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
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.
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.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi deennoodeennoo wrote:Left to get compatibel :
- Magic Cube : playing with this remote is fun !
...
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
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- Posts: 31
- Joined: Monday 21 September 2015 16:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Via python scriptdeennoo wrote:Great ! via the gateway or something else ?Sevift wrote:it's possible!Sevift wrote:Xiaomi Mi Robot Vacuum - Is that possible? )
Снимок экрана 2017-01-08 в 21.06.53.png
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
If you get the purifier working on Domoticz i would definitely order oneben53252642 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.
-
- 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?
Ok ! Can you share it please ?Sevift wrote:Via python scriptdeennoo wrote:Great ! via the gateway or something else ?Sevift wrote:
it's possible!
Снимок экрана 2017-01-08 в 21.06.53.png
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- 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?
All is done on domoticz side, you/we have to wait for a gateway fw update, as already says previously.woody4165 wrote:Hi deennoodeennoo wrote:Left to get compatibel :
- Magic Cube : playing with this remote is fun !
...
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
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 31
- Joined: Monday 21 September 2015 16:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I used vereschark to intercept packets.deennoo wrote:Ok ! Can you share it please ?Sevift wrote:Via python scriptdeennoo wrote:
Great ! via the gateway or something else ?
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)
-
- 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?
Thanks, isn't really for me, but if some one get the robot and can try your script and works, that a good tricksSevift wrote:I used vereschark to intercept packets.deennoo wrote:Ok ! Can you share it please ?Sevift wrote:
Via python script
I do not know whether they will suit you.
Probably everyone has their own packages.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 37
- Joined: Monday 25 April 2016 9:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.4834
- Location: France
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
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?Sevift wrote:I used vereschark to intercept packets.deennoo wrote:Ok ! Can you share it please ?Sevift wrote:
Via python script
I do not know whether they will suit you.
Probably everyone has their own packages.
Снимок экрана 2017-01-09 в 13.34.57.pngCode: Select all
#!/usr/bin/python import socket XXXX XXXX XXXX sock.sendto(message_to_send, INET_ADDR)
thanks
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
All my compliments to you guys. I installed everything and it works really really well!
Thanks for your hard work.
Thanks for your hard work.
-
- Posts: 31
- Joined: Monday 21 September 2015 16:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
For example, a vacuum cleaner Searchn1c0l45 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
Install BlueStacks on PC (Mac)
Install MiHome app on BlueStacks and connect Mi Robot On MiHome see ip adress Mi Robot
Run vereschark and select interface network PC Run intercept packets
Last edited by Sevift on Tuesday 10 January 2017 19:22, edited 1 time in total.
-
- Posts: 31
- Joined: Monday 21 September 2015 16:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Click on MiHome search devices
and stop on vereschark intercept packets
search packets ip PC to ip Mi Robot Copy data Run PacketSender
Paste ip, port, protocol, data And send
If the robot will respond - excellent!
The required package is found
analogously other commands
and stop on vereschark intercept packets
search packets ip PC to ip Mi Robot Copy data Run PacketSender
Paste ip, port, protocol, data And send
If the robot will respond - excellent!
The required package is found
analogously other commands
-
- Posts: 14
- Joined: Tuesday 19 July 2016 14:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9227
- Location: Italy
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi,
when do you think the Xiaomi Home will be available in Domoticz stable version?
thanks for great job!
when do you think the Xiaomi Home will be available in Domoticz stable version?
thanks for great job!
Domoticz + Mysensors 2.0 ESP8266 GW + RFlink + Philips Hue 2.0 + Netatmo Thermostat
-
- 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?
When Domoticz dev will decide to publish a new stable version.jumping wrote:Hi,
when do you think the Xiaomi Home will be available in Domoticz stable version?
thanks for great job!
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 35
- Joined: Sunday 18 December 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: LastBeta
- Location: Tallinn / Estonia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
New firmware is available for Gateway 1.4.1_143.0141
Does someone has updated Gateway yet ? Developer mode still exist?
Does someone has updated Gateway yet ? Developer mode still exist?
-
- Posts: 35
- Joined: Sunday 18 December 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: LastBeta
- Location: Tallinn / Estonia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Is there are any improvements ? Battery level from sensors? Does log file shows something new?arkoko wrote:Yes.
-
- Posts: 37
- Joined: Monday 25 April 2016 9:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.4834
- Location: France
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thanks for your help!!
Great !!
Great !!
Sevift wrote:For example, a vacuum cleaner Searchn1c0l45 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
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
Who is online
Users browsing this forum: No registered users and 1 guest