Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

How do you get the bluetooth MAC address? #24

Open
AdrianGarside opened this issue Feb 21, 2023 · 1 comment
Open

How do you get the bluetooth MAC address? #24

AdrianGarside opened this issue Feb 21, 2023 · 1 comment

Comments

@AdrianGarside
Copy link

I followed instructions and links here:
https://community.home-assistant.io/t/controlling-a-bluetooth-led-strip-with-ha/286029/17

And was able to use nRF Connect for Mobile to discover and successfully send control commands to the Happy Light LED strip in my daughters room. So I was going to write a custom integration with shell scripts as described earlier on in the above. But then saw you already had. Which is awesome!

But no bluetooth LE monitoring app that I've found actually lists the MAC address of the device! Without which I'm dead in the water. What software can I use to get the MAC for LED controller?

How are folks discovering the MAC address of the device they want to control?

@AdrianGarside
Copy link
Author

AdrianGarside commented Feb 21, 2023

I found 'hcitool lescan' on linux spat out a mac address for the device. But when I try and use that with gatttool I get an 'Invalid handle' error and when I try and use it to setup this integration it fails and the logs has a 'Error getting status: No device found for address ' error.

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

No branches or pull requests

1 participant