Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin conflict #29

Open
astrojetson8 opened this issue Jul 9, 2017 · 7 comments
Open

plugin conflict #29

astrojetson8 opened this issue Jul 9, 2017 · 7 comments

Comments

@astrojetson8
Copy link

@Bluebie @aholstenson
After updating this plugin homebridge-mi-aqara plugin has few issues.
Following are not responding:

I did try with v 0.6.0 with 0.3.1, still same issue. I suspect it's miio library issue. I added @aholstenson and I will update author @YinHangCode of homebridge-mi-aqara plugin.

fyi, incase anyone else is searching forum to do revert back.
sudo npm -g install [email protected]
sudo npm -g install [email protected]

@aholstenson
Copy link

Hi, I think this is related to both plugins using the developer API and getting out of sync. I changed how miio interacts with the gateway but had not yet released it.

I took some time just now to do a release. In 0.13.0 the gateway should no longer use the developer API for more than receiving events. Hopefully that means that the other libraries using the developer API no longer get confused.

@astrojetson8
Copy link
Author

@aholstenson thanks for the explanation. i updated to miio library 0.13.0 but i still couldn't get it to work. Ok, I did get it to work intermittently once which is strange.

--
when i ran miio --discover --sync i got following for one of the zigbee plugs

Device ID: 158d00015dc113
Model info: lumi.motion (motion)
Address: Owned by 52051385
Token: Automatic via parent device
Support: At least basic

--
traced it back to log in homebridge:

[XiaomiMiio] device discovered 52051385
Investigating Miio Device at udp://192.168.1.10:54321

fyi, i noticed following but it shouldn't be an issue related to above:
Loaded plugin: homebridge-miio
[7/9/2017, 7:24:13 PM] Registering platform 'homebridge-miio.XiaomiMiio'
[7/9/2017, 7:24:13 PM] ---
failed to load BLE module!

@astrojetson8
Copy link
Author

i got it to work with [email protected] and [email protected]

@Bluebie
Copy link
Owner

Bluebie commented Jul 10, 2017

were there any issues @astrojetson8 ? i'll push a revised version of homebridge-miio if not

@astrojetson8
Copy link
Author

no, it's been running fine since yesterday.
i'll test the updated version when its up, and report back.

fyi:
i was bit perplexed why it worked intermittently as per my original post. however, after gateway restart it worked fine. i could duplicate this multiple times. to get it work i had to restart the gateway.

@Bluebie
Copy link
Owner

Bluebie commented Jul 10, 2017

published

@astrojetson8
Copy link
Author

@Bluebie i installed it last night, and same issue as my first post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants