Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
-
- Posts: 184
- Joined: Wednesday 06 September 2017 9:11
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I have this same issue when i do this on one Domoticz server. I figured out one gatewAy couldn’t open the port 9898 or 4321 even when I activate the lan protocol several times. When I send a package with Whois on 9898 he doesn’t respond. The other 2 responds very good.
-
- Posts: 1
- Joined: Thursday 10 January 2019 21:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
The gateway/app seems to support Tradfri lamps now. Can the lamps be imported in Domoticz?
-
- Posts: 1
- Joined: Tuesday 15 January 2019 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Yesterday I succesfully paired my Ikea GU10 spot with the Xiaomi gateway v2. Controlling my GU 10 spot works perfect with the Mi Home app, switching lamps on and off and dimming. When I go to devices in Domoticz I don`t see my Ikea spot, so I was also wondering when this is implemented.
-
- 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?
Do you have something in the log ?rorie wrote: ↑Tuesday 15 January 2019 14:38 Yesterday I succesfully paired my Ikea GU10 spot with the Xiaomi gateway v2. Controlling my GU 10 spot works perfect with the Mi Home app, switching lamps on and off and dimming. When I go to devices in Domoticz I don`t see my Ikea spot, so I was also wondering when this is implemented.
Did you update the gateway to the latest firmware?
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
How do i update the firmware??chatainsim wrote: ↑Tuesday 22 January 2019 23:18Do you have something in the log ?rorie wrote: ↑Tuesday 15 January 2019 14:38 Yesterday I succesfully paired my Ikea GU10 spot with the Xiaomi gateway v2. Controlling my GU 10 spot works perfect with the Mi Home app, switching lamps on and off and dimming. When I go to devices in Domoticz I don`t see my Ikea spot, so I was also wondering when this is implemented.
Did you update the gateway to the latest firmware?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- 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?
With the Mi Home app. Profil -> Settings -> Check for updateDerik wrote: ↑Saturday 02 February 2019 18:44How do i update the firmware??chatainsim wrote: ↑Tuesday 22 January 2019 23:18Do you have something in the log ?rorie wrote: ↑Tuesday 15 January 2019 14:38 Yesterday I succesfully paired my Ikea GU10 spot with the Xiaomi gateway v2. Controlling my GU 10 spot works perfect with the Mi Home app, switching lamps on and off and dimming. When I go to devices in Domoticz I don`t see my Ikea spot, so I was also wondering when this is implemented.
Did you update the gateway to the latest firmware?
-
- Posts: 528
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Just found this
The Xiaomi-Zero-Intelligent doorbell
Looked in the Xiaomi app, it is possible to connect it with the app.
Sorry, my knowledge is not that great to add this device to the Xiaomi plug-in, but maybe there is somebody who could look at it, if there are possibilities
could it be a doorbell option for domoticz?
The Xiaomi-Zero-Intelligent doorbell
Looked in the Xiaomi app, it is possible to connect it with the app.
Sorry, my knowledge is not that great to add this device to the Xiaomi plug-in, but maybe there is somebody who could look at it, if there are possibilities
could it be a doorbell option for domoticz?
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
mmm looks a great camra and bell..hoeby wrote: ↑Monday 04 February 2019 20:18 Just found this
The Xiaomi-Zero-Intelligent doorbell
Looked in the Xiaomi app, it is possible to connect it with the app.
Sorry, my knowledge is not that great to add this device to the Xiaomi plug-in, but maybe there is somebody who could look at it, if there are possibilities
could it be a doorbell option for domoticz?
Perhaps this is going to work in Domoticz?
And is the camera adjustable.?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
For some time now my second gateway only shows the rgb selector of the gateway and lux sensor.
There are multiple devices connected to the second gateway however but they aren't visible. They are visible in the mi home app and react to changes correctly. I also see nothing in the logs or any devices that come from the second gateway.
Adding it again doesn't help. The first gateway doesn't show any issues and works as expected.
I do see Error: XiaomiGateway: received data from unregisted gateway! for both gateways.
Domoticz is able to control the ledring of the second (and first) gateway (so there isn't a connection issue between Domoticz and the gateways i guess?) but the issue is related to not showing devices connected to the second gateway.
Both gateways are on the same and latest firmware version and Domoticz on the most recent beta. Unfortunatelly i already have this issue for several weeks now that i cannot use my second gateway.
Anybody has a trick?
There are multiple devices connected to the second gateway however but they aren't visible. They are visible in the mi home app and react to changes correctly. I also see nothing in the logs or any devices that come from the second gateway.
Adding it again doesn't help. The first gateway doesn't show any issues and works as expected.
I do see Error: XiaomiGateway: received data from unregisted gateway! for both gateways.
Domoticz is able to control the ledring of the second (and first) gateway (so there isn't a connection issue between Domoticz and the gateways i guess?) but the issue is related to not showing devices connected to the second gateway.
Both gateways are on the same and latest firmware version and Domoticz on the most recent beta. Unfortunatelly i already have this issue for several weeks now that i cannot use my second gateway.
Anybody has a trick?
-
- 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?
I have the same issue, ikea bulbs don't appear in domoticz when linked to xiaomi gatewaychatainsim wrote:With the Mi Home app. Profil -> Settings -> Check for updateDerik wrote: ↑Saturday 02 February 2019 18:44How do i update the firmware??chatainsim wrote: ↑Tuesday 22 January 2019 23:18 Do you have something in the log ?
Did you update the gateway to the latest firmware?
Enviado desde mi Mi A2 mediante Tapatalk
-
- Posts: 51
- Joined: Friday 18 September 2015 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Wait with ordering it. I had 2 on order on Alie and sellers won't send it because it's not in stock yet (do take your money but don't inform you about it) Seems like it will be in stock in early/mid Marchhoeby wrote: ↑Monday 04 February 2019 20:18 Just found this
The Xiaomi-Zero-Intelligent doorbell
Looked in the Xiaomi app, it is possible to connect it with the app.
Sorry, my knowledge is not that great to add this device to the Xiaomi plug-in, but maybe there is somebody who could look at it, if there are possibilities
could it be a doorbell option for domoticz?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Is there any solution for this problem?Vomera wrote: ↑Tuesday 01 January 2019 16:16I 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.
I've got a new xiaomi gateway (mi control hub) with latest firmware but the port 9898 is closed on the device.
I got it in developer mode and checked the wireless comunication protocol checkbox and got a password but i'm unable to comunicate with the gateway
-
- Posts: 184
- Joined: Wednesday 06 September 2017 9:11
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I had the same issue, got a new one and works perfectly
-
- 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?
This is because the gateway doesn't expose the Ikea light on the API.salvacalatayud wrote: ↑Saturday 09 February 2019 22:21I have the same issue, ikea bulbs don't appear in domoticz when linked to xiaomi gateway
Enviado desde mi Mi A2 mediante Tapatalk
We should wait for a gateway update, if it's planned.
-
- 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?
Thanks, we will waitchatainsim wrote: ↑Tuesday 12 February 2019 8:26This is because the gateway doesn't expose the Ikea light on the API.salvacalatayud wrote: ↑Saturday 09 February 2019 22:21I have the same issue, ikea bulbs don't appear in domoticz when linked to xiaomi gatewaychatainsim wrote: With the Mi Home app. Profil -> Settings -> Check for update
Enviado desde mi Mi A2 mediante Tapatalk
We should wait for a gateway update, if it's planned.
-
- Posts: 68
- Joined: Wednesday 03 February 2016 19:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Got same issue with HUE light, 'Bedroom' any code expert that can tell me why?
Thank you
Error: EventSystem: in Cube light dimming: [string "commandArray = {}
..."]:13: bad argument #1 to 'find' (string expected, got nil)
Thank you
Error: EventSystem: in Cube light dimming: [string "commandArray = {}
..."]:13: bad argument #1 to 'find' (string expected, got nil)
Code: Select all
commandArray = {}
-- Run only if the cube has been rotated clockwise or anti-clockwise
if devicechanged['Xiaomi Cube'] == "clock_wise" or devicechanged['Xiaomi Cube'] == "anti_clock_wise" then
-- Runs only if the light is already On
if (otherdevices['Bedroom'] == "On" or otherdevices['Bedroom'] == "Set Level") then
-- grab the actual dimming value
actual_dimming = tonumber(otherdevices_svalues['Bedroom'])
--if the cube has been rotated clockwise and dimming is below 100
if ((otherdevices['Xiaomi Cube'] == "clock_wise") and actual_dimming < 100) then
-- need to find only the integer value
actual_rotation = otherdevices_svalues['Xiaomi Cube Text']
virgola = string.find(actual_rotation, ",")
numero = string.sub(actual_rotation, 1, virgola-1)
-- Add the rotation value to the actual dimming, and if is greater than 100, set it to 100
new_dim_value = actual_dimming + tonumber(numero)
if new_dim_value > 100 then
new_dim_value = 100
end
comando = "Set Level "..new_dim_value
commandArray['Bedroom']=comando
end
--if the cube has been rotated anti-clockwise and dimming is above 1
if (otherdevices['Xiaomi Cube'] == "anti_clock_wise" and actual_dimming > 1) then
-- need to find only the integer value
actual_rotation = otherdevices_svalues['Xiaomi Cube Text']
virgola = string.find(actual_rotation, ",")
numero = string.sub(actual_rotation, 1, virgola-1)
-- Add the rotation value (in this case is a negative value), to the actual dimming, and if is smaller than 1, set it to 1
new_dim_value = actual_dimming + tonumber(numero)
if new_dim_value < 1 then
new_dim_value = 1
end
comando = "Set Level "..new_dim_value
commandArray['Bedroom']=comando
end
end
end
return commandArray
jlmb22 wrote: ↑Friday 04 August 2017 15:01levynger wrote:thanks, recieved my cube, and used your script, modified it abit to allow turning on/off as well based on rotation is someone interfested in:woody4165 wrote:
Just wrote a small script, but since I'm not a coder, I'm sure it can be optimized...
In my case, I want that the dimming works only if the lamp is already On.
It seems to work, if you have any suggestion, please share it!Code: Select all
commandArray = {} -- Run only if the cube has been rotated clockwise or anti-clockwise if devicechanged['Xiaomi Cube Switch'] == "clock_wise" or devicechanged['Xiaomi Cube Switch'] == "anti_clock_wise" then -- Runs only if the light is already On if (otherdevices['YeeLight Salone'] == "On" or otherdevices['YeeLight Salone'] == "Set Level") then -- grab the actual dimming value actual_dimming = tonumber(otherdevices_svalues['YeeLight Salone']) --if the cube has been rotated clockwise and dimming is below 100 if ((otherdevices['Xiaomi Cube Switch'] == "clock_wise") and actual_dimming < 100) then -- need to find only the integer value actual_rotation = otherdevices_svalues['Xiaomi Cube Text'] virgola = string.find(actual_rotation, ",") numero = string.sub(actual_rotation, 1, virgola-1) -- Add the rotation value to the actual dimming, and if is greater than 100, set it to 100 new_dim_value = actual_dimming + tonumber(numero) if new_dim_value > 100 then new_dim_value = 100 end comando = "Set Level "..new_dim_value commandArray['YeeLight Salone']=comando end --if the cube has been rotated anti-clockwise and dimming is above 1 if (otherdevices['Xiaomi Cube Switch'] == "anti_clock_wise" and actual_dimming > 1) then -- need to find only the integer value actual_rotation = otherdevices_svalues['Xiaomi Cube Text'] virgola = string.find(actual_rotation, ",") numero = string.sub(actual_rotation, 1, virgola-1) -- Add the rotation value (in this case is a negative value), to the actual dimming, and if is smaller than 1, set it to 1 new_dim_value = actual_dimming + tonumber(numero) if new_dim_value < 1 then new_dim_value = 1 end comando = "Set Level "..new_dim_value commandArray['YeeLight Salone']=comando end end end return commandArray
Code: Select all
-- Run only if the cube has been rotated clockwise or anti-clockwise if devicechanged['Xiaomi Cube'] == "clock_wise" or devicechanged['Xiaomi Cube'] == "anti_clock_wise" then -- Runs only if the light is already On --if (otherdevices['CorridorLight'] == "On" or otherdevices['CorridorLight'] == "Set Level") then -- grab the actual dimming value actual_dimming = tonumber(otherdevices_svalues['CorridorLight']) print("the Current YeeeLightSvalue: " .. actual_dimming) --if the cube has been rotated clockwise and dimming is below 100 if ((otherdevices['Xiaomi Cube'] == "clock_wise") and actual_dimming < 100) then -- need to find only the integer value actual_rotation = otherdevices_svalues['Xiaomi Cube Text'] virgola = string.find(actual_rotation, ",") numero = string.sub(actual_rotation, 1, virgola-1) -- Add the rotation value to the actual dimming, and if is greater than 100, set it to 100 new_dim_value = actual_dimming + tonumber(numero) if new_dim_value > 100 then new_dim_value = 100 end comando = "Set Level "..new_dim_value commandArray['CorridorLight']=comando end --if the cube has been rotated anti-clockwise and dimming is above 1 if (otherdevices['Xiaomi Cube'] == "anti_clock_wise" and actual_dimming > 1) then -- need to find only the integer value print("a test print") actual_rotation = otherdevices_svalues['Xiaomi Cube Text'] virgola = string.find(actual_rotation, ",") numero = string.sub(actual_rotation, 1, virgola-1) -- Add the rotation value (in this case is a negative value), to the actual dimming, and if is smaller than 1, set it to 1 new_dim_value = actual_dimming + tonumber(numero) print("the new value to reduce to: " .. new_dim_value) if new_dim_value <= 1 then new_dim_value = 0 end comando = "Set Level "..new_dim_value commandArray['CorridorLight']=comando end --end end return commandArray
Hi, I'm trying to use your script for the same purpose but I have that error:
/usr/local/domoticz/var/scripts/lua/script_device_onkyo.lua:14: bad argument #1 to 'find' (string expected, got nil)
I'm totally newbie with domoticz and script (if it needed to be said...)
Anyone can help me please?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Same issue here, i have two xiaomi hubs but even with only one hub in Domoticz active at the moment i get:japster wrote: ↑Sunday 10 February 2019 16:02Is there any solution for this problem?Vomera wrote: ↑Tuesday 01 January 2019 16:16I 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.
I've got a new xiaomi gateway (mi control hub) with latest firmware but the port 9898 is closed on the device.
I got it in developer mode and checked the wireless comunication protocol checkbox and got a password but i'm unable to comunicate with the gateway
Error: XiaomiGateway: received data from unregisted gateway!
The second one was added but has been deleted for a while since it doesn't receive any devices (it used to).
Running Domoticz version 4.10541
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Is there perhaps someone that can tell me ho i can simple replace the battery of a Xiaomi temperature sensor?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
That is the problem...
That part is not working by me for 3 sensors...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Who is online
Users browsing this forum: No registered users and 1 guest