Thanks, have the vm working. How do I install domoticz now? "sudo apt-get update" doesn't work.murtadin wrote: you can try vmware images https://www.osboxes.org/gentoo/
Sent from my MI MAX using Tapatalk
Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Solve, made change on your Githubdeennoo wrote:Just test "rotate", fonction are created on cube selector switch but they aren't linked to the gateway message. other fonction are okcorbin wrote:Try https://github.com/corbinmunce/domoticz for the rotate command handling - I haven't changed the on/off status part, you can easily adjust the source though.deennoo wrote: Maybe disable auto off for cube and round switch, a switch never turn off it just state change (clik, long clik etc) same for cube each mouvement is a new one
Capture.PNG
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Merged, Thanksdeennoo wrote:
Solve, made change on your Github
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
- vetalok
- Posts: 22
- Joined: Friday 30 December 2016 12:40
- Target OS: Linux
- Domoticz version: 3.6273
- Location: Lviv, Ukraine
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hello everybody.
How are you with the ability to control:
1) Gateway LED (on/off, color)
2) Gateway Alarm (maybe radio)
3) Mi Socket V2 (WiFi)
It's really do?
How are you with the ability to control:
1) Gateway LED (on/off, color)
2) Gateway Alarm (maybe radio)
3) Mi Socket V2 (WiFi)
It's really do?
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
No
No
No
No
No
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 62
- Joined: Saturday 31 December 2016 15:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
you can try compile from source for the start.corbin wrote:Thanks, have the vm working. How do I install domoticz now? "sudo apt-get update" doesn't work.murtadin wrote: you can try vmware images https://www.osboxes.org/gentoo/
Sent from my MI MAX using Tapatalk
1. emerge -v git
2. git clone ...
3. cmake
4. make
Sent from my MI MAX using Tapatalk
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I tried "emerge -v git", and it didn't work:murtadin wrote: you can try compile from source for the start.
1. emerge -v git
2. git clone ...
3. cmake
4. make
Sent from my MI MAX using Tapatalk
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 87
- Joined: Wednesday 21 December 2016 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Israel
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
@ corbindeennoo wrote:Those device aren't on domoticz yet, i think corbin wait to get one to includ it and made test.levynger wrote:MoralKnight wrote:Are the Xiaomi aqara wall switches also supported or did anybody test it already with domoticz??
https://nl.aliexpress.com/item/Xiaomi-S ... 9bef031fe1
Just recieved mine, was able to pair the Dual Switch (the one without Electricity) with the gateway, but domoticz doesnt recognize.
getting these in logs.
2017-01-12 19:38:23.141 XiaomiGateway: unhandled model: 86sw2
2017-01-12 19:38:23.141 {"cmd":"report","model":"86sw2","sid":"158d00013e45a4","short_id":9819,"data":"{\"channel_1\":\"click\"}"}
2017-01-12 19:38:25.809 XiaomiGateway: unhandled model: 86sw2
2017-01-12 19:38:25.809 {"cmd":"report","model":"86sw2","sid":"158d00013e45a4","short_id":9819,"data":"{\"channel_0\":\"click\"}"}
I forked your github and added support for the Aqara wireless switch (the one with the batteries), tested it, and seems to work here.
and made pull request for your github
i will try the Electirc one today hopefully and update.
-
- Posts: 87
- Joined: Wednesday 21 December 2016 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Israel
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
got the Aqara Electirc switch now connected, im using the 2 buttons version.
here full logs from its functionality:
for some reason the commands sends twice, from anywhere this is triggerws (buttons or from the miHome APP)
@corbin, @deennoo,
how do you think this can be added? Selector doesnt seems to fit in here, these are 2 on/off buttons for the same device.
2017-01-14 00:56:29.530 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:29.530 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"on\"}"}
2017-01-14 00:56:29.553 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:29.553 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"on\"}"}
2017-01-14 00:56:38.371 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:38.371 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"off\"}"}
2017-01-14 00:56:38.395 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:38.395 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"off\"}"}
2017-01-14 00:56:46.325 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:46.325 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"on\"}"}
2017-01-14 00:56:46.347 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:46.347 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"on\"}"}
2017-01-14 00:56:51.736 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:51.736 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"off\"}"}
2017-01-14 00:56:51.758 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:51.758 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"off\"}"}
here full logs from its functionality:
for some reason the commands sends twice, from anywhere this is triggerws (buttons or from the miHome APP)
@corbin, @deennoo,
how do you think this can be added? Selector doesnt seems to fit in here, these are 2 on/off buttons for the same device.
2017-01-14 00:56:29.530 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:29.530 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"on\"}"}
2017-01-14 00:56:29.553 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:29.553 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"on\"}"}
2017-01-14 00:56:38.371 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:38.371 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"off\"}"}
2017-01-14 00:56:38.395 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:38.395 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_0\":\"off\"}"}
2017-01-14 00:56:46.325 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:46.325 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"on\"}"}
2017-01-14 00:56:46.347 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:46.347 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"on\"}"}
2017-01-14 00:56:51.736 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:51.736 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"off\"}"}
2017-01-14 00:56:51.758 XiaomiGateway: unhandled model: ctrl_neutral2
2017-01-14 00:56:51.758 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001190076","short_id":27074,"data":"{\"channel_1\":\"off\"}"}
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Following the api :
https://github.com/louisZL/lumi-gateway ... eutral2.md
This have to be our bible.
A simple on/off for each channel
https://github.com/louisZL/lumi-gateway ... eutral2.md
This have to be our bible.
A simple on/off for each channel
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 87
- Joined: Wednesday 21 December 2016 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Israel
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
thanks @deenno,deennoo wrote:Following the api :
https://github.com/louisZL/lumi-gateway ... eutral2.md
This have to be our bible.
A simple on/off for each channel
i was able to add it into domoticz, using selector switch, however i think its better to have 2 on/off,
i just not sure how to create from the same device for 2 distinct switches.
i assume it has something to do with the "Unit" index in devices, as domoticz wont allow to add the same device to different switches, isnt it?
- Attachments
-
- selector.PNG (32.14 KiB) Viewed 2146 times
-
- devices.PNG (142.19 KiB) Viewed 2146 times
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Maybe using unit = channel ?
On/off or selector ? Depending how you want to use it, via scene/group ? Or as a icon on plan ?
As they act as a real switch too, on my opinion they have to be on/off to be use on a plan easily.
Can't you use channel0/1 for unit value ?
On/off or selector ? Depending how you want to use it, via scene/group ? Or as a icon on plan ?
As they act as a real switch too, on my opinion they have to be on/off to be use on a plan easily.
Can't you use channel0/1 for unit value ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 8
- Joined: Saturday 14 January 2017 11:46
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hello,
I have added Xiaomi Gateway to Domoticz but it doesn't see any devices (i have Xiaomi Mi Smart Plug Zigbee connected to it).
In logs i see only: Xiaomi Gateway hardware (3) thread seems to have ended unexpectedl
I am using Domoticz inside docker. What i can do to make it work?
I have added Xiaomi Gateway to Domoticz but it doesn't see any devices (i have Xiaomi Mi Smart Plug Zigbee connected to it).
In logs i see only: Xiaomi Gateway hardware (3) thread seems to have ended unexpectedl
I am using Domoticz inside docker. What i can do to make it work?
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Which domoticz version pls ?paszczus wrote:Hello,
I have added Xiaomi Gateway to Domoticz but it doesn't see any devices (i have Xiaomi Mi Smart Plug Zigbee connected to it).
In logs i see only: Xiaomi Gateway hardware (3) thread seems to have ended unexpectedl
I am using Domoticz inside docker. What i can do to make it work?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thank you for adding the switch support. Can check my comment on github about updating your pull request?levynger wrote:
@ corbin
I forked your github and added support for the Aqara wireless switch (the one with the batteries), tested it, and seems to work here.
and made pull request for your github
i will try the Electirc one today hopefully and update.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 59
- Joined: Saturday 14 January 2017 21:37
- Target OS: Linux
- Domoticz version: Beta
- Location: Ukraine
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Had the same issue. You have to start container with host network (--net=host)paszczus wrote:Hello,
I have added Xiaomi Gateway to Domoticz but it doesn't see any devices (i have Xiaomi Mi Smart Plug Zigbee connected to it).
In logs i see only: Xiaomi Gateway hardware (3) thread seems to have ended unexpectedl
I am using Domoticz inside docker. What i can do to make it work?
- corbin
- Posts: 463
- Joined: Saturday 20 August 2016 22:57
- Target OS: Windows
- Domoticz version: Beta
- Location: Brisbane, Australia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
1. Yes very soon LED control will be added.vetalok wrote:Hello everybody.
How are you with the ability to control:
1) Gateway LED (on/off, color)
2) Gateway Alarm (maybe radio)
3) Mi Socket V2 (WiFi)
It's really do?
2. Maybe sometime in the future.
3. Probably never for the WiFi socket. You should get the Zigbee version
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- Posts: 8
- Joined: Saturday 14 January 2017 11:46
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thank you StasDemydiuk! Now it is working fine!StasDemydiuk wrote:Had the same issue. You have to start container with host network (--net=host)paszczus wrote:Hello,
I have added Xiaomi Gateway to Domoticz but it doesn't see any devices (i have Xiaomi Mi Smart Plug Zigbee connected to it).
In logs i see only: Xiaomi Gateway hardware (3) thread seems to have ended unexpectedl
I am using Domoticz inside docker. What i can do to make it work?
I am using Version: 3.6363
UPDATE:
My Mi Smart Plug is only showing "On" and i don't see an option to turn it off or to see how much power it is consuming. Is this supported in current beta release?
-
- Posts: 34
- Joined: Saturday 17 December 2016 12:13
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Estonia
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Did you try to press lamp icon?paszczus wrote:My Mi Smart Plug is only showing "On" and i don't see an option to turn it off
-
- Posts: 8
- Joined: Saturday 14 January 2017 11:46
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thank you @arkoko, i thought it will be added to Switches automatically. After manually adding it to Switches i can turn it off and on!
Is there a way to see power consumption too?
Is there a way to see power consumption too?
Who is online
Users browsing this forum: No registered users and 1 guest