Actions icon indicating copy to clipboard operation
Actions copied to clipboard

Action proposal: Get Bluetooth Devices

Open jsiegenthaler opened this issue 3 years ago • 1 comments

Description

Get audio playback destination works for Bluetooth audio devices, but sometimes I wish to see if another Bluetooth device is paired and connected.

Can you make an action that returns a list of Bluetooth paired devices, and the device status and type?

Status = Connected/Not Connected Device Type = the device type as reported by the system (audio device, heartrate monitor, keyboard, etc)

Thanks! Great App!

jsiegenthaler avatar Apr 08 '22 08:04 jsiegenthaler

Yeah. I will look into it. I just did a release yesterday, so it will be a while until I get to this.

sindresorhus avatar Apr 08 '22 08:04 sindresorhus

This is what I was hoping to find. When I connect to power, I want to set my Focus based on whether a certain device is connected. (e.g., if my motorcycle helmet is connected, I want it to turn on Driving when it connects to power)

I can do all of that except detect whether the device is connected or not...

signe avatar Nov 28 '22 06:11 signe

Done in v3: https://github.com/sindresorhus/Actions/releases/tag/v3.0.0

sindresorhus avatar Dec 20 '23 23:12 sindresorhus

Device Type = the device type as reported by the system (audio device, heartrate monitor, keyboard, etc)

I was unable to find out how to get the device type, but I think the most common use-case is to just check for known devices.

sindresorhus avatar Dec 20 '23 23:12 sindresorhus