mitsuhiko / idasen-control

Lets you control IKEA IDÅSEN desks from the command line.
https://www.npmjs.com/package/idasen-control
MIT License
426 stars 25 forks source link

MacOS: Connect to desk to detect address #9

Open claudiodekker opened 3 years ago

claudiodekker commented 3 years ago

Solves #3

On MacOS, the peripheral address is unknown until it is being connected to. By connecting to it once, we work around this issue.

https://github.com/abandonware/noble#event-peripheral-discovered