Skip to content

Latest commit

 

History

History
96 lines (65 loc) · 3.68 KB

readme.adoc

File metadata and controls

96 lines (65 loc) · 3.68 KB

blemacd

Blemacd is a macOS daemon to control BLE devices via Unix socket. This is a pet project mainly to control Philips Hue White Ambiance BLE bulb via Keyboard Maestro and/or Hammerspoon.

It is based on Apple’s CoreBluetooth library and its Rust wrapper.

Open questions

  • Better docs and HUE instructions

  • Handle or limit multiple connections?

  • Confirmation on command result (like status change)

  • Populating list of devices may be done by different API calls:

    • CentralManager::get_peripherals/ retrievePeripheralsWithIdentifiers

    • CentralManager::get_peripherals_with_services, retrieveConnectedPeripheralsWithServices

    • CentralManager::scan scanForPeripheralsWithServices (CoreBluetooth docs)

  • Looks like some peripherals can have multiple names?

Backlog

Known problems

Licensing

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.