Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

MacOS X 10.14 and APC-SMT750I: Now restart if shutdown with USB cable connected

APC UPS Data Center & Enterprise Solutions Forum

Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • MacOS X 10.14 and APC-SMT750I: Now restart if shutdown with USB cable connected
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:16 AM . Last Modified: ‎2024-03-15 06:00 AM

0 Likes
1
1063
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:16 AM . Last Modified: ‎2024-03-15 06:00 AM

MacOS X 10.14 and APC-SMT750I: Now restart if shutdown with USB cable connected

System:
Mac Mini Late 2014, macOS Mojave 10.14.6
APC SMT750IC, Firmware v 03.8, connected through APC USB Cable for communication with Mac Mini

Dear Supporters and Readers

I know that with macOS the binary "shutdown" doesn't truly work as supposed and declared in the "man" file.
Contrary to the statement in the "man" file, that with this command "shutdown -u", it says it does wait 5 minutes for the UPS to remove the mains power to get a "dirty shut down" to be able to automatically restart after mains returns, it doesn't wait that time.

So I have to build the hole process of quitting the different applications and handle the unmounting of the external drives.
During this test I figured out, that if the USB cable between the APC and the Mac Mini is connected at the time the UPS does tell the Mac Mini that the UPS runs on battery, the Mac Mini wont restart after the mains power from the UPS returns.If the USB cable is NOT connected and doesn't communicate with the Mac Mini, he will restart after the mains from the UPS returns.

So either the APC does send some hidden commands to the Mac Mini which affect this behavior or the macOS does behave outside of any normal human logic.
My settings for the UPS are as follows:
pmset -g ups
UPS settings:
haltlevel off 0
haltafter off 1
haltremain off 1

So the macOS own shutdown process shouldn't have any influence.

On the other hand, in the past, APC did have also a macOS version of its Power Chute application but since several years it's no more supported and as much as I know it also doesn't communicate over USB.
I did also try the OpenSource application "apcupsd" but also with this there are several timing problems as it does use some dummy USB driver to grab the signals from the APC and to communicate with it.
This kind of communication, modebus or plain USB is very very unstable and most of the time not usable.
Happened with several MacMini computers.

If anyone has a suggestion, helping information or a running system to explain how to get it to work, I'm happy toe hear from you.
At APC employees reading here, is there a way to send the shutdown command to the APC to remove mains power on command from within a bash script?

Thank you in advance
Regards
Thomas

Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
  • Tags:
  • macos
  • modbus
  • mojave
  • shutdown
  • smt750
  • usb
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:16 AM . Last Modified: ‎2024-03-15 06:00 AM

0 Likes
0
1064
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:16 AM . Last Modified: ‎2024-03-15 06:00 AM

I do answer my question myself.

I did not set the right settings with pmset for the UPS itself.
If the flag "autorestart 1" is set with the Energy Management of the System Extensions, this belongs ONLY for AC Power but NOT for UPS Battery Power.
To set this for the UPS Battery Power as well, you have to do it in the terminal with the command "sudo pmset -u autorestart 1"

To check other settings for energy behavior, use "pmset -g custom"and of course consult the man page for pmset or have a look here. https://www.dssw.co.uk/reference/pmset.html

With the help of the Mac OS Application Power Manager from https://www.dssw.co.uk/powermanager/ you can create specific shutdown rules for UPS status and Mac OS behaviour.

Hope that helps others.
Regards
Thomas

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Reply 1
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:16 AM . Last Modified: ‎2024-03-15 06:00 AM

0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:16 AM . Last Modified: ‎2024-03-15 06:00 AM

I do answer my question myself.

I did not set the right settings with pmset for the UPS itself.
If the flag "autorestart 1" is set with the Energy Management of the System Extensions, this belongs ONLY for AC Power but NOT for UPS Battery Power.
To set this for the UPS Battery Power as well, you have to do it in the terminal with the command "sudo pmset -u autorestart 1"

To check other settings for energy behavior, use "pmset -g custom"and of course consult the man page for pmset or have a look here. https://www.dssw.co.uk/reference/pmset.html

With the help of the Mac OS Application Power Manager from https://www.dssw.co.uk/powermanager/ you can create specific shutdown rules for UPS status and Mac OS behaviour.

Hope that helps others.
Regards
Thomas

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of