bluesnooze icon indicating copy to clipboard operation
bluesnooze copied to clipboard

Feature Request

Open brasilikum opened this issue 5 years ago • 9 comments

Hey, as Issues are not allowed (is that on purpose?), I wanted to propose the following feature, but maybe it is out of scope:

Problem

I have two headphones: One of them can only connect to one device at a time. That one I would like to disconnect on snooze. The other one can connect to two devices at a time. That one I would like not to disconnect on snooze.

Possible Solution

I am aware that blueznooze currently totally disables bluetooth. This feature would require to selectively disconnect devices

Alternatives

It might be possible to achieve this with another tool, for example http://www.hammerspoon.org/

brasilikum avatar Apr 27 '21 15:04 brasilikum

@brasilikum do you have an example of implementing this with hammerspoon?

ophiry avatar Oct 10 '21 13:10 ophiry

No, sorry. I am working around it for now

brasilikum avatar Oct 12 '21 22:10 brasilikum

This would be awesome as well because I suspect Bluesnooze is the reason I can't wake up my Mac M1 using my BT mouse/kbd (which makes sense), but I love how it disconnects my headphones which would otherwise be drained of battery every day.

I guess this is very different from disabling the entire BT adapter, but an option to force disconnect of selected devices only where I could choose to only disconnect my headphones would be AWESOME.

henhal avatar Jan 11 '22 14:01 henhal

@henhal Yeah that's my exact need too, it's just my headphones that I accidentally leave on all day because I forget to turn them off. But they turn off automatically if my Mac were to disconnect before sleeping.

fmckeogh avatar Mar 22 '22 18:03 fmckeogh

even if this is for Bluetooth! but if it could add some function to make sure the OS sleep will perfect! my MBP always no sleep when my lid is closed

hzmsrv avatar Jun 27 '22 07:06 hzmsrv

@henhal I wrote this really simple app to do what I wanted, might be of use to you too:) https://github.com/fmckeogh/hedy

fmckeogh avatar Jun 29 '22 10:06 fmckeogh

@fmckeogh Cool, will check it out. Do you have a description, as there's no README etc?

henhal avatar Jun 29 '22 10:06 henhal

@henhal oh sorry yeah pushing a tidy-up commit in a sec. Usually you'd add the program to your login items, it runs in the background with two observers for screen unlocking and locking, connecting and disconnecting respectively.

fmckeogh avatar Jun 29 '22 10:06 fmckeogh

Sorry, issues are not open, so leaving a comment here. Can you please put a license on this product? It should help use it in a corporate environment. Like, switch my favorite headphones between work and personal laptops.

singalen avatar Sep 12 '22 21:09 singalen

Heya going to close this since I don't want to keep adding features to this simple tool which meets my needs. Selectively disconnecting specific Bluetooth devices would by neat but at the same time it'd need a complete rewrite (this app simply toggles the power state of Bluetooth on / off).

odlp avatar Feb 05 '23 16:02 odlp

@singalen sorry for the delay - added an MIT license in 513c87a7675d32aa07ddb9e72ca69a55534bd750

odlp avatar Feb 05 '23 16:02 odlp