Re:A Python script that will Slack a room if a Sonos speaker...
by thibaut_barrere on Friday September 27, 2024 @04:34PM
(#41675261)
Here is the recipe: you talk to them first about it, then they do nothing about it for weeks. And you repeat and it goes on. Then you create the script.
Re:A Python script that will Slack a room if a Sonos speaker...
by incellation on Friday September 27, 2024 @05:26PM
(#41675689)
Nothing says, “I’m out of touch with the world today” more than statements like “just try talking to them”
Talking to people doesn’t get one anywhere in today’s individualistic society.
If they’re annoying neighbors, they’ll become even more annoying.
If they’re your kids they’ll just ignore you more.
If they’re annoying neighbor kids they’ll get away with murder while you can’t do anything and their terrible parents encourage them.
Awful people are awful. Reasonable people aren’t likely doing things that need correction to begin with, or will quickly realize they’re doing it and self-correct.
Re:A Python script that will Slack a room if a Sonos speaker...
by ziddoap on Friday September 27, 2024 @05:34PM
(#41675770)
>Talking to people doesn’t get one anywhere in today’s individualistic society.
>If they’re annoying neighbors, they’ll become even more annoying. If they’re your kids they’ll just ignore you more. If they’re annoying neighbor kids they’ll get away with murder while you can’t do anything and their terrible parents encourage them.
If this has been your experience, that's a shame.
Talking to people has been the most effective tool in my dispute-resolution toolbox for decades. It still is.
Re:A Python script that will Slack a room if a Sonos speaker...
by jjulius on Friday September 27, 2024 @06:01PM
(#41675978)
This is the complete opposite of my lived experience. I've yet to talk to a neighbor and have it result in a more annoying experience, and my kids are great at talking things through with us without ignoring us. Not every experience is perfect, but then nothing in life is perfect all the time, so that's par for the course.
Awful people are indeed awful, but most people aren't awful. In fact, they're reasonable.
Re:A Python script that will Slack a room if a Sonos speaker...
by grayhatter on Friday September 27, 2024 @05:47PM
(#41675878)
sounds more like you're just bad at talking... when I talk to somebody with respect, it's very rare they will they not listen to me, or that they wont make a good faith effort to try to help.
Re:A Python script that will Slack a room if a Sonos speaker...
by recursive on Friday September 27, 2024 @04:18PM
(#41675119)
Other than turning down the speaker, what possible reason could I have to know that it's "too loud"? This reminds me of smart refrigerators that can notify me when the door is ajar. I'd rather have it constructed so that it just closes automatically. This is the general philosophy anyway. I know that something could be physically obstructing the door. But in that case, I'm more likely to notice a physical alarm than I am to see the notification on some tech device.
In that spirit, it seems better to have a speaker that can't be set higher than the "approved" maximum. If this thing is measuring actual sound level rather than set volume, a slow release limiter, either in software or hardware would just make it automatically correct without the whole notification cycle thing.
Re:A Python script that will Slack a room if a Sonos speaker...
by BalinKing on Friday September 27, 2024 @04:32PM
(#41675238)
The README says that the tool "adjusts [the speaker's] volume if it exceeds a specified maximum" and that the notification is actually just to let you know that this has been done.
Re:A Python script that will Slack a room if a Sonos speaker...
by csallen on Friday September 27, 2024 @05:34PM
(#41675775)
Agree that setting a volume limit on the speaker is the best solution. It gives the person operating the speaker immediate feedback: "It doesn't get any louder than this."
A program that turns the volume down once a speaker gets too loud is, functionally, the same thing? Assuming the feedback is instant, i.e. it instantly decreases the volume.
If there's a delay, however, I can see how a notification might be helpful, if only to alert people, "Hey, this isn't just magically getting quieter. There's a program we've set up that does it."
Re:A Python script that will Slack a room if a Sonos speaker...
by mulmen on Friday September 27, 2024 @05:42PM
(#41675840)
With API latency there’s a zero percent chance this program responds instantly. According to the README it polls the volume setting every CHECK_INTERVAL seconds. It’s not like this program hooks the volume input event and blocks anything over the max, which is what the actual Sonos setting does.
What would be cool is an ambient noise sensor that can turn down the music if a room gets too loud, say from people talking over the music.
Re:A Python script that will Slack a room if a Sonos speaker...
by shakna on Friday September 27, 2024 @06:37PM
(#41676210)
You want to know, because someone in management has decided its a problem, and are intentionally taking choice away from you. It isn't meant to be actionable, but a slap on the wrist.
Re:A Python script that will Slack a room if a Sonos speaker...
by serf on Friday September 27, 2024 @04:32PM
(#41675241)
>This reminds me of smart refrigerators that can notify me when the door is ajar. I'd rather have it constructed so that it just closes automatically.
a world of liability is escaped by avoiding that feature add. This is similar to why self-closing doors/trunks/hatches took so long to catch on. It wasn't a technology problem, Cadillac and Rolls Royce showed this stuff in the 60s -- it was a liability gamble.
Re:A Python script that will Slack a room if a Sonos speaker...
by marcellus23 on Friday September 27, 2024 @05:18PM
(#41675634)
Not my fridge :( I'm renting an apartment and they installed some awful fridge where the doors don't close on their own. In fact, there's actually some resistance so that you have to push it with some effort to close it.
I've been living here for months and I still forget to close it half the time. But, at least it has a "helpful" feature that beeps at me (very quietly) if it's left open.
Re:A Python script that will Slack a room if a Sonos speaker...
by perryizgr8 on Friday September 27, 2024 @10:14PM
(#41677351)
Yeah my new fridge also has this for some reason. There is a sort of detent at the quarter open positon and it won't go past that on its own. You have to push it past that point to close it. And it will beep if you leave it open for a few minutes. Absolutely baffling design.
Re:A Python script that will Slack a room if a Sonos speaker...
by marcellus23 on Wednesday October 02, 2024 @11:42AM
(#41721794)
This is exactly the case for me. People suggested oiling the hinge or something but from examining the mechanism, it just appears to be designed this way. No idea why.
Re:A Python script that will Slack a room if a Sonos speaker...
by Brian_K_White on Saturday September 28, 2024 @09:13AM
(#41680035)
I bet it's still designed to and trying to, and simply failing to for any number of reasons.
It's fine if it tries but only weakly, and fails sometimes because of that.
One fridge failing every time is still just "sometimes" for the design.
Failing to chop off a babies head is an intentional part of the design, and it's still auto-close even when it fails to close because of an obstruction or improper installation or manufacturing defect or even because of a bad design that would never work well but was intended to.
There's no way any fridge is actually designed to stop before closing. That will be some assembly or desgn flaw like the seal rubs or something.
I had to hack my mother in laws fridge to prevent the door seals from interfering and preventing the doors from closing all the way. It worked fine when it was new, but after a short while the shitty design of the door to door seals, the seals hit and rub on each other and and after a while the seals started to pull out to where they then interfered. The door was still designed to close itself, and tried to, just another part of the design sabotaged that intention.
It's such a weak force normally that it's easy interfere with. A hinge installed slightly off will look fine and work fine, but the seal on the hinge side maybe rubs just a bit, and that's enough to spoil it. Or a nick in a teflon washer acting as a bearing, producing a detent resting spot. Could be anything but there is no way it's in the drawings and designed to do that.
Re:A Python script that will Slack a room if a Sonos speaker...
by recursive on Friday September 27, 2024 @06:20PM
(#41676101)
Kind of. My home refrigerator does this and it just works. The one at work regular gets hung up nearly shut. There's a local minimum in the almost closed state. It only has enough momentum to close if builds up enough speed.
The ideal refrigerator should self close from any angle of open-ness. This is definitely not the case in general today.
Re:A Python script that will Slack a room if a Sonos speaker...
by mulmen on Friday September 27, 2024 @05:29PM
(#41675722)
It’s nothing special. The fridge is just leveled so the hinge is slightly higher on both sides. The door then naturally swings closed. Do French refrigerators have some kind of mechanism that would prevent this? Like a latch of some kind?
Re:A Python script that will Slack a room if a Sonos speaker...
by progval on Sunday September 29, 2024 @01:55AM
(#41685237)
I don't know. When I google this question in French, I see people whose fridge door does close on its own, asking for how to solve this issue; so they must find it inconvenient.
Re:A Python script that will Slack a room if a Sonos speaker...
by dimitri-vs on Friday September 27, 2024 @06:53PM
(#41676311)
I'm assuming OP already uses Slack for other things. Otherwise something like push notifications via Pushover would be low code, high visibility solution.
Re:A Python script that will Slack a room if a Sonos speaker...
by chrisallick on Friday September 27, 2024 @05:32PM
(#41675743)
are sonos still zero auth when on network and discoverable? god we had so much fun biking around manhattan looking for open wifi, discovering speakers, and play fart sounds. i think the repo is still up: Sonoying.
Re:A Python script that will Slack a room if a Sonos speaker...
by garrettgarcia on Friday September 27, 2024 @06:24PM
(#41676125)
Yep. They used to require a physical button press to connect, but that was a pain when speakers were mounted up high. The simple solution is to not run Sonos on an unsecured network.
Re:A Python script that will Slack a room if a Sonos speaker...
by jacktribe on Friday September 27, 2024 @05:48PM
(#41675899)
The max volume doesn't help with songs that are far, far louder than others. I have this issue in our coffee shop, where a song that was playing at a normal volume on my AirPods, is extremely loud on Sonos. We flag it and take it off the playlist.
Side note: Sonos is atrocious when it comes to functionality and reliability, and it has only gotten worse recently. I can't discourage people enough from purchasing their product.
Re:A Python script that will Slack a room if a Sonos speaker...
by garrettgarcia on Friday September 27, 2024 @06:20PM
(#41676099)
I worked on the TruePlay product. It won't help in this case. Even though most streaming services do loudness normalization to keep tracks at around the same volume as each other, some are still louder than others.
Re:A Python script that will Slack a room if a Sonos speaker...
by fidotron on Friday September 27, 2024 @08:23PM
(#41676832)
Sorry I meant if a bad calibration had sent the EQ off so a track sounds unusually loud relative to others via Airpods. I have certainly had to recalibrate mine when it woke up with no bass at all and everything was super quiet.
It only makes sense as a problem if there is something about the unique combination of Sonos and music or it would have the same relative difference when played on Airpods.
Re:A Python script that will Slack a room if a Sonos speaker...
by gtvwill on Friday September 27, 2024 @06:05PM
(#41676009)
Try installing it in commercial spaces with say a dozen+ devices. It's a nightmare. It's so God damn crap at syncing audio and introduced lag and glitches to audio despite all network conditions being rock solid. Pita to work with. Pretty bonkers given the price of the devices.
Just don't make 'em too effective. They gotta win sometimes or they'll stop trying.
Talking to people doesn’t get one anywhere in today’s individualistic society.
If they’re annoying neighbors, they’ll become even more annoying. If they’re your kids they’ll just ignore you more. If they’re annoying neighbor kids they’ll get away with murder while you can’t do anything and their terrible parents encourage them.
Awful people are awful. Reasonable people aren’t likely doing things that need correction to begin with, or will quickly realize they’re doing it and self-correct.
>If they’re annoying neighbors, they’ll become even more annoying. If they’re your kids they’ll just ignore you more. If they’re annoying neighbor kids they’ll get away with murder while you can’t do anything and their terrible parents encourage them.
If this has been your experience, that's a shame.
Talking to people has been the most effective tool in my dispute-resolution toolbox for decades. It still is.
Awful people are indeed awful, but most people aren't awful. In fact, they're reasonable.
In that spirit, it seems better to have a speaker that can't be set higher than the "approved" maximum. If this thing is measuring actual sound level rather than set volume, a slow release limiter, either in software or hardware would just make it automatically correct without the whole notification cycle thing.
Notifications should be actionable.
“The Sonos speaker is too loud” is a sort-of helpful message. I can infer the action.
Better is “the Sonos speaker is too loud, you should turn it down”.
Even better is “the Sonos speaker is too loud, click here to go to the volume settings”.
And better yet is “the Sonos speaker is too loud, should I turn it down?”
But best is the program just doing it and shutting up about it.
And best of all is just setting the volume limit on the speaker: https://support.sonos.com/en-us/article/setting-a-volume-lim....
A program that turns the volume down once a speaker gets too loud is, functionally, the same thing? Assuming the feedback is instant, i.e. it instantly decreases the volume.
If there's a delay, however, I can see how a notification might be helpful, if only to alert people, "Hey, this isn't just magically getting quieter. There's a program we've set up that does it."
What would be cool is an ambient noise sensor that can turn down the music if a room gets too loud, say from people talking over the music.
I have faced my share of micromanagers but nobody has ever told me how to set my notifications.
a world of liability is escaped by avoiding that feature add. This is similar to why self-closing doors/trunks/hatches took so long to catch on. It wasn't a technology problem, Cadillac and Rolls Royce showed this stuff in the 60s -- it was a liability gamble.
I've been living here for months and I still forget to close it half the time. But, at least it has a "helpful" feature that beeps at me (very quietly) if it's left open.
It's fine if it tries but only weakly, and fails sometimes because of that.
One fridge failing every time is still just "sometimes" for the design.
Failing to chop off a babies head is an intentional part of the design, and it's still auto-close even when it fails to close because of an obstruction or improper installation or manufacturing defect or even because of a bad design that would never work well but was intended to.
There's no way any fridge is actually designed to stop before closing. That will be some assembly or desgn flaw like the seal rubs or something.
I had to hack my mother in laws fridge to prevent the door seals from interfering and preventing the doors from closing all the way. It worked fine when it was new, but after a short while the shitty design of the door to door seals, the seals hit and rub on each other and and after a while the seals started to pull out to where they then interfered. The door was still designed to close itself, and tried to, just another part of the design sabotaged that intention.
It's such a weak force normally that it's easy interfere with. A hinge installed slightly off will look fine and work fine, but the seal on the hinge side maybe rubs just a bit, and that's enough to spoil it. Or a nick in a teflon washer acting as a bearing, producing a detent resting spot. Could be anything but there is no way it's in the drawings and designed to do that.
Huh? There are no refrigerators that don't have that feature.
The ideal refrigerator should self close from any angle of open-ness. This is definitely not the case in general today.
Yes, of course; what do you think the alternative was? There are no refrigerators that don't have that feature.
Now SlackOps encourages us to make the same mistake.
I never want an IM saying something worked. That’s just noise.
Side note: Sonos is atrocious when it comes to functionality and reliability, and it has only gotten worse recently. I can't discourage people enough from purchasing their product.
It seems very strange that the relative volumes would be so different on AirPods and via Sonos otherwise.
Your side note is totally true. Since the “new” app it has gone to hell. Has now joined the queue of things in need of replacements in this house.
It only makes sense as a problem if there is something about the unique combination of Sonos and music or it would have the same relative difference when played on Airpods.
a) space
b) Sonos speakers
and c) a slack channel
All with the same person. And if I did, I'd probably just turn the speakers down and tell them it's too loud, then set the volume limit in Sonos.