Xiaomi Smart Home Suite (very cheap) compatibilty?

Compatibility (hardware, devices and OS)
Caribou
Posts: 10
Joined: Thursday 20 April 2017 17:35
Target OS: Linux
Domoticz version:
Location: Bordeaux
Contact:

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

Postby Caribou » Thursday 18 May 2017 15:50

Hi,
Sorry I don't know if it's Xiaomi related or a more general question about domoticz:
why do I get that message "no temperature sensors founded or added in the system…" quickly displayed in the footer of this webpage: https://i.imgur.com/nebpvLz.png ?

Mat2Vence
Posts: 42
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?

Postby Mat2Vence » Friday 19 May 2017 10:29

corbin wrote:All gateway sounds are working through Domoticz on my setup.

Check that your gateway IP has not changed, and also double check the password - I think it did once reset on me accidentally.

I have other sensor (door sensor and PIR) that are working perfectly. So I guess the communication is correct... I am gonna make some other checks.

User avatar
corbin
Posts: 437
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?

Postby corbin » Friday 19 May 2017 12:36

Please check your IP and password settings if you haven't already. The other sensors will still work as they use a different communication method.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)

Chucky69
Posts: 11
Joined: Saturday 09 January 2016 16:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Postby Chucky69 » Friday 19 May 2017 22:03

corbin wrote:Please check your IP and password settings if you haven't already. The other sensors will still work as they use a different communication method.


Correct, I had until 10 minutes ago the same issue. So I opened the Mi Home again and I had to re-login again. (Most likely because my phone was recently updated with a new android version)
After logging in I also saw that I could update the gateway and the Mi Home app.

Then I refreshed the Xiaomi gateway in Domoticz and all worked....

Only I still don't see the lux sensor, but as I read some pages earlier it could be that the needed code is not merged yet in the main (beta) code.

xxLeoxx93
Posts: 13
Joined: Wednesday 22 March 2017 22:48
Target OS: Windows
Domoticz version:
Contact:

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

Postby xxLeoxx93 » Saturday 20 May 2017 9:10

I'm using the latest main beta and I can see the lux sensor ;)

Chucky69
Posts: 11
Joined: Saturday 09 January 2016 16:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Postby Chucky69 » Saturday 20 May 2017 11:06

xxLeoxx93 wrote:I'm using the latest main beta and I can see the lux sensor ;)


Thanks,

on your remark I enabled new hardware devices and I made sure the light environment changed around the gateway. The lux sensor popped up in my devices now.

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Saturday 20 May 2017 11:18

corbin wrote:
chatainsim wrote:I will try as soon as possible.
Which branche ? Because master was updated 13 days ago.
Thanks


Sorry, forgot to sync. It is updated now - https://github.com/corbinmunce/domoticz


Compilation was successful, just waiting to smoke alarm to appear in Domoticz.

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Saturday 20 May 2017 13:16

I can add the Smoke detector.
But I have an error in logs :
2017-05-20 12:20:15.026 Error: XiaomiGateway: invalid data received!
How can I check what is it ? Get more debug log ?

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Saturday 20 May 2017 13:28

If I click to turn on smoke detector, I cannot turn it off back. It always turn on.
Yes I know it shouldn't be turn on from Domoticz it doesn't make sense but I tried :)
Nothing change except the status in Domoticz.


Edit: Ok nevermind I found the reset button...

User avatar
corbin
Posts: 437
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?

Postby corbin » Saturday 20 May 2017 21:08

Was the error when smoke was detected?

You can enable the raw gateway messages to appear in the Domoticz log by creating a user variable 'XiaomiMessage' of type Integer and value 1. (Setup -> More Options -> User Variables). Then restart the Gateway hardware in Domoticz. from http://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)#Troubleshooting
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)

ben53252642
Posts: 166
Joined: Saturday 02 July 2016 5:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

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

Postby ben53252642 » Saturday 20 May 2017 21:15

Ahh awesome! Someone adding the Smoke Detector, mine should be arriving any day now. :D

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Saturday 20 May 2017 22:32

corbin wrote:Was the error when smoke was detected?

You can enable the raw gateway messages to appear in the Domoticz log by creating a user variable 'XiaomiMessage' of type Integer and value 1. (Setup -> More Options -> User Variables). Then restart the Gateway hardware in Domoticz. from http://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)#Troubleshooting


Ok, I've deleted everything than add Gateway back.
I can't get the error message again.

So for me it's working.
If you want me to test the activation of the smoke alarm, I have to wait until monday when I'll be alone at home :)

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Saturday 20 May 2017 22:37

I have a question regarding battery information.
For a temp sensor, I have this information :
Image

Which one should I trust ?
The Low for Temp only, or the 80 ?

ben53252642
Posts: 166
Joined: Saturday 02 July 2016 5:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

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

Postby ben53252642 » Saturday 20 May 2017 22:40

chatainsim wrote:I have a question regarding battery information.
For a temp sensor, I have this information :
Image

Which one should I trust ?
The Low for Temp only, or the 80 ?


I might be wrong about this but what is your battery low threshold set to?

http://domoticzip/#/Setup Go to the "Other" tab.

Maybe it set the "Low" label because the level is under the threshold on that tab?

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Saturday 20 May 2017 22:42

ben53252642 wrote:...

I might be wrong about this but what is your battery low threshold set to?

http://domoticzip/#/Setup Go to the "Other" tab.

Maybe it set the "Low" label because the level is under the threshold on that tab?

It's set to 5(%)

madrian
Posts: 187
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Postby madrian » Sunday 21 May 2017 0:20

Guys, what about xiaomi powerstrips? It is somehow compatible?

User avatar
corbin
Posts: 437
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?

Postby corbin » Sunday 21 May 2017 4:05

Not compatible with the Gateway, but -> search.php?keywords=miio
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)

User avatar
corbin
Posts: 437
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?

Postby corbin » Sunday 21 May 2017 4:10

chatainsim wrote:Ok, I've deleted everything than add Gateway back.
I can't get the error message again.

So for me it's working.
If you want me to test the activation of the smoke alarm, I have to wait until monday when I'll be alone at home :)


Yes please test (but don't burn your house down! :)), as I've only tested here with your previously posted message. Need to see what actual value is reported when smoke/fire is detected - so enable the messages with the XiaomiMessage user variable.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)

chatainsim
Posts: 33
Joined: Wednesday 25 March 2015 11:46
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Postby chatainsim » Monday 22 May 2017 10:31

corbin wrote:Yes please test (but don't burn your house down! :)), as I've only tested here with your previously posted message. Need to see what actual value is reported when smoke/fire is detected - so enable the messages with the XiaomiMessage user variable.


Ok, so I haven't burn my house down but thanks to ecig I was able to test the smoke alarm easily :D

Just press the button to test :

Code: Select all

2017-05-22 10:23:21.750 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"density\":\"0\"}"}
2017-05-22 10:23:21.752 {"cmd":"heartbeat","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"voltage\":3215}"}
2017-05-22 10:23:21.752 (Gateway) General/Voltage (Xiaomi Voltage)
2017-05-22 10:23:21.952 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"alarm\":\"0\"}"}


Gateway talk to say "everything is normal" thanks to google translate.

When smoke is detected :

Code: Select all

2017-05-22 10:24:36.842 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"alarm\":\"1\"}"}
2017-05-22 10:24:39.039 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:39.041 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":305}"}
2017-05-22 10:24:39.041 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:41.038 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:41.039 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":312}"}
2017-05-22 10:24:41.039 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:42.033 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:42.034 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":313}"}
2017-05-22 10:24:42.034 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:42.649 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"density\":\"255\"}"}
2017-05-22 10:24:42.649 (Gateway) Light/Switch (Xiaomi Smoke Detector)
2017-05-22 10:24:42.654 {"cmd":"heartbeat","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"voltage\":3215}"}
2017-05-22 10:24:42.654 (Gateway) General/Voltage (Xiaomi Voltage)
2017-05-22 10:24:42.847 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"alarm\":\"1\"}"}
2017-05-22 10:24:44.037 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:44.038 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":318}"}
2017-05-22 10:24:44.038 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:45.034 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:45.045 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":319}"}
2017-05-22 10:24:45.045 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:47.025 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:47.026 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":323}"}
2017-05-22 10:24:47.026 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:48.020 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:48.021 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":323}"}
2017-05-22 10:24:48.021 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:50.016 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:50.017 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":327}"}
2017-05-22 10:24:50.017 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:51.013 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:51.014 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":326}"}
2017-05-22 10:24:51.014 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:53.012 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:53.013 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":329}"}
2017-05-22 10:24:53.013 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:54.008 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:54.009 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":328}"}
2017-05-22 10:24:54.009 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:56.002 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:56.003 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":330}"}
2017-05-22 10:24:56.003 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:56.003 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:59.002 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:59.003 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":331}"}
2017-05-22 10:24:59.003 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:24:59.993 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:24:59.995 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":331}"}
2017-05-22 10:24:59.995 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:01.996 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:01.997 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":332}"}
2017-05-22 10:25:01.997 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:02.988 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:02.989 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":332}"}
2017-05-22 10:25:02.989 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:05.003 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:05.004 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":333}"}
2017-05-22 10:25:05.004 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:05.985 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:05.986 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":332}"}
2017-05-22 10:25:05.986 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:07.979 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:07.980 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":333}"}
2017-05-22 10:25:07.980 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:08.975 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:08.976 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":333}"}
2017-05-22 10:25:08.976 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:10.975 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:10.977 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":333}"}
2017-05-22 10:25:10.976 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:11.970 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:11.971 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":333}"}
2017-05-22 10:25:11.973 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:13.965 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:13.966 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:13.967 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":334}"}
2017-05-22 10:25:14.963 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:14.964 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":334}"}
2017-05-22 10:25:14.964 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:16.449 (Gateway) Light/Switch (Xiaomi Motion Sensor)
2017-05-22 10:25:16.450 {"cmd":"report","model":"motion","sid":"158d00014d2d72","short_id":28678,"data":"{\"status\":\"motion\"}"}
2017-05-22 10:25:16.959 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:16.960 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":334}"}
2017-05-22 10:25:16.960 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:17.958 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:17.959 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":334}"}
2017-05-22 10:25:17.959 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:19.710 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"alarm\":\"0\"}"}
2017-05-22 10:25:19.955 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:19.956 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":334}"}
2017-05-22 10:25:19.956 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:20.952 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:20.953 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":334}"}
2017-05-22 10:25:20.953 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:22.916 (Gateway) Light/Switch (Xiaomi Motion Sensor)
2017-05-22 10:25:22.917 {"cmd":"report","model":"motion","sid":"158d00013f7278","short_id":32884,"data":"{\"status\":\"motion\"}"}
2017-05-22 10:25:22.951 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:22.952 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":50331435,\"illumination\":334}"}
2017-05-22 10:25:22.952 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:23.944 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:23.945 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":334}"}
2017-05-22 10:25:23.945 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:25.939 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:25.940 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":334}"}
2017-05-22 10:25:25.940 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:26.720 {"cmd":"heartbeat","model":"plug","sid":"158d00012f4f30","short_id":49264,"data":"{\"voltage\":3600,\"status\":\"off\",\"inuse\":\"0\",\"power_consumed\":\"2045\",\"load_power\":\"0\"}"}
2017-05-22 10:25:26.720 (Gateway) General/kWh (Xiaomi Smart Plug Usage)
2017-05-22 10:25:27.705 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:27.706 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":331}"}
2017-05-22 10:25:27.706 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:29.705 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:29.706 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":334}"}
2017-05-22 10:25:29.706 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:30.703 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:30.704 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":1694433280,\"illumination\":331}"}
2017-05-22 10:25:30.704 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:32.663 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-05-22 10:25:32.664 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":345}"}
2017-05-22 10:25:32.664 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:32.693 {"cmd":"report","model":"gateway","sid":"286c078891f8","short_id":0,"data":"{\"rgb\":0,\"illumination\":345}"}
2017-05-22 10:25:32.693 (Gateway) Lux (Xiaomi Gateway Lux)
2017-05-22 10:25:53.379 {"cmd":"report","model":"smoke","sid":"158d0001538a9e","short_id":31763,"data":"{\"alarm\":\"0\"}"}


It's raw logs :)

Revers59
Posts: 3
Joined: Friday 12 May 2017 13:53
Target OS: Linux
Domoticz version:
Contact:

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

Postby Revers59 » Monday 22 May 2017 17:53

I'm new in your world
All work fine here. Domoticz + xiaomi smart home + 3 doors sensors + switch.
The switch have 4 states :
CLICK
LONG CLICK
LONG CLICK RELEASE
DOUBLE CLICK

Are there a way to use this switch for ARM AWAY /ARM HOME /DISARM ?

Solved :) my first one

Code: Select all

commandArray = {}
if (devicechanged['Xiaomi Wireless Switch'] == 'Click') then
commandArray['Domoticz Security Panel'] = 'Disarm'
elseif (devicechanged['Xiaomi Wireless Switch'] == 'Double Click') then
commandArray['Domoticz Security Panel'] = 'Arm Home'
elseif (devicechanged['Xiaomi Wireless Switch'] == 'Long Click') then
commandArray['Domoticz Security Panel'] = 'Arm Away'
end
return commandArray


just one question in my Domoticz french language in curent state I have 'Normal' and not 'DIsarm' but the lua script work with Disarm. IS it a bug ?


Return to “Compatibility”

Who is online

Users browsing this forum: No registered users and 4 guests