Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

borewicz
Posts: 8
Joined: Friday 18 August 2017 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

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

Post by borewicz »

When I update Xiaomi Gateway to 1.4.1_150.0143 turning ON/OFF light via Domoticz stop working. How to resolve problem ?
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Stanleyk »

borewicz wrote: Thursday 19 October 2017 10:40 When I update Xiaomi Gateway to 1.4.1_150.0143 turning ON/OFF light via Domoticz stop working. How to resolve problem ?
Try to check xiaomi network password. In my case help me to change it with stop acces (not only change pass):
switch off communication protocol, confirm, switch it on (this change pass), confirm and change pass in domoticz
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Stanleyk »

Sometimes domoticz not log door sensor. in mihome app is log ok , all opens and all closes. have somebody same problem ?
I use door contact also for switch on light, but sometimes not work :-(
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 »

Andree wrote: Wednesday 18 October 2017 12:41 The problem is that: since I added the second smart plugs (connected to the first one) sometimes they do not respond and the lights and sounds of the two Gateway almost never work.
Thx
Try setting up from scratch on a new system? I've just followed the steps in the wiki on Windows and Raspberry Pi, and both gateways responded to commands 100% of the time I tried.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
borewicz
Posts: 8
Joined: Friday 18 August 2017 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

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

Post by borewicz »

Stanleyk wrote: Thursday 19 October 2017 13:50
borewicz wrote: Thursday 19 October 2017 10:40 When I update Xiaomi Gateway to 1.4.1_150.0143 turning ON/OFF light via Domoticz stop working. How to resolve problem ?
Try to check xiaomi network password. In my case help me to change it with stop acces (not only change pass):
switch off communication protocol, confirm, switch it on (this change pass), confirm and change pass in domoticz
It works, thx. :)
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

Luigi87 wrote: Wednesday 11 October 2017 11:38 Are there here more with problems in the voltage feedback from the Xiaomi devices?
From 9-10-2017 in am not getting updates on the voltage sensors. ( I have done an update to the latest beta that evening)
(an soft reset of the Gateway has not fixed it).

I am running the beta: 3.8563

and firmware on the gateway:
Version code: 149
Zigbee: 20
Fw_ver: 1.4.1_150

Maybe they are some ideas here to fix this.
Running Beta 3.8590 at the moment and my Xiaomi LUX sensor (gateway) and also all voltage sensors aren't updated anymore. Is there a fix for this? I already read that removing and adding the Xiaomi gateway doesn't resolve the issue.

Anyone ?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
robertje221
Posts: 14
Joined: Friday 18 November 2016 8:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by robertje221 »

I am running domoticz and the aqara/xiaomi gateway was running ok untill today.
I tried to add the xiaomi gateway but i think there is a problem i cant explain

when i add the gateway i fill in Remote Address: 192.168.2.3
but when i see the log, it says
2017-10-22 20:11:42.392 XiaomiGateway: will listen on 9898 for hardware id 3
2017-10-22 20:11:42.392 XiaomiGateway: Delaying worker startup...
2017-10-22 20:11:47.393 XiaomiGateway: Worker started...
2017-10-22 20:11:47.393 XiaomiGateway: Using 192.168.2.1 for local IP address.

no sensors are visible after adding.
192.168.2.1 is the ip addrss of domoticz


is it correct the log says XiaomiGateway: Using 192.168.2.1 for local IP address.
shouldnt it be 192.168.2.3????
Derik
Posts: 1601
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 »

Set your ip for the gateway static in your modem/router...
And add that ip in domoticz xiaomi hardware
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
robertje221
Posts: 14
Joined: Friday 18 November 2016 8:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by robertje221 »

i already set the 192.168.2.3 / xiaomi gateway IP as static

But no matter which IP i fill in in domoticz, it always says XiaomiGateway: Using 192.168.2.1 for local IP address.
terrorsource
Posts: 67
Joined: Wednesday 10 May 2017 17:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by terrorsource »

I've bought a few Aqara Human Body Sensors v2(with the stand and lux-meter). Added them to the Xiaomi Home Gateway but they won't show up in Domoticz.

Looks like Domoticz doesn't suppor this version yet. this is what i see in the logs:
2017-10-22 22:53:54.849 XiaomiGateway: unhandled model: sensor_motion.aq2
2017-10-22 22:53:54.856 XiaomiGateway: unhandled model: sensor_motion.aq2

Anything i can do to get these things working? file a bug-report on github or what?
mayyam
Posts: 47
Joined: Saturday 14 January 2017 11:29
Target OS: Linux
Domoticz version: 4.11333
Location: Poland
Contact:

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

Post by mayyam »

Get the newer beta for pir to work.


_______________
- Dell FX-160 / Ubuntu 16.04
- RFLink 433Mhz / NRF 2.4GHz
- 2x Xiaomi Gateway
- different species of ESP8266
Shred
Posts: 5
Joined: Monday 23 October 2017 0:33
Target OS: Linux
Domoticz version:
Contact:

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

Post by Shred »

Does anyone else have issues with contact bounce on the Aqara door/window sensor?

I have a few of the door/window sensors. When a door - particularly a sliding door like a garage door opens or closes slowly, the device sends Domoticz a number of off/on/off events within a second or so. In a perfect world, this would be filtered out in the Xiaomi hardware - but that's not happening. What is the best way to "debounce" the switch in software, so I don't get bombarded with multiple notifications for a single event?

I've tried setting "on delay" and "off delay", but these just hold up the series of messages - there's no sanity checking. I guess I could write a LUA script, but it seems like a lot of messing around to implement switch debouncing.

[EDIT] here's a copy/paste of the log from a door opening, then closing this morning:
2017-10-23 07:32:49 On
2017-10-23 07:32:49 Off
2017-10-23 07:32:49 On

2017-10-23 07:34:45 Off
2017-10-23 07:34:46 On
2017-10-23 07:34:46 Off
terrorsource
Posts: 67
Joined: Wednesday 10 May 2017 17:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by terrorsource »

Omg, it's was too late on the evening when i posted the above. I've now updated Domoticz as mentioned a few posts before and the Aqara Human Body Sensors are now seen by Domoticz.
PIR is, Lux/Voltage isnt yet but maybe i need to press the side-button a few times to get those working too.
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 »

robertje221 wrote: Sunday 22 October 2017 20:24 is it correct the log says XiaomiGateway: Using 192.168.2.1 for local IP address.
shouldnt it be 192.168.2.3????
Local IP should be the IP that Domoticz is running on, so that is OK. Was it working previously and then stopped? Did you change something on your network configuraiton?
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 »

Shred wrote: Monday 23 October 2017 0:47 Does anyone else have issues with contact bounce on the Aqara door/window sensor?
Are you using the newer square Aqara sensors? I have the original sensors on sliding doors and haven't noticed this problem.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Shred
Posts: 5
Joined: Monday 23 October 2017 0:33
Target OS: Linux
Domoticz version:
Contact:

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

Post by Shred »

Yes. I have the newer squared off door switches. I bought three and all behave in the same manner.
phoxy84
Posts: 3
Joined: Wednesday 18 October 2017 16:13
Target OS: OS X
Domoticz version:
Contact:

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

Post by phoxy84 »

deennoo wrote: Tuesday 05 September 2017 18:07 Have a look to https://github.com/rytilahti/python-mirobo

That tje n'est python lib to drive Xiaomi wifi device, dev are working hard and add new device/function every day. I manage to drive my Xiaomi Philips ball led with this.

Python plugin for robot vaccum use the same lib (an older version) his way to run looks the best one, just need to be adapted for other device.
I can't find to control my Xiaomi Philips lights with Domoticz, I have the IP and the token, what is the next step? I allready have the python mirobo installed and can fire up the vacuum with domoticz. Next step are my lights :), any help?
Last edited by phoxy84 on Wednesday 25 October 2017 8:36, edited 1 time in total.
robertje221
Posts: 14
Joined: Friday 18 November 2016 8:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by robertje221 »

corbin wrote: Monday 23 October 2017 10:14
robertje221 wrote: Sunday 22 October 2017 20:24 is it correct the log says XiaomiGateway: Using 192.168.2.1 for local IP address.
shouldnt it be 192.168.2.3????
Local IP should be the IP that Domoticz is running on, so that is OK. Was it working previously and then stopped? Did you change something on your network configuraiton?
yes the router was reset by the ISP. after that, the gateway was working normally and just after a firmware upgrade of the gateway it suddenly stopped.

Maybe it is the best to reset the gateway?
kmccor
Posts: 13
Joined: Sunday 20 March 2016 23:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by kmccor »

Hi, I get a battery low warning from one of my Xiaomi temp sensors, even though it's not that old and the temp/humidy battery level on the same device is showing 80%.

Image

Is anyone else experiencing this and if so is there a fix? It changes state as well, the temp/hum is currently not showing any battery level and temp is showing 100%?? I have tried removing and re-adding the device from Domoticz and the Xiaomi gateway a few times to no avail.

Cheers
Karl
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

No fix yet for the battery status in the Beta version of Domoticz? Anyone?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests