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

Maximum RM device ? #210

Closed
lynque opened this issue Nov 23, 2017 · 5 comments
Closed

Maximum RM device ? #210

lynque opened this issue Nov 23, 2017 · 5 comments

Comments

@lynque
Copy link

lynque commented Nov 23, 2017

Thank you for making great plugin.
I wonder if I use more than 2RM device. I have 3 device , but I can only 2 device maximum .
*server cannot detect 3rd device.

Is there any way to use 3 RM device at the same time ?

Thank you

@dermotos
Copy link

I get this too. I can only control 3 devices though. Cannot detect 4 at the same time. Looking in getDevice.js, there seems to be a limit of 5 devices? Bumping this up to 8 didn't seem to let it detect all 4 devices however.

@dermotos
Copy link

To add to this, today I received an RM Pro to supplement my 4 RM Minis. I can successfully detect and use the Pro along with 3 Mini devices.

@lprhodes
Copy link
Owner

lprhodes commented Feb 8, 2018

@dermotos The limit = 5 in getDevice.js isn't actually doing anything

You could try increasing the number of times that it tries to discover new devices by increasing the value in if (count >= 5) {.

You could also decrease the amount of time between discovers by decreasing the value in the following:

  setTimeout(() => {
    discoverDevices(count);
  }, 5 * 1000)

I only have one device so I can't help out much more than that. There should be no limit (within reason). I don't suppose one of the RM Mini's has the same MAC address as another?

Another suggestion is to explicitly specify the IP address of the RM device you with to use in the command as per https://github.com/lprhodes/homebridge-broadlink-rm#multiple-broadlink-rm-devices

@Nude2life
Copy link

anyone solved this? I got 3 RM4 mini and can only discovered 2 !

@skumancer
Copy link

This is happening to me too. I've got 4 RM Mini 4 and an RM Mini 3, I can only ever control 3 devices. @lprhodes if you have any debugging steps I should follow, LMK.

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

No branches or pull requests

5 participants