Skip to content

Is it possible to see unpaired device? #8

Description

@nospam2k

Right now I'm just using the following code to list devices. I have one bulb paired in the app and one new bulb. The response is:

Connection Established
Luminary{capabilities=[Switchable, Dimmable, PureWhite], on=false, luminance=100, address=xxxxxxxxxxxxxxxxxx, firmware='xxxxxxxxxxx', name='xxxxxxxxxxxxx'}

I am not seeing the unpaired bulb. Is it possible to pair without the app or should I be seeing unpaired bulbs?

  public static void main(String[] args)
  {
    StatusListener statusListener = new StatusListener() {
      @Override
      public void onConnect() {
        System.out.println("Connected");
      }

      @Override
      public void onConnectionFailed() {
        System.out.println("Connection Failed");
      }

      @Override
      public void onConnectionEstablished() {
        System.out.println("Connection Established");
      }

      @Override
      public void onConnectionLost() {
        System.out.println("Connection Lost");
      }
    };

    LightifyLink lightifyLink = new LightifyLink("192.168.0.41", statusListener);
    lightifyLink.performSearch(System.out::println);

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions