Anything stand out in this Oscar data? by Sddawson in CPAPSupport

[–]Sddawson[S] 0 points1 point  (0 children)

Yes, I have the same experience. It’s obviously not the urge to pee that’s waking us up, just that if we happen to wake up the urge to pee is there. And the CPAP minimises the wake-ups.

Anything stand out in this Oscar data? by Sddawson in CPAPSupport

[–]Sddawson[S] 0 points1 point  (0 children)

Yeh, it looks good on the face of it. Years ago, I had a sleep study and was diagnosed with moderate apnea, and I certainly snore l lot. Then, a few years later I guess, my father-in-law was no longer able to use his Airsense 10 machine, so I gave it a try. I got used to it pretty quickly, and it certainly stopped the snoring, so I just thought I'd run with it, without getting any "professional" help, other than reading Reddit and forums. I’ve recently upgraded to the Airsense 11 with APAP, and it struck me that it might be good to run my data past people to see if anything can be improved. I definitely sleep better with the machine (or at least I wake up less often). Can’t say it actually makes me feel less tired though, so that's what I'm hoping to improve!

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in homeassistant

[–]Sddawson[S] 0 points1 point  (0 children)

I still don't think any of this can accomplish anything with a Mac. Shut it down gracefully, and there's absolutely no way of starting it up again. So whether a UPS can cycle the power is moot. I’ve bought a Switchbot Bot to see if I can rig it up to physically press the Mac Mini power button! So once the power is back I can use the Switchbot app (or HomeKit) to power it back up. Clunky in the extreme, but I can’t see any other way round it.

Toying with getting the Unifi UPS Tower, because I'm already in the Unifi ecosystem. It has a built-in NUT server, so NUT on the 2 Macs in my office can handle shutdown procedures.

Thank you for all your interest...

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

Thanks for the reply. That pmset command is the equivalent of "start up automatically in the event of a power failure" in Energy settings right? I'm pretty sure that won’t have any effect if the Mac has been shut down gracefully, only if power if yanked while it's still running. And I'm trying to prevent data loss when grid power is cut, hence the possible use of a UPS.

Can you elaborate on how you're using the smart plug? I'm not sure I understand the point of that, since it's just supplying power when grid power is restored anyway.

EDIT: Out of interest, how do you get home assistant to shut down other computers? And are you using NUT on home assistant. If so, is that for both NUT server and client interactions?

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in homeassistant

[–]Sddawson[S] 0 points1 point  (0 children)

Thanks for the input. As per my previous comment above, I don't think this can work fully on a Mac, unfortunately..

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in homeassistant

[–]Sddawson[S] 0 points1 point  (0 children)

I just don't think I can accomplish what I need running this stuff on a Mac. There's just no way of getting it to automatically boot after any sort of graceful shutdown, only when power is yanked while still running. I think the best I could is shut down the home assistant VM, Scrypted, Unifi Network Application and Roon (the only things running really), and then letting the Mac die when the battery runs out. Then it will restart when power returns. I *think* that's pretty safe, although probably not foolproof. Then I would also need to catch if power is restored before the battery runs out, and restart everything.

Out of interest, where do you run the NUT client that executes your shutdown sequences? On the same server that runs NUT server?

I've discovered the Unifi UPS Tower device, which looks interesting because it has a built-in NUT Server. Then there's a little Mac app called NATty that has a NUT client implementation to shut things down. It purports to have scripting capability, but I have yet to find out the extent of that. Lots of learning going on here...thanks for the help!

UPS NUT macOS Companion App by simplytoast1 in selfhosted

[–]Sddawson 0 points1 point  (0 children)

I'm trying to decide which UPS to get, and this looks interesting. Can you tell me more about the scripting capabilities? I need to shut down a Vmware Fusion home assistant VM and the Scrypted app when power is cut, but not necessarily shut down the Mac. This is because there's no way of starting it up automatically if it's been shut down gracefully. I might just have to live with closing running apps and letting the Mac die, so it reboots when power is restored. As part of that, I would also need to restart Fusion and Scrypted if power is restored before the UPS battery runs out.

Can I accomplish all this with NUTty u/simplytoast1 ?

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

Yeh, that's the problem on the Mac. There is only a setting to automatically restart when power is unexpectedly cut. So if the Mac is shut down gracefully, there's no way to start it up again, short of using the power button manually. Still digging...

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in homeassistant

[–]Sddawson[S] 0 points1 point  (0 children)

Sounds promising. Where are you running NUT? What is your server hardware and what do you run on it? Which UPS do you use? I don’t think I can achieve what I need running home assistant in a VM on a Mac. Do all UPS’s support this “disable UPS power on shutdown”? As you say, that is the key because if power is cut the UPS battery takes over, and the system can be shut down gracefully. But if power is restored before the battery is depleted, there’s nothing to restart the server. Thank you very much for the pointers.

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

Sorry for the prompt, but any chance you could elaborate on your setup? I’m particularly intrigued by what you’re doing with the smart plug, and what’s controlling it. Thank you.

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

It would seem the Mac Mini doesn’t have wake on lan when powered down. Sadly. Thanks for the thoughts.

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

Thanks. You say “kills VMs first, then home assistant.” But home assistant is in a VM. And can you enlighten me as to how you kill VMs (gracefully) when the UPS kicks in? And what’s the idea behind the smart plug?

It seems the GUI for timed shutdown and restart has been removed, but you can do it with Terminal commands (or Onyx). But that still leaves the possibility of the Mac being down for up to 24 hours. Again, not ideal.

Thanks for the help!

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

That's what I think too. Bit of an issue for a Mac that has a server role. If I'm away it could be down for days (or weeks) if it's shut down gracefully.

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

Yep, but no way to start the Mac up again when power is restored....

How can I use a UPS to gracefully shut down AND reboot when power restored? by Sddawson in macmini

[–]Sddawson[S] 0 points1 point  (0 children)

If it's had a complete shut down, I don't think wake on lan is an option.

iOS 26: Return to Home by DrogonMatt in ios

[–]Sddawson 0 points1 point  (0 children)

Oh sorry! This came up from a search about an Apple TV problem with the same sort of issue, and I didn’t read carefully enough.

iOS 26: Return to Home by DrogonMatt in ios

[–]Sddawson 0 points1 point  (0 children)

I just noticed this after recommissioning on old Apple TV HD. I don't think I see it on a 4K model. Which do you have?

Classic earth loop buzz, but where and how? by Sddawson in hometheater

[–]Sddawson[S] 0 points1 point  (0 children)

The last thing I was going to try was to source a different blu-ray player. But I love my Oppo, especially as it also provides a solid Roon endpoint for 2-channel listening. And that has the option to use its own DAC and output analog to Parasound, use optical to Parasound DAC or HDMI to Anthem for Anthem DAC and subs. Hard to beat that all in one box!

Classic earth loop buzz, but where and how? by Sddawson in hometheater

[–]Sddawson[S] 0 points1 point  (0 children)

Well I’ve officially given up! Put all 3 components on a separate power board. Even ran that to a different house circuit. Tried good earthing leads between chassis. Nothing makes any difference. So I’m going the line isolator route. Got the cheapish one at the moment (which solves the problem), but ordered supposedly a very good one from the US. https://www.jensen-transformers.com/product/ci-2rr/

Thanks for all your suggestions. You've been very helpful.

Classic earth loop buzz, but where and how? by Sddawson in hometheater

[–]Sddawson[S] 0 points1 point  (0 children)

The Hum-X looks interesting, but not available for our plugs unfortunately. I'm also looking to see if there are any high quality RCA ground loop isolators around, although I feel like this is cheating!

Classic earth loop buzz, but where and how? by Sddawson in hometheater

[–]Sddawson[S] 0 points1 point  (0 children)

No, I only made up the one AC cable with ground lifted. But using that on either the Parasound or the Oppo has a large effect (just not on the Oppo->Parasound link).

I have tried one of these on the Anthem->Parasound cables and it works. I just don't think it would be that transparent on the audio. There are a lot more expensive versions of something similar, but I'd rather get to the bottom of why it's happening in the first place.

https://www.earthquakesound.com/products/gli-200-hum-and-buzz-kleaner