SOMA Connect + shairport-sync

I’ve reorganized my bedroom and as part of it I decided to finally address the ongoing issues with my audio setup in there. I have an old AirPort Express which I was using as an AirPlay receiver so that I could play music and podcasts and such on the (rather nice) hi-fi speakers, but it’s been super unreliable as of late, and even when it does remain connected, it generates random popping noises on the speakers — not great when I’m trying to sleep!

So anyway I was looking up various aftermarket AirPlay receivers, and most of them are pretty expensive, but then I realized that there’s probably a way of receiving AirPlay on a Raspberry Pi, and yes, there is, and then just as I was about to look for used Raspberry Pis to install this on, I remembered I already have a Raspberry Pi, in my bedroom, in the very same nightstand I would be putting a new one in: because I have SOMA’s older smart shades which use a rebadged Raspberry Pi as their Bluetooth-to-HomeKit bridge.

And the SOMA Connect image is just running Linux (specifically Rasbian 10) and some proprietary software.

Read more…

M4 mini

So, today Apple unveiled the new M4 Mac mini, which seems like a perfect upgrade for me! Except… they did something really asinine:

They put the power button underneath.

This means that you have to physically pick up the machine to turn it on, or to force-reboot it. Those are rare occurrences, but they’re enough of one that this becomes a problem.

Why’s this a problem? Well, part of it is that the mini’s maximum storage configuration is pretty small, and upgrading the storage is stupid expensive, so pretty much everyone who’s using these for doing, say, audio and video work is going to need an external drive enclosure. And external drive enclosures tend to have very short, fixed Thunderbolt cables, and managing those cables can become very tricky even when you don’t need to move your device around.

This will also be a big problem for people who want to rackmount or monitor-mount their devices; as far as I can tell from various photos, there isn’t really much of a gap/lip under which you can place a finger. Maybe people will start making custom button-pressing tools or something, I dunno. I guess that wouldn’t be too hard.

But still, it’s annoying that Apple would make this change.

(Hopefully they at least put it under the front corner, which would at least be livable! None of the photos I’m finding show which corner it’s under though.)

Another annoying thing is that while there are now five USB-C ports (three of which are Thunderbolt), there are no longer USB-A ports, so at least for my setup I’d need to run everything through a Thunderbolt dock, and finding one of those that’s both reliable and provides the ports I need is troublesome at best. Also, in my experience, you really want a dedicated port (rather than a docking station) for an external monitor, a storage enclosure, and an audio interface… and that’s all three Thunderbolt ports right there. So then my keyboard and mouse would have to plug into one of the USB-C ports in front, and that gets really messy really fast.

So anyway, power-wise the M4 mini would be a huge upgrade for me, but for the physical and connectivity requirements of my recording studio, it doesn’t seem like a good fit.

Maybe I’ll get an M4 mini for my home office and then move my M1 Max Mac studio into the recording studio. Or maybe I’m fine with the hardware I have already.

Music as a salve

I used to be a voracious consumer of music. I would listen to as much music as I could, in as many different genres, from as many different bands, as I could handle, for nearly every waking moment of every day. My music collection has over 53,000 songs with a total duration of over 130 days. My choices in listening devices and methodologies have always been informed by how I can enable myself to listen to as much variety as I could, without needing to actually choose what to listen to at any given time.

Music also helped me to focus what I was working on, and was possibly a big part of my self-medication regime for my ADHD and executive dysfunction. Having music playing made it so much easier for me to focus on what I was doing.

I also developed a peculiar habit: every time I came across a song I really liked, I’d buy the entire discography of the artist as a “surprise gift for my future self.” It’s a big part of why my music library is so big, and it’s given me a lot of delight from always having something new to listen to.

But yet, over the last few years I have barely listened to any music at all, aside from the stuff I’ve been working on myself. Most of my day has been full of silence, pretty much only listening to music when I drive — and I hardly ever drive. And the silence has been overwhelming, maddening, and is possibly a big part of why my brain’s been in vice grips as of late.

How did this happen?

Read more…

How to restore a SOMA Connect without having to re-pair everything

In my bedroom I have some SOMA smart shades and a SOMA Connect to control them from HomeKit. This setup works pretty well, except every now and then the SOMA Connect will stop working entirely; being a Raspberry Pi it’s easy enough to hook up to a monitor and see that it’s kernel panicking on startup.

I suspect there’s an automatic update mechanism that simply doesn’t work right.

Anyway, when this happens, the fix is to just reflash the MicroSD card… but this also wipes out all your settings, and in HomeKit that means having to set everything up again, including scenes and automations. Very annoying.

But, if you have a Linux machine (or a Linux VM) it’s possible to save the setting files for later.

  1. Mount the MicroSD on a Linux machine
  2. Open the rootfs partition
  3. Copy the contents of var/soma-connect/ somewhere safe; there should be three JSON files (at least, that’s what was on mine)
  4. Reflash the MicroSD normally
  5. Remount the MicroSD and copy those JSON files back into the now-empty rootfs/var/soma-connect/ directory (you might have to do this as an administrator)

If all goes well, the device should come back online and HomeKit should see them as the exact same bridge and accessories as before.

macOS 12 SSD issue update

Going through a few rounds of troubleshooting with folks on the macOS community forum as well as Apple tech support regarding the SSD overheat issue has helped me determine the following things:

  • Whatever this problem is, it’s uncommon; nobody else seems to have experienced it
  • The enclosure itself isn’t to blame; it happens on both my Plugable USB 3.1gen2 and on my Sabrent dual-slot Thunderbolt enclosure
  • The overheating is only happening on the Crucial 2TB NVMe stick (that normally lives in the USB enclosure); having just the PNY stick (which lives in the Thunderbolt enclosure) doesn’t overheat, moving the PNY stick to the USB enclosure doesn’t overheat, and the Thunderbolt enclosure only overheats if I have both the PNY and the Crucial stick in it
  • The overheating stops if I unmount the drive but leave it electrically-connected
  • Mounting the drive even under macOS Recovery causes the overheat to occur just as quickly

For now I’ve moved my most critical files from the Crucial stick to my older SATA drive (which isn’t having trouble) so I can continue to work on the things that I normally do on my desktop, and my studio laptop seems to be okay with the PNY+Thunderbolt combination so I don’t think Novembeat is at risk because of that, at least.

This does mean I won’t be able to work on music from my desktop computer in the meantime, and video editing will have to be direct to NAS, which is doable, just not ideal.

Hopefully this all gets sorted out in a macOS update.

Warning about macOS 12.0 Monterey

I’m running into a pretty severe problem with my external USB 3.1-connected NVMe drive on macOS 12.0 on my M1 mac; something in the system is causing the drive to get extremely hot (to the point of disconnecting within a few minutes) when there’s no recorded activity going to it, and also while it is connected, Blackmagic Disk Speed Test reports that it’s only capable of around 150MB/sec, which is significantly less than what it usually gets. Which tells me that something in the OS is causing the drive to go under significant load.

I tried disabling Spotlight, both from the GUI and using sudo mdutil -i off /Volumes/storage, which made no difference.

Read more…

New Mac mini

Today I wasn’t expecting to get a lot of work done due to my brain still feeling like it’s been through a juicer, and also because my new Mac mini arrived today. So I got to go through the drudgery of reinstalling everything while also seeing the news of the world exploding around me! Hooray!

Anyway, just some random setup notes.

Read more…

Oh, good

Just when I was worried that reinstalling the OS on my iMac once again fixed its many stability problems, it’s started randomly killing Sublime Text and occasionally kernel panicking for no particular reason again. And now the kernel panic backtrace involves an entirely different subsystem, and is for things that shouldn’t have even been in use when the machine crashed! (Heck, I wasn’t even at my machine at the time!)

Fortunately the M1 mini is arriving on Wednesday and hopefully then things will actually work for a while. Who knows.

Oh also happy new year etc.etc., no comic this year I can’t be bothered1

Cleansing fire?

Two fun things happened yesterday:

  1. Seattle got very rainy, and my storage unit flooded
  2. I finally got fed up with the accumulation of macOS user account cruft and did the account-swap fandango

Read more…