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

force device to connect with router instead of coordinator #752

Closed
trekker25 opened this issue Dec 23, 2018 · 17 comments
Closed

force device to connect with router instead of coordinator #752

trekker25 opened this issue Dec 23, 2018 · 17 comments
Labels
stale Stale issues

Comments

@trekker25
Copy link

trekker25 commented Dec 23, 2018

is there a way to have an end device (aqara motion sensor) to connect to the nearest router instead of the coordinator?

The stick is in my utillity closet and next to it is my toilet with a Hue bulb (router) and Aqara motion sensor. The router and sensor are only 30 cm away from each other and it would be logical the sensor connects to the router instead of coordinator (thick wall between).

Now there is a link quality of 20 - 30 for the motion sensor, and connecting to the router would make more sense.

Battery in and out? Or how to solve this?

EDIT i pulled out the battery and put back in. Now all devices (including routers) are directly connected to coordinator and not router (in hue remote was connected to router)

is there a command to activate a heal / optimize of the zigbee network?

@Koenkk
Copy link
Owner

Koenkk commented Dec 25, 2018

Pairing it while having it close to the bulb should do the trick.

@lolorc
Copy link
Contributor

lolorc commented Dec 28, 2018

is pairing through routers working ?

@Koenkk
Copy link
Owner

Koenkk commented Dec 28, 2018

This is hard to say, depends on the router.

@h4nc
Copy link

h4nc commented Dec 29, 2018

Does it work with a CC2530 router?

@Koenkk
Copy link
Owner

Koenkk commented Dec 29, 2018

I`m not sure, @ptvoinfo is this supported?

@nickrout
Copy link

Can anyone tell me if it work to pair to a router with a Xiaomi Power Plug ZNCZ02LM?

@hvddrift
Copy link

I also would like to know the answer to this one.

Can anyone tell me if it work to pair to a router with a Xiaomi Power Plug ZNCZ02LM?

@ptvoinfo
Copy link
Contributor

@hvddrift Both devices are routers and should be paired with a coordinator. You cannot pair a router to a router.

@hvddrift
Copy link

I am still trying to understand how this should work...

I have the following network
chrome_2019-01-19_22-31-44

The Motion sensor is 1 meter away from a Xiaomi Plug (router), and yet it joins back to the controller with a link strenth of 1. Is this intended? Should it try to join the router (I assume the signal strength would be stronger)

@Koenkk
Copy link
Owner

Koenkk commented Jan 19, 2019

@hvddrift I would recommend updating to the latest dev branch, this will show the mesh network better (as one node can be connected to multiple)

@hvddrift
Copy link

Noob, question. Are there instructions for updating to the dev branch?

Thanks
dank je

@hvddrift
Copy link

hvddrift commented Jan 19, 2019

I worked it out.. Found another thread.

So, this is my network map now. Has some more information. But the Motion Sensor still bypasses the router. What makes the device connect to a router or direct to the Coordinator?

chrome_2019-01-20_00-34-56

@Koenkk
Copy link
Owner

Koenkk commented Jan 19, 2019

@hvddrift the device self decides about this, sometimes it helps to repair the device while having it close to the router you want to pair it to.

@hvddrift
Copy link

And another basic question... To "repair" a device simply means to remove it and repair it?

@h4nc
Copy link

h4nc commented Jan 20, 2019

Yes, remove it (you can find how to remove files in the docs) and than pair it again.

@stale
Copy link

stale bot commented Mar 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issues label Mar 21, 2019
@stale stale bot closed this as completed Mar 28, 2019
@tuinstoelen
Copy link

Yes, remove it (you can find how to remove files in the docs) and than pair it again.

This comment finally allowed me to solve my Aqara Temperature sensors not connecting to a router, but only to the main hub. It turns out, that if i first explicitly remove the sensor in MQTT, then allow pairing only to a specific router (by using the drop down button), the sensor would connect to the router.

It seems like the sensor remembers which hub/router it was connected to, and will not connect to any other router if you just press the button for 7(?) seconds. First explicitly removing it from MQTT solved this for me.

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

No branches or pull requests

8 participants