Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
- 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?
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)
-
- Posts: 13
- Joined: Saturday 09 January 2016 15:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
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)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.
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.
-
- Posts: 16
- Joined: Wednesday 22 March 2017 21:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I'm using the latest main beta and I can see the lux sensor
-
- Posts: 13
- Joined: Saturday 09 January 2016 15:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thanks,xxLeoxx93 wrote:I'm using the latest main beta and I can see the lux sensor
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.
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Compilation was successful, just waiting to smoke alarm to appear in Domoticz.corbin wrote:Sorry, forgot to sync. It is updated now - https://github.com/corbinmunce/domoticzchatainsim wrote: I will try as soon as possible.
Which branche ? Because master was updated 13 days ago.
Thanks
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
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 ?
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 ?
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
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...
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...
- 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?
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_Gat ... leshooting
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_Gat ... leshooting
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Ahh awesome! Someone adding the Smoke Detector, mine should be arriving any day now.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Ok, I've deleted everything than add Gateway back.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_Gat ... leshooting
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
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I have a question regarding battery information.
For a temp sensor, I have this information :
Which one should I trust ?
The Low for Temp only, or the 80 ?
For a temp sensor, I have this information :
Which one should I trust ?
The Low for Temp only, or the 80 ?
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I might be wrong about this but what is your battery low threshold set to?chatainsim wrote:I have a question regarding battery information.
For a temp sensor, I have this information :
Which one should I trust ?
The Low for Temp only, or the 80 ?
http://domoticzip/#/Setup Go to the "Other" tab.
Maybe it set the "Low" label because the level is under the threshold on that tab?
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
It's set to 5(%)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?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Guys, what about xiaomi powerstrips? It is somehow compatible?
- 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?
Not compatible with the Gateway, but -> http://www.domoticz.com/forum/search.php?keywords=miio
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
- 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?
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.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
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Ok, so I haven't burn my house down but thanks to ecig I was able to test the smoke alarm easilycorbin 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.
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\"}"}
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\"}"}
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
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
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 ?
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
-
- 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?
About smoke sensor easu to see alarm goes 0 when all is ok and alarm goes 1 when smoke is detected.
About alarme just a french translation...all is ok aucun probleme c'est ainsi
About alarme just a french translation...all is ok aucun probleme c'est ainsi
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: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi Deennoo thanks for your answer. What is the best way for find real 'Current state' for use in lua script ? put Domoticz in english ?deennoo wrote: About alarme just a french translation...all is ok aucun probleme c'est ainsi
Who is online
Users browsing this forum: No registered users and 0 guests