Which number of FW you talking about? I have 1.4.1_143.0141 and still magnet always closing in 1 minute (beta 6371).corbin wrote:This is already fixed after the last firmware update.
Xiaomi Smart Home Suite (very cheap) compatibilty?
Moderator: leecollings
-
- Posts: 34
- Joined: Saturday 17 December 2016 12:13
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Estonia
- Contact:
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
-
- 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?
Do you mean i should create VM image of gentoo linux for Vmware for you? I am not sure that i understood you correct.corbin wrote:How about you create a VM of your setup that I can test with?murtadin wrote:
First check /usr/bin/emerge if file exists. Check permitions. You are trying it under root user? If not -
looks like you have to install stage 3. Just download it and unzip to the system root.
I have installed missing liveusb library, required by precompiled binaries - now i can start ./domoticz, but still no luck. No device appear in device menu. Still need help to debug this case.
-
- 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?
what is your domoticz version?arkoko wrote:Which number of FW you talking about? I have 1.4.1_143.0141 and still magnet always closing in 1 minute (beta 6371).corbin wrote:This is already fixed after the last firmware update.
this issue was resolved already by corbin.
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Is waiting your github correction to provid it to domoticz main betalevynger wrote:what is your domoticz version?arkoko wrote:Which number of FW you talking about? I have 1.4.1_143.0141 and still magnet always closing in 1 minute (beta 6371).corbin wrote:This is already fixed after the last firmware update.
this issue was resolved already by corbin.
Edit : didn't see your work on github 1 hour ago sorry.
Now we have to wait about corbin to wakeup (it's only 6:05 on Brisban, wake up Corbin ! Europe waiting for you !)
Last edited by deennoo on Monday 16 January 2017 21:02, edited 1 time in total.
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: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
the pull request is ready in github, includes the aqara wireless, and aqara wired (only report)deennoo wrote:Is waiting your github correction to provid it to domoticz main betalevynger wrote:what is your domoticz version?arkoko wrote: Which number of FW you talking about? I have 1.4.1_143.0141 and still magnet always closing in 1 minute (beta 6371).
this issue was resolved already by corbin.
i just disconvered that there is another event "Dual Switch" with the wireless - will add it soon to a new pull.
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: RE: Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Try something today :levynger wrote:the pull request is ready in github, includes the aqara wireless, and aqara wired (only report)deennoo wrote:Is waiting your github correction to provid it to domoticz main betalevynger wrote:
what is your domoticz version?
this issue was resolved already by corbin.
i just disconvered that there is another event "Dual Switch" with the wireless - will add it soon to a new pull.
For cube and round switch, corbin set the Off option, but as they are "active switch" they never goes to off but on standby (MiHome never show off for those device).
I remove off from selector this works just have to check about % value for selector.
Will made it after your pull about dual button wireless switch.
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: RE: Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
done, removed old pull requests, patch-2 is ready with dual Click mode for the aqara wireless switch.deennoo wrote:Try something today :levynger wrote:the pull request is ready in github, includes the aqara wireless, and aqara wired (only report)deennoo wrote: Is waiting your github correction to provid it to domoticz main beta
i just disconvered that there is another event "Dual Switch" with the wireless - will add it soon to a new pull.
For cube and round switch, corbin set the Off option, but as they are "active switch" they never goes to off but on standby (MiHome never show off for those device).
I remove off from selector this works just have to check about % value for selector.
Will made it after your pull about dual button wireless switch.
-
- 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?
Great ! What is next device ? In wall plug ? The one shown before on this thread ? ... No api for this one, or maybe the outside wall plug is the same api.
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: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
If you can make it easy for me with a VM I can just download and run then I hope to be able to find what the problem is. Not one I have to play around with settings - as it is I've spent a bit of time just trying to get the thing running.murtadin wrote: Do you mean i should create VM image of gentoo linux for Vmware for you? I am not sure that i understood you correct.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
- 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: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Thanks, can you check I re-opened the right pull request - they were all closed.levynger wrote: done, removed old pull requests, patch-2 is ready with dual Click mode for the aqara wireless switch.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
- 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?
Can everyone that knows the sid of their gateway, report it here?
I want to see if I can shorten f0b4299ae4b8 so it can be converted to an int value.
Code: Select all
{"cmd":"iam","port":"9898","sid":"f0b4299ae4b8","model":"gateway","ip":"192.168.5.15"}
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?
corbin wrote:Can everyone that knows the sid of their gateway, report it here?
I want to see if I can shorten f0b4299ae4b8 so it can be converted to an int value.Code: Select all
{"cmd":"iam","port":"9898","sid":"f0b4299ae4b8","model":"gateway","ip":"192.168.5.15"}
Code: Select all
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"oaPNSolhcqpmG5gu","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"tAivdgpTAgNZIoHV","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"MSsVaS5tRVOmEEV8","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"SXx5S6qwTYR1Wlto","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"ofS1Uyk0A5YjR8FT","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
('received message:', '{"cmd":"report","model":"gateway","sid":"f0b4299a6a3e","short_id":0,"data":"{\\"rgb\\":1694498776}"}')
('received message:', '{"cmd":"report","model":"gateway","sid":"f0b4299a6a3e","short_id":0,"data":"{\\"rgb\\":0}"}')
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"qOEkOTi9YEtWCsfX","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
('received message:', '{"cmd":"heartbeat","model":"gateway","sid":"f0b4299a6a3e","short_id":"0","token":"EKlvQaYzg5Dylvyd","data":"{\\"ip\\":\\"192.168.2.193\\"}"}')
And on page:
https://notes.jmsinfor.com/blog/post/admin/Xiaomi-Hub
see:
Code: Select all
{'cmd': 'heartbeat', 'token': 'ydfnrsd4cjgIVcTj', 'model': 'gateway', 'sid': 'f0b429b3d7cc', 'data': '{"ip":"192.168.0.107"}', 'short_id': '0'}
f0b429b3d7cc
f0b4299a6a3e
- 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?
thanks, all starts with f0b4, so what I've coded should work.
Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
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?
http://stackoverflow.com/questions/3018 ... 5-for-bothcorbin wrote: Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
- 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?
There is a hue2rgb function already but I might be using it wrong, will try some other functions too.vetalok wrote:http://stackoverflow.com/questions/3018 ... 5-for-bothcorbin wrote: Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
Edit - I was making a mistake. Gateway light is working now, setting to the correct colour.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
-
- 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?
May be you can give me ssh access to your VM which you hve installed? And i can install all neceseray libs in order to run domoticz. If not - i will do something on my side. Probably install gentoo on standalone host.corbin wrote:If you can make it easy for me with a VM I can just download and run then I hope to be able to find what the problem is. Not one I have to play around with settings - as it is I've spent a bit of time just trying to get the thing running.murtadin wrote: Do you mean i should create VM image of gentoo linux for Vmware for you? I am not sure that i understood you correct.
But who can explain - which are minimal requirements to run successful domoticz with xiaomi gateway? I mena linux kernel options, libs etc?
Tonight i installed ubuntu 14.04 server on new pc and tested domoticz. Almost all was working except minor bugs and look at this:
- Spoiler: show
- 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?
corbin wrote:There is a hue2rgb function already but I might be using it wrong, will try some other functions too.vetalok wrote:http://stackoverflow.com/questions/3018 ... 5-for-bothcorbin wrote: Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
Edit - I was making a mistake. Gateway light is working now, setting to the correct colour.
Emm... When I enable LED from MiHome - Domoticz off light
Log:
Code: Select all
2017-01-17 15:16:30.337 (XiaomiGateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-01-17 15:16:30.339 {"cmd":"report","model":"gateway","sid":"f0b4299a6a3e","short_id":0,"data":"{\"rgb\":1694440192}"}
2017-01-17 15:16:31.337 XiaomiGateway: Updating existing - nodeid: f0b4299a6a3e
2017-01-17 15:16:31.337 (XiaomiGateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-01-17 15:16:31.339 {"cmd":"report","model":"gateway","sid":"f0b4299a6a3e","short_id":0,"data":"{\"rgb\":0}"}
-
- 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?
On/OFF looks to be solve since 1h30 gmt today
Have a different probleme :
brightness doesn't work but normal as show on log message :
It's time to concidering a beer donation for corbin, do you have a paypal account ?
Have a different probleme :
brightness doesn't work but normal as show on log message :
Code: Select all
2017-01-17 08:03:58.379 User: Admin initiated a switch command (8/Xiaomi RGB Gateway/Set Level)
2017-01-17 08:03:58.379 XiaomiGateway: Setting brightness not implemented, will try to fix this later
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?
I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working?vetalok wrote: Emm... When I enable LED from MiHome - Domoticz off light
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
- 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?
Appreciate that thanks, but If you want to make a donation, please use the donate link on https://www.domoticz.com/deennoo wrote: It's time to concidering a beer donation for corbin, do you have a paypal account ?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Who is online
Users browsing this forum: No registered users and 0 guests