Page 38 of 123

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

Posted: Thursday 16 February 2017 15:48
by bbqkees
Jumper3126 wrote:Placed an order for the complete set at gearbest earlier this week. Got a reply that they a cant deliver at the moment. Further questioning got me the following replies:

We are sorry to inform you that this item is unavailable and won't be restocked in short time.
Yes, the supplier can not provided the item in short time as the item need to update.

Wondering what this new update might include
One seller on Aliexpress sells the '2017 edition' which is apparently completely the same as the 2016 V2 but it now has a new name.

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

Posted: Thursday 16 February 2017 17:56
by marcotini
deennoo wrote:
pavelbor wrote:Some sporadic bug detected:
I have 3 Xiaomi Door/Window sensors. Very often (but not every time) after upgrade to latest beta, 2 of 3 sensors changed state to "Open" (but door/windows remains closed). In MiHome apps i see correct state (closed).

I have to open/close door to set status of device to right state.
Same thing but reversed some Time door is open, mi Home says open but Domoticz stay close.
Same as you. When it's happen I just close and reopen the browser.

For now I prefer using Homebridge directly and not passthrough Domoticz. I've just open an Issue on Github https://github.com/PatchworkBoy/homebri ... /issues/76

But in my opinion is that Domoticz doesn't push (or pull) the data when something trigger the sensor.

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

Posted: Thursday 16 February 2017 22:16
by deennoo
marcotini wrote:
deennoo wrote:
pavelbor wrote:Some sporadic bug detected:
I have 3 Xiaomi Door/Window sensors. Very often (but not every time) after upgrade to latest beta, 2 of 3 sensors changed state to "Open" (but door/windows remains closed). In MiHome apps i see correct state (closed).

I have to open/close door to set status of device to right state.
Same thing but reversed some Time door is open, mi Home says open but Domoticz stay close.
Same as you. When it's happen I just close and reopen the browser.

For now I prefer using Homebridge directly and not passthrough Domoticz. I've just open an Issue on Github https://github.com/PatchworkBoy/homebri ... /issues/76

But in my opinion is that Domoticz doesn't push (or pull) the data when something trigger the sensor.
Not sure about your browser solution...This Windows sensors have to lightning on a bulb when it's night.

I can see the problème on the log...

Image

21:10 off
22:12 off again because i just open the door and light doesn't goes On

Sensors is on direct view from the gateway to 5 meter

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

Posted: Friday 17 February 2017 20:53
by corbin
Are there any logged messages corresponding with the incorrect sensor updates?

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

Posted: Saturday 18 February 2017 0:33
by zaraki673
Hi,
What does it mean in log "Error: XiaomiGateway: ITS OK is2ndchannel not exist" ?

thk's ;)

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

Posted: Saturday 18 February 2017 1:53
by corbin
ignore that, just a logging message I forgot to remove.

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

Posted: Saturday 18 February 2017 2:27
by zaraki673
ok thk's :D

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

Posted: Saturday 18 February 2017 3:05
by corbin
have you had any issues with devices updating the wrong state?

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

Posted: Saturday 18 February 2017 4:08
by zaraki673
yes door sensor says close after 1minutes open while door is always open ...
xiaomi-error.png
xiaomi-error.png (9.51 KiB) Viewed 2609 times

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

Posted: Saturday 18 February 2017 4:16
by corbin
can you post the logs from the time the state changed to closed but the door was open?

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

Posted: Saturday 18 February 2017 4:21
by zaraki673
status log is enough ?

Code: Select all

2017-02-18 04:10:31.838 {"cmd":"report","model":"magnet","sid":"158d0001082b75","short_id":23864,"data":"{\"status\":\"open\"}"}
2017-02-18 04:11:31.696 {"cmd":"report","model":"magnet","sid":"158d0001082b75","short_id":23864,"data":"{\"no_close\":\"60\"}"}
2017-02-18 04:12:44.100 {"cmd":"report","model":"magnet","sid":"158d0001082b75","short_id":23864,"data":"{\"status\":\"close\"}"}
2017-02-18 04:12:45.313 {"cmd":"heartbeat","model":"magnet","sid":"158d0001082b75","short_id":23864,"data":"{\"status\":\"close\"}"}

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

Posted: Saturday 18 February 2017 10:01
by Mat2Vence
zaraki673 wrote:yes door sensor says close after 1minutes open while door is always open ...
xiaomi-error.png
Same issue on my side. It uses to be the case 2 weeks ago with one beta release, and the issue was fixed with the next beta.
I am nnnow running with the 3.6745 and the doors are switch back to closed from domoticz when the status from xioami is open (and by the way the doors are physically open).

Here is the log :

2017-02-18 09:57:19.809 (Xioami) Light/Switch (Xiaomi_Velux_Nord) <----- I open the windows
2017-02-18 09:57:51.138 (Xioami) Temp (Xiaomi_Temperature_Bureau)
2017-02-18 09:57:51.163 (Xioami) Humidity (Xiaomi Humidity)
2017-02-18 09:57:51.166 (Xioami) Temp (Xiaomi_Temperature_Bureau)
2017-02-18 09:57:51.195 (Xioami) Humidity (Xiaomi Humidity)
2017-02-18 09:58:07.736 Error: XiaomiGateway: ITS OK is2ndchannel not exist
2017-02-18 09:58:07.736 (Xioami) Light/Switch (Xiaomi Salon PIR)
2017-02-18 09:58:19.663 Error: XiaomiGateway: ITS OK is2ndchannel not exist
2017-02-18 09:58:19.663 (Xioami) Light/Switch (Xiaomi_Velux_Nord) <---- I dod nothing at all!!
2017-02-18 09:59:09.211 Error: XiaomiGateway: ITS OK is2ndchannel not exist
2017-02-18 09:59:09.211 (Xioami) Light/Switch (Xiaomi Salon PIR)

What's look a bot strange is that I have 5 door sensors and I am seeing the issue on 4 of them and not on the last one that remains with the status open..

Onre more comment after some other tests.... it looks like when you open the windows, the sensor is automatically switch back to closed aftr 1 minute, but then (probably after en refresh from the xiaomi gateway) the status is back to open, et remain open till the windows is effectively closed.

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

Posted: Saturday 18 February 2017 13:54
by murtadin
Omg - what a stupid noob. Just checked and found out that for some reason developer mode for Xiaomy Gateway was turned off.

Update:

Dear Corbin - domoticz stopped working on my VM after few last updates (which was working fine all the time):

Code: Select all

2017-02-18 14:56:19.825 Error: XiaomiGateway: unable to write command - Invalid Key
2017-02-18 14:56:19.825 XiaomiGateway: response {"cmd":"write_ack","sid":"158d000117a188","data":"{\"error\":\"Invalid key\"}"}
2017-02-18 14:56:19.825 XiaomiGateway: SendMessageToGateway failed on first attempt, will try again
2017-02-18 14:56:19.925 XiaomiGateway: GetGatewayKey Password - 728usul7zhvsohcq
2017-02-18 14:56:19.925 XiaomiGateway: GetGatewayKey Token -
2017-02-18 14:56:19.925 XiaomiGateway: GetGatewayKey key - 67D8307C856930CA90FF287EC22EE72D
2017-02-18 14:56:20.076 XiaomiGateway: request {"cmd":"write","model":"plug","sid":"158d000117a188","short_id":9844,"data":"{\"channel_0\":\"on\",\"key\":\"67D8307C856930CA90FF287EC22EE72D\"}" }
Same problem as on main server - no token.

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

Posted: Sunday 19 February 2017 13:15
by Kwintessens
Hi, I am running into the same issue with invalid key. Hardware and devices are added fine and initial status seems to be set correctly. I do not get any updates or possibility to control the gateway from Domoticz.

I am currently using Domoticz Beta version: 3.6708 (Synologogy Ds216j).

Could it be that I'm not using Corbin's version? My Domoticz setup is rather delicate and I have no experience in manually compiling for my Synology from that fork.

Alternatively could it be I'm missing dependencies or something else?

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

Posted: Monday 20 February 2017 6:58
by marcotini
I don't know what to do, the event become triggered by the sensor that are not open or in movement.

How can be possibile?

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

Posted: Monday 20 February 2017 9:16
by Mat2Vence
Behaviour ha change with the 3.6752 release.
Now the dorr sensor are back closed after 1 minutes, but are no longer switching back to their real state then after. It is kept has closed when theis not the case.
Checking directly on the Xiaomi gateway application, the status is open


[UPDATE] For some of those, it turns back to the correct status after about 4 minutes.

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

Posted: Monday 20 February 2017 9:19
by corbin
Try my version at https://github.com/corbinmunce/domoticz and let me know if you are still getting the false readings?

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

Posted: Monday 20 February 2017 9:27
by Mat2Vence
corbin wrote:Try my version at https://github.com/corbinmunce/domoticz and let me know if you are still getting the false readings?
It cannot be done through standard beta upload?
I need to create a sandbox since I don't want to disturb the rest of my system. I am gonna check if I an try your version.

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

Posted: Monday 20 February 2017 9:40
by corbin
If you can compile my version I can push changes out quickly to test, rather than waste Gizmocuz's time asking to merge each change into the beta.

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

Posted: Monday 20 February 2017 10:20
by ibniba
Guys,
I'm new here and will try and learn all the stuff you write about. I see some people asking where to buy the kit cheap. I bought mine from http://www.geecr.com
However the kit I got was the Gift Wrapped pack and I managed to get it for about 60 USD about a month ago (this set comes with an additional zigbee plug and I also got two free adapters with it). I see the gift wrapped set now on aliexpress for 90USD. I don't see the gift wrapped set on Geecr.com anymore but they do have the normal set for 47USD. Anyway I hope this helps someone.

FYI I have along with the gateway the Xiaomi Cube, Xiaomi Switch, Xiaomi Door Sensor and Human Sensor. I also have a Xiaomi Yeelight Bedside Lamp.

In addition I have MiLight Hub (the new one with the light) and controllers. Three controllers are connected to RGB strips and a Milight Bulb is also connected to the Hub. I control all of these at the moment with the Milight app (version 3 I think).

I also have my Mi Band 2, Mi weighing scales, Mi wifi extender and Mi pot plant moisture reader and I control these with the Mi Home app.

I know that this may sound like an advert for Mi/Xiaomi but it is not - I'm just an ordinary joe soap who is getting into all this smart home stuff :)

I'm probably forgetting some of the other gadgets that I have but thought I'd just introduce myself.

Regards