Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

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 »

mvveelen wrote: Sunday 03 December 2017 11:29 How did you come up with this list?
The last two characters are the same

Code: Select all

01586B 9E
597BFF 9E
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 »

Yeah, I see. Well, if that's the case, the combinations are made. And so I could also combine the other Voltage sensors with the Xiaomi switches. Thanks!
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

Yesterday I added new Aquara Body sensor, in the logs I see:

2017-12-03 14:05:13.279 XiaomiGateway: unhandled model: sensor_motion.aq2
2017-12-03 14:05:13.279 {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001643eb2","short_id":5302,"data":"{\"lux\":\"181\"}"}
2017-12-03 14:05:13.287 XiaomiGateway: unhandled model: sensor_motion.aq2
2017-12-03 14:05:13.287 {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001643eb2","short_id":5302,"data":"{\"status\":\"motion\"}"}


...but nothing in the device list. How can I add this device?
glsf91
Posts: 58
Joined: Tuesday 14 November 2017 21:56
Target OS: Linux
Domoticz version:
Contact:

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

Post by glsf91 »

madrian wrote: Sunday 03 December 2017 14:08 Yesterday I added new Aquara Body sensor, in the logs I see:

2017-12-03 14:05:13.279 XiaomiGateway: unhandled model: sensor_motion.aq2
2017-12-03 14:05:13.279 {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001643eb2","short_id":5302,"data":"{\"lux\":\"181\"}"}
2017-12-03 14:05:13.287 XiaomiGateway: unhandled model: sensor_motion.aq2
2017-12-03 14:05:13.287 {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001643eb2","short_id":5302,"data":"{\"status\":\"motion\"}"}


...but nothing in the device list. How can I add this device?
You do need beta version, not stable for this.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

Thank you. I am going to upgrade.
erich
Posts: 4
Joined: Monday 04 December 2017 21:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by erich »

Hi all,

Can anyone please confirm whether the support of 2 xiaomi gateways is still only in beta version or it has been released in the latest stable version?
Thanks a lot
welby
Posts: 36
Joined: Monday 20 November 2017 3:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Australia
Contact:

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

Post by welby »

Great work with this guys just one question about the alarm. I have it working fine but it only plays for around 10 seconds. Any ideas on making it go for longer? I've tried in the MIhome app to change the time but it makes no difference.

Thanks
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

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

Post by koowee »

Hi,

I tried to add Xiaomi GW3 and few temperature and humidity sensors to Domoticz without success. Just to make sure, should this GW3 also work with Domoticz? Only thing I get in the log is following and nothing appears to devices tap (allow new devices activated).

Code: Select all

2017-12-04 22:06:03.423 XiaomiGateway: will listen on 9898 for hardware id 11
2017-12-04 22:06:03.424 XiaomiGateway: Delaying worker startup...
2017-12-04 22:06:08.424 XiaomiGateway: Worker started...
2017-12-04 22:06:08.424 XiaomiGateway: Using 192.168.11.140 for local IP address.
I added these sensors to GW with Xiaomi App before I added GW to Domoticz. In the App sensors are ok and those work as they should. I did also enable LAN and take password etc.

Image
marcotrumpet
Posts: 102
Joined: Saturday 18 February 2017 8:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by marcotrumpet »

Guys, without any reason my round wall switch randomly stop working.. I tried to refresh the xiaomi gateway in the hardware settings, unplug the gateway from the wall, restart domoticz and nothing. Also motion sensor are always triggered. Then, they start working again so I think isn’t a battery problem


Inviato dal mio iPhone utilizzando Tapatalk
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

I still have the question: it is not possible to get actual temperature from sensors on every 10 minute?
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

The temperature+humidity sensor reports with changes over 6% change on humidiy or 0.5 degrees on temperature. This seemed good enough for me, for my heating system, but in the real life, it has some problems for example:

Let’s say you have your heating desired temperature set to 21º, and the last temperature reported by the sensor is 20.9, so the heater is on. Then, at a particular moment in time due to the current climate conditions, it takes 5 minutes to increase 0.1 degree, so to reach 20 degrees, it only takes 5 minutes, but to reach 21.4 that is the point where the sensor senses a 0.5 change and emits a new value, it takes 25 minutes. So there’s an extra 20 minutes of heating that could be avoided just if the sensor could be polled every 5 minutes.
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO »

somebody have the xiaomi IR REMOTE???
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 »

madrian wrote: Thursday 07 December 2017 19:02 I still have the question: it is not possible to get actual temperature from sensors on every 10 minute?
seems to be a limitation of the sensor. the temperature reading can be requested at any time but it will just be the last recorded temp and not the actual temp at time of request.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Emtec
Posts: 5
Joined: Sunday 04 June 2017 13:21
Target OS: Linux
Domoticz version:
Contact:

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

Post by Emtec »

madrian wrote: Let’s say you have your heating desired temperature set to 21º, and the last temperature reported by the sensor is 20.9, so the heater is on. Then, at a particular moment in time due to the current climate conditions, it takes 5 minutes to increase 0.1 degree, so to reach 20 degrees, it only takes 5 minutes, but to reach 21.4 that is the point where the sensor senses a 0.5 change and emits a new value, it takes 25 minutes. So there’s an extra 20 minutes of heating that could be avoided just if the sensor could be polled every 5 minutes.
Theory of regulation has answers for your doubts. I would say it is possible as temperature is slow process. When you identify your system and apply correct parameters of your regulator, system could "predict" your temperature and react in advance. You can choose different discrete regulators type from PID, fuzzy, neuron...


Sent from my iPhone using Tapatalk
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by jelleeelco »

This morning I got a notification for a new firmware. Did anyone update yet? I'm hesitated, after last time when all the single wall switches didn't work anymore...
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by jelleeelco »

Different question. Is anyone using the Smart Plugs? I have two of them and I want to measure the energy consumption. I do see the total and the actual usage, but I can't see the total per time (it's just a number that increases).

So if I want to see for instance the total use for November, I have to go to Report and download the data in excel and do my analyses there. I would like to have it like the DSP-W215 plugs from Dlink (although they break my domoticz after a few hours):

Dlink:
Total DSP-W215.PNG
Total DSP-W215.PNG (43.8 KiB) Viewed 2428 times
This gives me the following option for total view:
DSP-W215.PNG
DSP-W215.PNG (15.88 KiB) Viewed 2428 times
Xiaomi plug I have only one view:
Xiaomi.PNG
Xiaomi.PNG (9.11 KiB) Viewed 2428 times
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by jelleeelco »

So new post as it didn't accept my second picture for Xiaomi... THis is how the Xiaomi looks.
totaal xiaomi.PNG
totaal xiaomi.PNG (22.99 KiB) Viewed 2427 times
I would like to see the same total reported as with the DSP-W215 plugs, so a line that would show the aggregated consumption over a period of time.

Anyone knows if this is possible?
Many thanks in advance,
Rgds
Jelle
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 »

Edit Device "Televisie Verbruik" and set "Energy read" to "Computed"
_______________
- Dell FX-160 / Ubuntu 16.04
- RFLink 433Mhz / NRF 2.4GHz
- 2x Xiaomi Gateway
- different species of ESP8266
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

Emtec wrote: Saturday 09 December 2017 3:43
madrian wrote: Let’s say you have your heating desired temperature set to 21º, and the last temperature reported by the sensor is 20.9, so the heater is on. Then, at a particular moment in time due to the current climate conditions, it takes 5 minutes to increase 0.1 degree, so to reach 20 degrees, it only takes 5 minutes, but to reach 21.4 that is the point where the sensor senses a 0.5 change and emits a new value, it takes 25 minutes. So there’s an extra 20 minutes of heating that could be avoided just if the sensor could be polled every 5 minutes.
Theory of regulation has answers for your doubts. I would say it is possible as temperature is slow process. When you identify your system and apply correct parameters of your regulator, system could "predict" your temperature and react in advance. You can choose different discrete regulators type from PID, fuzzy, neuron...


Sent from my iPhone using Tapatalk
I am using this script:

viewtopic.php?f=59&t=18258

If you have any idea to modify code for a better compatibility with this sensor, let me know.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

I haven't got an answer yet, so I ask again:

1, The barometer sensor is added to the Utilities tab, not to the Weather tab. All my other barometers are in the Weather tab. Is this normal?

2, In the air pressure measurement (Temp/Hum/Baro sensor) the actual air pressure is measured at the location. The output value for the air pressure corresponds to that for the current altitude and current temperature. However, the general air pressure data always refers to the sea level. The value is therefore higher for the sites above sea level. Can you add the possibility to enter the altitude at which the sensor is located and thus calculate and output the air pressure at the sea level?

The formula is:

raw_pressure / pow(1.0 - (altitude/44330.0), 5.255);

References:

http://keisan.casio.com/exec/system/1224575267
https://github.com/letscontrolit/ESPEas ... BME280.ino (bottom)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest