corbin wrote:This is already fixed after the last firmware update.

Moderator: leecollings
corbin wrote:This is already fixed after the last firmware update.
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.
what is your domoticz version?arkoko wrote:corbin wrote:This is already fixed after the last firmware update.Which number of FW you talking about? I have 1.4.1_143.0141 and still magnet always closing in 1 minute (beta 6371).
Is waiting your github correction to provid it to domoticz main betalevynger wrote:what is your domoticz version?arkoko wrote:corbin wrote:This is already fixed after the last firmware update.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.
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.
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.
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.
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.
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.
Code: Select all
{"cmd":"iam","port":"9898","sid":"f0b4299ae4b8","model":"gateway","ip":"192.168.5.15"}
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\\"}"}')
Code: Select all
{'cmd': 'heartbeat', 'token': 'ydfnrsd4cjgIVcTj', 'model': 'gateway', 'sid': 'f0b429b3d7cc', 'data': '{"ip":"192.168.0.107"}', 'short_id': '0'}
http://stackoverflow.com/questions/3018 ... 5-for-bothcorbin wrote: Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
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...
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.
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.
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}"}
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
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
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 ?
Users browsing this forum: No registered users and 1 guest