bleak
noble
Our great sponsors
bleak | noble | |
---|---|---|
10 | 3 | |
1,527 | 520 | |
- | 1.7% | |
7.6 | 5.6 | |
3 days ago | 16 days ago | |
Python | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bleak
-
bleak VS SimpleBLE - a user suggested alternative
2 projects | 3 Jul 2023
-
Sending data from Windows PC to microcontroller using BLE
I've used Bleak in Python https://github.com/hbldh/bleak to connect to BLE devices from my laptop using the built-in card. I can iterate over services/characteristics, transmit stuff, use indicates, etc.
-
Reading Data from an Arduino BLE using Raspberry Pi
On the Raspberry Pi I recommend the Python library Bleak. It has some examples, such as the sensortag.py example that shows how to read characteristics, and the enable_notifications.py example that shows how to subscribe to notifications to read data from a characteristic.
-
Automating Testing for BLE Devices
We’ve automated testing on our BLE device. Our rig is based on a Raspberry pi configured with a Gitlab-runner that runs a test suite written in Python. We use a library called Bleak: https://github.com/hbldh/bleak
-
Raspberry Pi, meet Arduino. Arduino, meet Raspberry Pi. Let’s talk Bluetooth (LE)
There are quite a few good BLE helper libraries out there that can make my job easier. But not all are created equal, some may be perfect for building peripheral BLE applications but may not be the best for central BLE applications. As I am going to make the Raspberry Pi the client, Bleak is a great one to use. Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers. It is designed to provide a asynchronous, cross-platform Python API to connect and communicate with other BLE devices e.g. sensors.
-
Bluetooth package that works with MacOS Monterey
There is a workaround in here although they claim this is fixed in most recent update: https://github.com/hbldh/bleak/issues/720
-
ESP32 Python BLE example
If your Python script on your computer should work as the GATT client and your code on the ESP32 as the GATT server, Bleak is an easy-to-use Python library. Have a look at the code examples.
- hbldh/bleak: BLE platform-Agnostic Klient (for Python)
- Bluetooth Low Energy Platform Agnostic Klient for Python
noble
-
Pointers on where to start? (Bluetooth): Turn gatttool cmd into a (node.js?) plugin?
I use noble (in my plugins I use this fork) as a JS wrapper around BLE/GATT. Without basic coding proficiency the integration of it into a homebridge plugin will surely be a daunting task, but the maybe something to go off of.
-
AM43 blinds
Install Noblem Package - https://github.com/abandonware/noble#os-x
-
hbldh/bleak: BLE platform-Agnostic Klient (for Python)
I really like the node package noble
What are some alternatives?
gatt-python - Bluetooth GATT SDK for Python
bt-mqtt-gateway - A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
raspberry-pi-home-automation - Code examples, errata and additional tips and references to interesting projects for the book "Control Your Home with Raspberry Pi: Secure, Modular, Open-Source and Self-Sufficient"
homebridge-triones-led-strip - Triones LED Lightbulb Plugin
pc-ble-driver-py - Python bindings for the ble-driver library
blatann - Python BLE library for using Nordic nRF52 with Connectivity firmware
micropython-lib - Core Python libraries ported to MicroPython
homebridge-magic-blue-bulb - MagicBlue LED Lightbulb Plugin
python-keyboard - A hand-wired USB & Bluetooth keyboard powered by Python and more
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.