Xiaomi Smart Home Suite (very cheap) compatibilty?

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO »

anyone have news about vibration sensor?
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

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

Post by salvacalatayud »

Hi all!

I've found this:

https://www.domoticz.cn/forum/viewtopic.php?t=115

From what i've translated seems to make the air conditioning partner work.

Installed python-miio and created acpartner.py and the lua script, but I get this error:

Error: EventSystem: in AC_cocina: [string "commandArray = {}
..."]:5: bad argument #1 to 'pairs' (table expected, got nil)

Any idea of what can be happening?

Thanks
CLEMENT99
Posts: 36
Joined: Friday 26 January 2018 9:18
Target OS: Windows
Domoticz version: BETA
Location: Brussels
Contact:

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

Post by CLEMENT99 »

DAVIZINHO wrote: Thursday 01 November 2018 20:46 anyone have news about vibration sensor?
I'm also waiting for the integration of this xiaomi vibration device...
ak97
Posts: 39
Joined: Saturday 03 February 2018 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

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

Post by ak97 »

done.
aqara vibration sensor in lastest beta
molnaratti
Posts: 34
Joined: Friday 02 February 2018 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by molnaratti »

ak97 wrote: Thursday 08 November 2018 17:11 done.
aqara vibration sensor in lastest beta
Works fine, Thank you !
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO »

Vibration sensor works!!! great job and thanks!!!!
stewdyne
Posts: 20
Joined: Friday 20 July 2018 7:55
Target OS: Windows
Domoticz version:
Contact:

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

Post by stewdyne »

Ok, finaly I’ve found the culprit why my evensystem kept crashing on random intervals; the xiaomi gateway. When I disable that hardware my event system keep running. In the xiaomi mi home app I had several child devices under the xiaoim gateway; motion sensors, doorsensor. I resetted the gateway (5 sec press) without removing the child devices in the app. I saw no yellow light blinking but all my sensors in the app are gone.

When I try to pair the app again to my account/app It can’t find the device. The gateway is also still connected to my network (so no actual wifi reset?). When I long press the button I hear a Chinese sound but no yellow light. When I plug in the device to my energy socket a blue light is blinking. I can also activate and de-activate the alarm but pressing 2 times on the gateway. So I get the feeling the gateway is not resetted at all.

How can I reset the gateway so I can pair it again in the app and add my devices? (and hope domoticz will not crash again when I add the xiaomi gateway to my hardware)

Thank you.
CLEMENT99
Posts: 36
Joined: Friday 26 January 2018 9:18
Target OS: Windows
Domoticz version: BETA
Location: Brussels
Contact:

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

Post by CLEMENT99 »

ak97 wrote: Thursday 08 November 2018 17:11 done.
aqara vibration sensor in lastest beta
It works, thanks. :D
Camiel
Posts: 1
Joined: Saturday 01 December 2018 12:19
Target OS: NAS (Synology & others)
Domoticz version: 4.10233
Location: Hilversum
Contact:

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

Post by Camiel »

Hello, just got everything working regarding the Xiaomi gateway but I would like to use the newly available commands for the Wireless Dual Wall Switch (https://www.gearbest.com/alarm-systems/ ... d=13027313 This is working in the Mi Home app and I enabled logging in Domoticz. The action is showing up, but.. How can I use these actions in Domoticz?

Domoticz Log:

Code: Select all

2018-12-01 12:26:38.315 Status: {"cmd":"report","model":"remote.b286acn01","sid":"158d00027c0b47","short_id":17281,"data":"{\"channel_0\":\"double_click\"}"}
2018-12-01 12:26:39.448 Status: {"cmd":"report","model":"remote.b286acn01","sid":"158d00027c0b47","short_id":17281,"data":"{\"channel_1\":\"double_click\"}"}
2018-12-01 12:26:41.540 Status: {"cmd":"report","model":"remote.b286acn01","sid":"158d00027c0b47","short_id":17281,"data":"{\"channel_0\":\"long_click\"}"}
2018-12-01 12:26:43.716 Status: {"cmd":"report","model":"remote.b286acn01","sid":"158d00027c0b47","short_id":17281,"data":"{\"channel_1\":\"long_click\"}"}
pavelbor
Posts: 35
Joined: Sunday 18 December 2016 12:18
Target OS: Raspberry Pi / ODroid
Domoticz version: LastBeta
Location: Tallinn / Estonia
Contact:

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

Post by pavelbor »

Hello, does somebody tried new Aqara Smart bulb ZNLDP12LM (ZigBee)? Does it supported by Domoticz?
jordipalet
Posts: 12
Joined: Sunday 09 December 2018 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by jordipalet »

Hi, new to Domoticz

I will like to use something similar to this, but in devices in only see my Xiaomi Smart Plug, not the power consumption (it shows correctly in the Xiaomi app). Also, what kind of script is this one, where I actually can use/try it? May be Domoticz is not displaying the power, but actually it is possible to read it ...

Thanks!
corbin wrote: Wednesday 30 August 2017 4:34
visser wrote: Tuesday 29 August 2017 10:00 Hi Domoticz users, I'm trying to trigger a notification when the power usage on a Xiaomi Smart Plug drops back to 0 (e.g. end of a washing machine cycle), I've found the current General > kWh device populates daily values well but not per-minute data. Help?
This is how I do a similar thing for my projector:

Code: Select all

local projectoron = false
watts = otherdevices["Xiaomi Usage Projector"]
watts = string.sub(watts, 0, string.find(watts, ";")-1)
numericWatts = tonumber(watts)
if (numericWatts > 100) then
    projectoron = true
    --print('projector is on')
end
hansmac
Posts: 1
Joined: Saturday 08 December 2018 15:30
Target OS: -
Domoticz version:

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

Post by hansmac »

@Jordipalet,
I'm usuing the Xiaomi Aqara homekit gateway (ZHWG11LM) with fw 1.4.7. May I ask which version you are using and which firmware? I have troubles connecting my gateway to domoticz
Thx Hans
superkris
Posts: 13
Joined: Friday 25 March 2016 16:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by superkris »

I'm trying to connect a double wall switch into Domoticz. It seems to work fine in the Xiaomi app, but i cant see it in Domoticz.

Other products like the door sensors work fine.
vuurtjih
Posts: 1
Joined: Monday 10 December 2018 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.97
Contact:

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

Post by vuurtjih »

Somehow my door sensor has stopped working correctly, it does only on instead of on/off. Now my Blockly's aren't working, does anyone have a solution for this? Restarting domoticz doesn't work either.
Image
acaonweb
Posts: 78
Joined: Thursday 23 March 2017 14:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by acaonweb »

Hi guys maybe someone can tell me if Domoticz 4.9700 has problem with Xiaomi Gateway with fw 1.4.1_161.0143

Thanx in advance
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

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

Post by DAVIZINHO »

some gateways have problems and its imposible to add to domoticz because not detect trafic on por 9898. I dont know how, but its real :-(
landaisbenj
Posts: 147
Joined: Wednesday 02 August 2017 18:12
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: France
Contact:

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

Post by landaisbenj »

dvangeld wrote: Wednesday 17 October 2018 13:15
dvangeld wrote: Tuesday 16 October 2018 14:34
DAVIZINHO wrote: Tuesday 16 October 2018 10:07
Hello,
You must go to gateway and add it. Not apears in devices in principal menu but apears in add devices in gateway menu. I dont understand....
Huh! You are absolutely right! I thought it was under Add Device....
Am @ work now. Will try tonite
Thx ! :D
Working!

Pitty it only shows unlock actions and only with a key. I would like to know if the door is locked!

Is the lock supported by Domoticz?
I've it. It's not unlock action i think, it's just if your key is unlock to use... No stat return about door's locked or not... I don't know if it's supported by domoticz, but i think not.
Platforme: Rpbi3b
Domoticz: Last stable
Bridge: RFLINK last stable
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

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

Post by galadril »

Have somebody already looked into this device?
viewtopic.php?f=68&t=26259
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

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

Post by Vomera »

DAVIZINHO wrote: Saturday 22 December 2018 15:41 some gateways have problems and its imposible to add to domoticz because not detect trafic on por 9898. I dont know how, but its real :-(
I have this issue. I have 3 gateways. I could only one gateway on domoticz.
Yesterday i managed to run 3 domoticz servers on 1 linux server.
They run seperate.

- The main gateway runs very good on Domoticz server A

- The second gateway i added it on domoticz server B. I get only messages like
2019-01-01 16:09:39.428 Error: XiaomiGateway: received data from unregisted gateway!
But the devices showed up in domoticz and added them. Could turn on the light on the gateway.

- The thirth gatway i added on domoticz server C.
Get the same messages but the problem is i cannot see any devices.

Changed the gateway from server C to server B and server B to server C. And same problem on changed servers appears too.
One gateway doesn't send the devices.

Btw, all devices are made on a sepparate MI account. So i didnt add them in 1 account. Test it also on one account, but same issue.
ak97
Posts: 39
Joined: Saturday 03 February 2018 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

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

Post by ak97 »

Vomera wrote: Tuesday 01 January 2019 16:16
I have this issue. I have 3 gateways. I could only one gateway on domoticz.
Yesterday i managed to run 3 domoticz servers on 1 linux server.
They run seperate.

- The main gateway runs very good on Domoticz server A

- The second gateway i added it on domoticz server B. I get only messages like
2019-01-01 16:09:39.428 Error: XiaomiGateway: received data from unregisted gateway!
But the devices showed up in domoticz and added them. Could turn on the light on the gateway.

- The thirth gatway i added on domoticz server C.
Get the same messages but the problem is i cannot see any devices.

Changed the gateway from server C to server B and server B to server C. And same problem on changed servers appears too.
One gateway doesn't send the devices.

Btw, all devices are made on a sepparate MI account. So i didnt add them in 1 account. Test it also on one account, but same issue.
domoticz beta now supports multiple gateways simultaneously. Error message: XiaomiGateway: received data from unregisted gateway! means that you have improperly configured gateways on servers B and C.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest