Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ttu committed Jan 20, 2025
1 parent 6b55bb9 commit 30e1e68
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Changelog

### [Unreleased]

* ADD: RUUVI_MACOS_USE_MAC_ADDR environment variable to enable MAC address usage on macOS

## [3.0.0] - 2025-01-13
* ADD: Install Bleak automatically on all platforms
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,16 @@ if __name__ == "__main__":

Check [get_async_bleak](https://github.com/ttu/ruuvitag-sensor/blob/master/examples/get_async_bleak.py) and other async examples from [examples](https://github.com/ttu/ruuvitag-sensor/tree/master/examples) directory.

#### Use MAC Address Instead of Device-Specific ID on macOS

Bleak has a workaround for macOS to use MAC address instead of device-specific ID. This is experimental feature from Bleak and may break with macOS updates.

Set the `RUUVI_MACOS_USE_MAC_ADDR` environment variable to `true` to enable it.

```sh
$ export RUUVI_MACOS_USE_MAC_ADDR=true
```

#### Bleak dummy BLE data

Bleak-adapter has a development-time generator for dummy data, which can be useful during development if no sensors are available. Set the `RUUVI_BLE_ADAPTER` environment variable to `bleak_dev`.
Expand Down

0 comments on commit 30e1e68

Please sign in to comment.