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

Discovering new lights #2

Open
Baltor12 opened this issue Feb 12, 2018 · 2 comments
Open

Discovering new lights #2

Baltor12 opened this issue Feb 12, 2018 · 2 comments

Comments

@Baltor12
Copy link

Hey,

I would like to know how we can discover/ scan new AWOX lights and then control them.

From the code i can see you are controlling the light via connecting it through the MAC address.

Could you also please let me know how we can get the adress from the light.

thanks

@morgan-wild
Copy link

UP

@rzr
Copy link

rzr commented Jan 18, 2019

Using:
https://github.com/abandonware/noble/blob/master/examples/advertisement-discovery.js

  sudo hciconfig hci0 up # reactivate hci0 or another hciX you want to use
  sudo modprobe -v btusb &&  sudo $(which node) examples/advertisement-discovery.js 

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