Page 47 of 123
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 22:34
by deennoo
murtadin wrote:
Is there any real chance, that support of wi-fi socket will be added? Developer mode for xiaomi wi-fi socket. For ir remote it would be great too.
Sent from my MI MAX using Tapatalk
Why don't you ask them directly ? Api doesn't talk about wifi socket.
On this topic there is a how to about xiaomi robot cleaner, have you test it for your plug?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 9:24
by corbin
hekm77 wrote:I have problems with Xiaomi Smart Socket (ZigBee). Domoticz v3.6908
Can you describe the problem further? Looking at these two logs, the times do not coincide?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 9:47
by Coldman
corbin wrote:hekm77 wrote:I have problems with Xiaomi Smart Socket (ZigBee). Domoticz v3.6908
Can you describe the problem further? Looking at these two logs, the times do not coincide?
Hi Corbin, I have same issue, in the log few messages when sockets on / off
Code: Select all
2017-03-12 20:25:11.624 User: Admin initiated a switch command (62/xSP03/Off)
2017-03-12 20:25:11.688 (xGW) Light/Switch (xSP03)
2017-03-12 20:25:11.693 {"cmd":"report","model":"plug","sid":"158d00013e26eb","short_id":12198,"data":"{\"status\":\"off\"}"}
2017-03-12 20:25:11.710 (xGW) Light/Switch (xSP03)
2017-03-12 20:25:11.715 {"cmd":"report","model":"plug","sid":"158d00013e26eb","short_id":12198,"data":"{\"status\":\"off\"}"}
2017-03-12 20:25:11.776 (xGW) Light/Switch (xSP03)
2017-03-12 20:25:15.713 RFLink: 20;3F;FineOffset;ID=004d;TEMP=01c8;
2017-03-12 20:25:15.713 (RFLink) Temp (FineOffset)
2017-03-12 20:25:17.242 (Domoticz#01) General/Percentage (RPi#01RAM)
2017-03-12 20:25:17.262 (Domoticz#01) General/Percentage (RPi#01CPU)
2017-03-12 20:25:17.285 (Domoticz#01) Temp (RPi#01Temp)
2017-03-12 20:25:18.618 User: Admin initiated a switch command (62/xSP03/On)
2017-03-12 20:25:18.769 (xGW) Light/Switch (xSP03)
2017-03-12 20:25:19.082 (xGW) Light/Switch (xSP03)
2017-03-12 20:25:19.086 {"cmd":"report","model":"plug","sid":"158d00013e26eb","short_id":12198,"data":"{\"status\":\"on\"}"}
2017-03-12 20:25:19.104 (xGW) Light/Switch (xSP03)
2017-03-12 20:25:19.108 {"cmd":"report","model":"plug","sid":"158d00013e26eb","short_id":12198,"data":"{\"status\":\"on\"}"}
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 11:34
by corbin
Coldman wrote:corbin wrote:hekm77 wrote:I have problems with Xiaomi Smart Socket (ZigBee). Domoticz v3.6908
Can you describe the problem further? Looking at these two logs, the times do not coincide?
Hi Corbin, I have same issue, in the log few messages when sockets on / off
Thanks, think I've found the problem and am compiling on my Raspberry now to test properly.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 20:08
by hekm77
Thank you,
corbin. v3.6912.
Unfortunately, there are no changes with the socket.
- Spoiler: show
- Снимок экрана от 2017-03-13 19-59-56.png (26.64 KiB) Viewed 3012 times
- Spoiler: show
Code: Select all
2017-03-13 19:55:30.059 (Xiaomi) Light/Switch (Камера)
2017-03-13 19:55:30.141 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:55:30.141 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 19:55:31.882 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:55:31.882 {"cmd":"heartbeat","model":"motion","sid":"158d0001173873","short_id":32522,"data":"{\"status\":\"no_motion\"}"}
2017-03-13 19:55:39.726 Incoming connection from: 5.104.179.16
2017-03-13 19:55:45.862 User: Admin initiated a switch command (9/Камера/Off)
2017-03-13 19:55:46.012 (Xiaomi) Light/Switch (Камера)
2017-03-13 19:55:46.525 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:55:46.525 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-13 19:55:46.525 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:55:46.525 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-13 19:56:00.082 LUA: TV ping success
2017-03-13 19:56:00.182 LUA: TV says it is active
2017-03-13 19:56:00.182 LUA: TV active, status is ON, so do nothing.
2017-03-13 19:57:00.236 LUA: TV ping success
2017-03-13 19:57:00.338 LUA: TV says it is active
2017-03-13 19:57:00.338 LUA: TV active, status is ON, so do nothing.
2017-03-13 19:57:40.149 User: Admin initiated a switch command (9/Камера/On)
2017-03-13 19:57:40.292 (Xiaomi) Light/Switch (Камера)
2017-03-13 19:57:40.311 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 19:57:40.311 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:57:40.311 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 19:57:40.311 (Xiaomi) Light/Switch (Камера)
2017-03-13 19:58:00.465 LUA: TV ping success
2017-03-13 19:58:00.626 LUA: TV says it is active
2017-03-13 19:58:00.626 LUA: TV active, status is ON, so do nothing.
2017-03-13 19:58:09.067 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:58:09.067 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\",\"inuse\":\"0\"}"}
2017-03-13 19:58:36.651 User: Admin initiated a switch command (9/Камера/Off)
2017-03-13 19:58:36.817 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:58:36.817 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-13 19:58:36.817 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:58:36.817 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-13 19:58:36.802 (Xiaomi) Light/Switch (Камера)
2017-03-13 19:59:00.239 LUA: TV ping success
2017-03-13 19:59:20.835 User: Admin initiated a switch command (9/Камера/On)
2017-03-13 19:59:20.951 (Xiaomi) Light/Switch (Камера)
2017-03-13 19:59:20.965 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 19:59:20.965 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 19:59:20.965 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 19:59:20.985 (Xiaomi) Light/Switch (Камера)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 20:57
by Kwintessens
Hi Corbin,
Running Domoticz beta 3.6944 from Jadahl on synology I am still unable to update devices with error Invalid Key.
On raspberry pi running Domoticz it is working great! So great work
Currently I am using it as a slave under my other Domoticz.. but this is (obviously) not ideal.. and want to go back to my synology. Could this be a dependency error? If so.. any idea which dependency I might be missing?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 21:06
by corbin
hekm77 wrote:Thank you, corbin. v3.6912.
Unfortunately, there are no changes with the socket.
did you git pull the changes from
https://github.com/corbinmunce/domoticz?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 21:08
by corbin
Kwintessens wrote:
Currently I am using it as a slave under my other Domoticz.. but this is (obviously) not ideal.. and want to go back to my synology. Could this be a dependency error? If so.. any idea which dependency I might be missing?
This is probably related to your network adapter not receiving multicast packets. If that is the case, it could be a configuration setting you can change on the Synology, or an error in my code which I don't know how to fix yet. Also could be the Synology is using an older beta version, as I have fixed network issues recently in the main beta.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 21:16
by hekm77
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 21:34
by Kwintessens
corbin wrote:Kwintessens wrote:
Currently I am using it as a slave under my other Domoticz.. but this is (obviously) not ideal.. and want to go back to my synology. Could this be a dependency error? If so.. any idea which dependency I might be missing?
This is probably related to your network adapter not receiving multicast packets. If that is the case, it could be a configuration setting you can change on the Synology, or an error in my code which I don't know how to fix yet. Also could be the Synology is using an older beta version, as I have fixed network issues recently in the main beta.
Beta versions on both devices are the same
. I will look into the multicast settings.. thank you in advance.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 22:01
by corbin
I'm seeing two 'On' events when I turn the plug on.
Code: Select all
2017-03-14 06:58:31.796 User: Admin initiated a switch command (17/Xiaomi Smart Projector/On)
2017-03-14 06:58:31.929 LUA: Xiaomi Smart Projector On
2017-03-14 06:58:31.872 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Projector)
2017-03-14 06:58:31.930 {"cmd":"report","model":"plug","sid":"158d00010ec40b","short_id":6903,"data":"{\"status\":\"on\"}"}
2017-03-14 06:58:31.931 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-14 06:58:31.931 {"cmd":"report","model":"plug","sid":"158d00010ec40b","short_id":6903,"data":"{\"status\":\"on\"}"}
2017-03-14 06:58:32.003 LUA: Xiaomi Smart Projector On
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 22:08
by murtadin
i have strange behavior with zigbee plug too. Tried V3.6850 and V3.6911. Every command i see in log 2 times:
Code: Select all
2017-03-13 23:07:19.871 User: Admin initiated a switch command (24/console.living/On)
2017-03-13 23:07:19.931 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:19.935 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"on\"}"}
2017-03-13 23:07:19.953 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:19.957 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"on\"}"}
2017-03-13 23:07:20.022 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:27.192 User: Admin initiated a switch command (24/console.living/Off)
2017-03-13 23:07:27.256 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:27.260 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"off\"}"}
2017-03-13 23:07:27.278 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 23:07:27.278 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"off\"}"}
2017-03-13 23:07:27.342 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:31.545 User: Admin initiated a switch command (24/console.living/On)
2017-03-13 23:07:31.609 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:31.614 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"on\"}"}
2017-03-13 23:07:31.631 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:31.635 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"on\"}"}
2017-03-13 23:07:31.695 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:32.850 User: Admin initiated a switch command (24/console.living/Off)
2017-03-13 23:07:32.912 (gw.home) Light/Switch (console.living)
2017-03-13 23:07:32.916 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"off\"}"}
2017-03-13 23:07:32.934 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 23:07:32.934 {"cmd":"report","model":"plug","sid":"158d000117a188","short_id":9663,"data":"{\"status\":\"off\"}"}
2017-03-13 23:07:33.000 (gw.home) Light/Switch (console.living)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 13 March 2017 22:09
by hekm77
I see two "on" when on and two "off" when off
Code: Select all
2017-03-13 22:05:29.423 User: Admin initiated a switch command (9/Камера/On)
2017-03-13 22:05:29.564 (Xiaomi) Light/Switch (Камера)
2017-03-13 22:05:29.581 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 22:05:29.581 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 22:05:29.582 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-13 22:05:29.581 (Xiaomi) Light/Switch (Камера)
2017-03-13 22:05:38.915 User: Admin initiated a switch command (9/Камера/Off)
2017-03-13 22:05:38.985 (Xiaomi) Light/Switch (Камера)
2017-03-13 22:05:39.008 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-13 22:05:39.066 (Xiaomi) Light/Switch (Камера)
2017-03-13 22:05:39.087 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-13 22:05:39.087 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 14 March 2017 18:47
by Derik
Dear All
Great work this Xiaomi, F^*^cking nice stuff.... [ Love Corbin xxx ]
Some one have a battery live of the motions?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 14 March 2017 22:08
by Kwintessens
Kwintessens wrote:corbin wrote:Kwintessens wrote:
Currently I am using it as a slave under my other Domoticz.. but this is (obviously) not ideal.. and want to go back to my synology. Could this be a dependency error? If so.. any idea which dependency I might be missing?
This is probably related to your network adapter not receiving multicast packets. If that is the case, it could be a configuration setting you can change on the Synology, or an error in my code which I don't know how to fix yet. Also could be the Synology is using an older beta version, as I have fixed network issues recently in the main beta.
Beta versions on both devices are the same
. I will look into the multicast settings.. thank you in advance.
Wasn't able to find any settings on my synology to make any difference. Did a reinstall of Domoticz without success..
I am wondering if anyone is able to run this on Domoticz running on Synology?
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 14 March 2017 23:34
by deennoo
Kwintessens wrote:Kwintessens wrote:corbin wrote:
This is probably related to your network adapter not receiving multicast packets. If that is the case, it could be a configuration setting you can change on the Synology, or an error in my code which I don't know how to fix yet. Also could be the Synology is using an older beta version, as I have fixed network issues recently in the main beta.
Beta versions on both devices are the same
. I will look into the multicast settings.. thank you in advance.
Wasn't able to find any settings on my synology to make any difference. Did a reinstall of Domoticz without success..
I am wondering if anyone is able to run this on Domoticz running on Synology?
Just test today on ds216 play dsm 6.1 last beta aviable for syno and all is ok
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 15 March 2017 10:59
by bbqkees
For the ones who are having trouble getting into developer mode here is a good description with screenshots:
https://github.com/fooxy/homeassistant- ... e-dev-mode
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 15 March 2017 14:24
by kiquof
Hello my name is Christophe and I come to solicit your help for the installation of the XIAOMI GW. I have difficulties. I followed the tutorial
https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara) and then I installed the beta of DZ V3.6953. When I select in hardware "XIAOMI GATEWAY" I do not have the fields that appear to enter the IP settings, port and password. On the other hand, when I go through a DNS redirection via DDNS, the options appear !!!!
Je vous joint les logs
2017-03-15 00:12:46.028 XiaomiGateway: will listen on 9898 for hardware id 10
2017-03-15 00:12:46.028 XiaomiGateway: Worker started...
2017-03-15 00:14:01.902 XiaomiGateway: Worker started...
2017-03-15 00:14:01.903 XiaomiGateway: Using 192.168.0.12 for local IP address.
2017-03-15 00:14:01.903 XiaomiGateway: NOT LISTENING TO UDP FOR HARDWARE ID 11
2017-03-15 00:14:11.037 XiaomiGateway: stopped
2017-03-15 00:14:12.788 Incoming connection from: 192.168.0.10
2017-03-15 00:15:42.914 XiaomiGateway: stopped
2017-03-15 00:15:42.915 XiaomiGateway: will listen on 9898 for hardware id 11
2017-03-15 00:15:42.916 XiaomiGateway: Worker started...
2017-03-15 00:15:42.916 XiaomiGateway: Using 192.168.0.12 for local IP address.
Why two different IDs?
PB UDP?
The IP address of the GW is well informed
[Img]
http://www.clicweb.eu/Images/Capture3.PNG [/ img]
Before you ask me the questions:
- Yes, I have cleared the cache of my browser, see my browsers
- I have checked in the devices part, but it remains empty of any XIAOMI devices
- firmware version GW 1.4.1_143.0141
In addition tabs not the same titled.
[Img]
http://www.clicweb.eu/Images/Capture2.PNG [/ img]
If you have ideas for my integration problem it would be great. Thank you in advance for all the good ideas.
And thank you all for being so passionate and dedicated to your efforts.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 16 March 2017 12:16
by corbin
Have you tried deleting hardware id 11? If that doesn't work, look in the Hardware table in the Domoticz.db database and try deleting from there.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 16 March 2017 13:27
by lamouette
After a hard reboot, it's ok now