Check about PIR maybe it's the same.corbin wrote:The no_close message has changed fromtoCode: Select all
"data":"{\"status\":\"no_close\"}"
the 60 looks to be the time in seconds the door has been open, which is more useful. I'll get the Domoticz code updated to handle it soon.Code: Select all
"data":"{\"no_close\":\"60\"}"
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: RE: 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
-
- Posts: 41
- 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?
Does anyone succeed to find a way to send command to the mi home? Would be nice to be able to play the alarm, ring and play with the RGB?
- 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?
The light can be controlled via the API, don't know about the alarm/audio yet. None of this is in Domoticz yet.Mat2Vence wrote:Does anyone succeed to find a way to send command to the mi home? Would be nice to be able to play the alarm, ring and play with the RGB?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 41
- 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?
Is there any example of that? I have the switch, PIR and door sensor in the device list but nothing else.corbin wrote: The light can be controlled via the API, don't know about the alarm/audio yet. None of this is in Domoticz yet.
Is there some documentation somewhere of the xiaomi API?
- 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?
https://translate.google.com/translate? ... edit-text=Mat2Vence wrote: Is there any example of that? I have the switch, PIR and door sensor in the device list but nothing else.
Is there some documentation somewhere of the xiaomi API?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Still can't run domoticz on my linux server normally. RGBW yeelight works, but gateway and all attached devices don't. Updated today my system, upgraded kernel and still no luck. Configuring, making without any errors. If i restore DB from backup - got this error in log:
Pls help me debug this andput this to work. Can provide any information you need.
Code: Select all
2017-01-13 01:53:54.637 User: Admin initiated a switch command (16/Xiaomi Smart Plug/On)
2017-01-13 01:53:54.637 0117A188
2017-01-13 01:53:54.787 XiaomiGateway: response {"cmd":"write_ack","sid":"158d000117a188","data":"{\"error\":\"Invalid key\"}"}
-
- 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?
Message is explicit : invalid key
Are you sure of your key ? Did you respect min and maj ?
Are you sure of your key ? Did you respect min and maj ?
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
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
yes it is, I'll have some updates to do over the weekend!deennoo wrote: Check about PIR maybe it's the same.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Of course key is correct. I have checked it 100 times. What do you mean did i respect min and maj? English is not my native language. Do you mean case?deennoo wrote:Message is explicit : invalid key
Are you sure of your key ? Did you respect min and maj ?
Last edited by murtadin on Friday 13 January 2017 1:15, edited 1 time in total.
-
- 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?
Mine to :
A : maj
a : min
But can't be the issue, you 'ill not be able to retrive your plug.
A : maj
a : min
But can't be the issue, you 'ill not be able to retrive your plug.
Last edited by deennoo on Friday 13 January 2017 1:14, edited 1 time in total.
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
- 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?
could it be Gentoo Linux not having all the software/components installed to do the key encryption?murtadin wrote: Pls help me debug this andput this to work. Can provide any information you need.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
It is possible - how can i check this? Is all traffic between domoticz and mi gateway encrypted?corbin wrote:could it be Gentoo Linux not having all the software/components installed to do the key encryption?murtadin wrote: Pls help me debug this andput this to work. Can provide any information you need.
- 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 familiar with Gentoo, but did have a look last night and it looks like you have to configure most parts yourself? If you try a pre-configured distro, does it still not work?murtadin wrote: It is possible - how can i check this?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
i have tried binaries, but there was error about usb libs. but i do not use any usb devices. will try install all necessary libs later and try one more time precompiled binaries.corbin wrote:Not familiar with Gentoo, but did have a look last night and it looks like you have to configure most parts yourself? If you try a pre-configured distro, does it still not work?murtadin wrote: It is possible - how can i check this?
Sent from my MI MAX using Tapatalk
- 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?
Try https://github.com/corbinmunce/domoticz for the rotate command handling - I haven't changed the on/off status part, you can easily adjust the source though.deennoo wrote: Maybe disable auto off for cube and round switch, a switch never turn off it just state change (clik, long clik etc) same for cube each mouvement is a new one
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: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I don't think that usb libs error is related, but wouldn't rule it out.murtadin wrote: i have tried binaries, but there was error about usb libs. but i do not use any usb devices. will try install all necessary libs later and try one more time precompiled binaries.
Sent from my MI MAX using Tapatalk
Can you give me a URL for a Gentoo image/ISO I can use for a Vmware VM?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
https://mirrors.kernel.org/gentoo//rele ... /20160704/corbin wrote:I don't think that usb libs error is related, but wouldn't rule it out.murtadin wrote: i have tried binaries, but there was error about usb libs. but i do not use any usb devices. will try install all necessary libs later and try one more time precompiled binaries.
Sent from my MI MAX using Tapatalk
Can you give me a URL for a Gentoo image/ISO I can use for a Vmware VM?
But i do not use generic kernel. I have built my system almost from the scratch. But i will try generic kernel from livedvd too.
Sent from my MI MAX using Tapatalk
- 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?
Do you know what base settings to use for Vmware - ie Ubuntu x64...?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
you can try vmware images https://www.osboxes.org/gentoo/corbin wrote:Do you know what base settings to use for Vmware - ie Ubuntu x64...?
Sent from my MI MAX using Tapatalk
-
- 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?
Just test "rotate", fonction are created on cube selector switch but they aren't linked to the gateway message. other fonction are okcorbin wrote:Try https://github.com/corbinmunce/domoticz for the rotate command handling - I haven't changed the on/off status part, you can easily adjust the source though.deennoo wrote: Maybe disable auto off for cube and round switch, a switch never turn off it just state change (clik, long clik etc) same for cube each mouvement is a new one
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
Who is online
Users browsing this forum: No registered users and 0 guests