Bluetooth Scan

Action dot.radiowaves.left.and.right

action.bluetooth_scan

Read which Bluetooth devices your Mac is connected to right now — and, optionally, the ones that are paired but currently offline. Pick a target device (for example, your headphones) and the node pre-chews the answer into a plain true/false you can wire straight into a Condition: “AirPods connected → is → true”.

How it works

Target matching

When you pick a specific device, the node matches it against the scan by the device name first (so the match survives address randomization), then falls back to the remembered address (so the match survives a rename).

Outlets

Permissions

Ports

DirectionNameData TypeDescription
InputInputAnyIncoming payload (passed through, with the scan results merged in)
OutputDoneAnyFires once with the rollup scalars and the per-device array
OutputEach DeviceAnyFans out, running downstream once per device found

Configuration

FieldTypeDefaultDescription
targetDropdownanythingAnything nearby just reports the device list. A specific device… reveals a device picker and sets the targetDevice* outputs.
deviceDevice PickerOpens a live “Choose a Device” sheet (connected devices pinned first). The picker always lists every device your Mac is paired with — including ones that are currently off — so you can target a device even when it isn't connected; the includePairedOffline toggle below only affects what the node reports at run time. Stored as the chosen device's name and remembered address.
includePairedOfflineBooleanfalseWhen off, only currently-connected devices are reported. Turn it on to also include devices that are paired but not connected.

Output Variables

On the Done outlet:

VariableTypeDescription
targetDeviceConnectedBooleanThe headline check — true if your chosen target device is connected right now. Wire it into a Condition as “is true”.
targetDevicePresentBooleantrue if your target is in the scan (connected, or paired-offline when that toggle is on)
targetDeviceNameStringName of the matched target device, or empty if none matched
deviceCountNumberHow many devices the scan found
deviceNamesStringComma-joined device names, connected first then alphabetical
foundBooleantrue if the scan found at least one device
statusStringok, empty, or permission_denied
summaryStringA one-line plain-English summary of the scan
devicesArrayPer-device details (name, address, kind, transport, connected)

On each Each Device iteration:

VariableTypeDescription
deviceNameStringThis device's name
deviceAddressStringThis device's MAC address
deviceKindStringDerived kind: headphones, audio, keyboard, mouse, gamepad, phone, computer, or unknown
connectedBooleanWhether this device is connected right now
indexNumberThis device's 0-based position in the scan

Example

Pause music only when your headphones are not connected: