Page 21 of 123
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 17 January 2017 20:23
by deennoo
Ok done ! Got to debug brightness for gateway hurry up !
And get a hair cut ! Hippie ! Lol
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 17 January 2017 20:35
by corbin
murtadin wrote:
But i have checked some libs - they are installed. Not all - cause i do not use kerberos, ldap and so on But may be some important libs are missed and for some reason, when i configure sources i see no errors at all about it.
P.S. - i really apreciate your help. Thank you.
I would guess missing crypto libraries on your Gentoo too - I don't really know what I'm looking at here, but this is the output from my Raspberry:
- Spoiler: show
Code: Select all
pi@raspberrypi:~/domoticz $ sudo ldd domoticz
linux-vdso.so.1 (0x7efd6000)
/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f43000)
libusb-0.1.so.4 => /lib/arm-linux-gnueabihf/libusb-0.1.so.4 (0x76f24000)
libssl.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0 (0x76eca000)
libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (0x76d5c000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x76d45000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76d1d000)
libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x76cf5000)
libcurl.so.4 => /usr/lib/arm-linux-gnueabihf/libcurl.so.4 (0x76c84000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x76c71000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76bf6000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76ab5000)
/lib/ld-linux-armhf.so.3 (0x54b15000)
libidn.so.11 => /usr/lib/arm-linux-gnueabihf/libidn.so.11 (0x76a73000)
librtmp.so.1 => /usr/lib/arm-linux-gnueabihf/librtmp.so.1 (0x76a4a000)
libssh2.so.1 => /usr/lib/arm-linux-gnueabihf/libssh2.so.1 (0x76a28000)
libgssapi_krb5.so.2 => /usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2 (0x769de000)
libkrb5.so.3 => /usr/lib/arm-linux-gnueabihf/libkrb5.so.3 (0x7692a000)
libk5crypto.so.3 => /usr/lib/arm-linux-gnueabihf/libk5crypto.so.3 (0x768eb000)
libcom_err.so.2 => /lib/arm-linux-gnueabihf/libcom_err.so.2 (0x768d8000)
liblber-2.4.so.2 => /usr/lib/arm-linux-gnueabihf/liblber-2.4.so.2 (0x768bc000)
libldap_r-2.4.so.2 => /usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2 (0x76868000)
libgnutls-deb0.so.28 => /usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28 (0x7675b000)
libhogweed.so.2 => /usr/lib/arm-linux-gnueabihf/libhogweed.so.2 (0x76721000)
libnettle.so.4 => /usr/lib/arm-linux-gnueabihf/libnettle.so.4 (0x766e1000)
libgmp.so.10 => /usr/lib/arm-linux-gnueabihf/libgmp.so.10 (0x7666f000)
libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0x765cc000)
libkrb5support.so.0 => /usr/lib/arm-linux-gnueabihf/libkrb5support.so.0 (0x765b3000)
libkeyutils.so.1 => /lib/arm-linux-gnueabihf/libkeyutils.so.1 (0x765a7000)
libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0x76582000)
libsasl2.so.2 => /usr/lib/arm-linux-gnueabihf/libsasl2.so.2 (0x7655b000)
libp11-kit.so.0 => /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0 (0x7651a000)
libtasn1.so.6 => /usr/lib/arm-linux-gnueabihf/libtasn1.so.6 (0x764fa000)
libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0x764db000)
libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x764cb000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x7649e000)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 17 January 2017 20:36
by corbin
deennoo wrote:Ok done ! Got to debug brightness for gateway hurry up !
And get a hair cut ! Hippie ! Lol
Haha, one day, for both
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 17 January 2017 20:41
by levynger
Corbin, I finally assembled Visual studio with domoticz,and cloned your github.
when i run domoitcz, im missing the gateway ip and passoword fields, resulting in empty strings in m_gatewayIp and m_GatewayPassword
any idea what can cause this?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 17 January 2017 22:55
by psedma
any idea of my "problem"? I can't even see xiaomi gateway in "type" of hardware.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 7:48
by corbin
@levynger, @psedma, clear your browser cache so that you get the fresh files.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 7:52
by levynger
corbin wrote:@levynger, @psedma, clear your browser cache so that you get the fresh files.
Thanks @corbin
וtried that, also using the chrome plug in you suggested.
I r happen only on the compiled version from visual Studio.
On my Ubuntu, I pulled and compiled.. No issues.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 7:56
by corbin
copy the whole 'www' folder from the root of the project to the msbuild folder, replacing what is already there.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 10:22
by ben53252642
Received a box of Xiaomi sensors in the mail today, super impressed by the quality of the hardware, it's a lot smaller than I expected which opens up new possibilities for putting motion sensors around the place.
Opened each sensor and recorded the battery models (I have so many sensors from so many brands now this is the first thing I do).
Might want to keep a packet of each battery type in the cupboard, they all take different batteries.
Brand: Type: Sensor Model: Battery Model: Battery Voltage:
Xiaomi Door Sensor MCCGQ01LM CR1632 3v
Xiaomi Motion Sensor RTCGQ01LM CR2450 3v
Xiaomi Push Button WXKG01LM CR2032 3v
Also received the Xiaomi Air Purifier v2, again the quality of the hardware appears very well built. Working to figure out how to integrate it into Domoticz.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 11:06
by vetalok
ben53252642 wrote:Received a box of Xiaomi sensors in the mail today, super impressed by the quality of the hardware, it's a lot smaller than I expected which opens up new possibilities for putting motion sensors around the place.
Opened each sensor and recorded the battery models (I have so many sensors from so many brands now this is the first thing I do).
Might want to keep a packet of each battery type in the cupboard, they all take different batteries.
Brand: Type: Sensor Model: Battery Model: Battery Voltage:
Xiaomi Door Sensor MCCGQ01LM CR1632 3v
Xiaomi Motion Sensor RTCGQ01LM CR2450 3v
Xiaomi Push Button WXKG01LM CR2032 3v
Also received the Xiaomi Air Purifier v2, again the quality of the hardware appears very well built. Working to figure out how to integrate it into Domoticz.
You must also have Xiaomi Gateway. The sensors do not work without it.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 11:10
by vetalok
corbin wrote:vetalok wrote:
Emm... When I enable LED from MiHome - Domoticz off light
I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working?
Yes I can. I will test how come from work (At 17:00 GMT).
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 15:33
by levynger
corbin wrote:copy the whole 'www' folder from the root of the project to the msbuild folder, replacing what is already there.
thanks @corbin, a magician.. as always..
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 18:39
by murtadin
corbin wrote:
I would guess missing crypto libraries on your Gentoo too - I don't really know what I'm looking at here, but this is the output from my Raspberry:
who can give me minimal system requirements? Which libs and kernel options are required in order to run domoticz with xiaomi gateway? Why no errors during configure an make?
Help - this driving me crazy ))
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 19:42
by levynger
corbin wrote:vetalok wrote:
Emm... When I enable LED from MiHome - Domoticz off light
I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working?
Turning it on/off once indeed got it detected in Devices.
however trying to turn it on/off results in invalid key ack
2017-01-18 10:39:11.700 XiaomiGateway: response {"cmd":"write_ack","sid":"f0b429cbf966","data":"{\"error\":\"Invalid key\"}"}
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 21:16
by Coldman
corbin wrote:vetalok wrote:
Emm... When I enable LED from MiHome - Domoticz off light
I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working?
Code: Select all
XiaomiGateway: unhandled model: gateway
{"cmd":"report","model":"gateway","sid":"f0b4299a4e49","short_id":0,"data":"{\"rgb\":1694498782}"}
XiaomiGateway: unhandled model: gateway
{"cmd":"report","model":"gateway","sid":"f0b4299a4e49","short_id":0,"data":"{\"rgb\":0}"}
update: after git pull from
https://github.com/corbinmunce/domoticz
Code: Select all
XiaomiGateway: rgb received value: 1694498782
XiaomiGateway: setting on to true
XiaomiGateway: New Gateway Found (299a4e49/Xiaomi RGB Gateway)
2017-01-18 23:23:09.751 (xGW) Lighting Limitless/Applamp (Unknown)
{"cmd":"report","model":"gateway","sid":"f0b4299a4e49","short_id":0,"data":"{\"rgb\":1694498782}"}
XiaomiGateway: rgb received value: 0
XiaomiGateway: setting on to false
XiaomiGateway: Updating existing - nodeid: f0b4299a4e49
2017-01-18 23:23:13.744 (xGW) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
{"cmd":"report","model":"gateway","sid":"f0b4299a4e49","short_id":0,"data":"{\"rgb\":0}"}
and as a result:
- Spoiler: show
- 2017-01-18_23-27-15.png (35.21 KiB) Viewed 2833 times
- 2017-01-18_23-37-32.png (78.85 KiB) Viewed 2830 times
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 22:10
by Mat2Vence
Any idea why I cannot get the latest beta version update of domoticz? I am getting an error at the very end of the download
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 22:14
by Coldman
Mat2Vence wrote:Any idea why I cannot get the latest beta version update of domoticz? I am getting an error at the very end of the download
what is your platform - Windows/Unix?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 22:18
by levynger
Coldman wrote:Mat2Vence wrote:Any idea why I cannot get the latest beta version update of domoticz? I am getting an error at the very end of the download
what is your platform - Windows/Unix?
im using both linux and windows, just tried to downlaod latest beta from domoticz, didnt see any problem.
file downloaded sucessfully.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 22:20
by levynger
levynger wrote:corbin wrote:vetalok wrote:
Emm... When I enable LED from MiHome - Domoticz off light
I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working?
Turning it on/off once indeed got it detected in Devices.
however trying to turn it on/off results in invalid key ack
2017-01-18 10:39:11.700 XiaomiGateway: response {"cmd":"write_ack","sid":"f0b429cbf966","data":"{\"error\":\"Invalid key\"}"}
@corbin, im getting invalid key ack from the gateway on any command i construct using the string from "GetGatewayKey();" function.
is it working for you?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 18 January 2017 22:22
by Mat2Vence
levynger wrote:Coldman wrote:Mat2Vence wrote:Any idea why I cannot get the latest beta version update of domoticz? I am getting an error at the very end of the download
what is your platform - Windows/Unix?
im using both linux and windows, just tried to downlaod latest beta from domoticz, didnt see any problem.
file downloaded sucessfully.
I should have made something wrong... I succeed. Let's make some trial on this new release and xiaomi