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

APC 2200VA Smart UPS with SmartConnect, SMT2200C management/autoshutdown from Linux

APC UPS for Home and Office Forum

Support forum to share knowledge about installation and configuration of APC offers including Home Office UPS, Surge Protectors, UTS, software and 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 for Home and Office Forum
  • APC 2200VA Smart UPS with SmartConnect, SMT2200C management/autoshutdown from Linux
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
2151
Teken
Janeway Teken
99
voidstar_apc
Janeway voidstar_apc
83
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to APC UPS for Home and Office Forum
jjg60
jjg60
Cadet

Posted: ‎2022-02-07 08:14 AM

0 Likes
4
2082
  • 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: ‎2022-02-07 08:14 AM

APC 2200VA Smart UPS with SmartConnect, SMT2200C management/autoshutdown from Linux

On extended power outages, there is no external internet connection and the server will corrupt files if not shutdown before UPS runs out of battery power.  My server is Ubuntu 20.04 Linux. Given the popularity of linux for servers, I was surprised not to find documentation by APC for setting this up.

 

Q1: My SMT2200C has a usb-a female port, so does my Ubuntu server.  So I purchased a "USB to USB Cable Type A Male to Male USB 3.0" cable to connect the 2 devices.  Is this correct, or do I need a hub in between?

 

Q2: Is apcupsd the recommended application for this?

 

Q3: Is the minimal configuration to /etc/apcupsd/apcupsd.conf is to make DEVICE blank

since default is already "UPSCABLE USB" ?

 

If I run the command "apctest" I get the following error:

 

2022-02-07 09:41:36 apctest 3.14.14 (31 May 2016) debian
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
apctest FATAL ERROR in apctest.c at line 319
Unable to open UPS device.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed

 

I would appreciate a pointer to documentation for setting my SMT2200C for extended power outages.

 

Labels
  • Labels:
  • Home & Office - UPS & Software
  • Tags:
  • english
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2022-02-07 01:41 PM

0 Likes
3
2064
  • 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: ‎2022-02-07 01:41 PM

@jjg60 

 

You can use APCUPSD or configure the built in battery settings

 

In the screenshot below I connected SMT1500C to Ubuntu 20.4 via USB

I see the battery icon in the upper right 

 

Ubuntu Battery.png

To configure I select the battery and click on the charged status - power settings - Auto suspend 

Ubuntu Battery.png

Ubuntu Battery Auto Suspend.png

 

I can see the status of the UPS using the power app.

Ubuntu Power App.png

Ubuntu Power Stats.png

 

For assistance with apcupsd I recommend using the apcupsd list group. There you can search for answers and post questions. 

http://www.apcupsd.org/wordpress/email-lists/

  • Tags:
  • english
Reply

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

jjg60
jjg60
Cadet

Posted: ‎2022-02-08 08:09 AM

In response to BillP
0 Likes
2
2049
  • 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: ‎2022-02-08 08:09 AM

Thank you.

 

When you say "You can use APCUPSD or configure the built in battery settings":

- Does the battery setting kick in when a ubs cable is connected to SMT2200C from Ubuntu 20.04 or does this rely on APCUPSD?

  I ask because the man page for APCUPSD does not describe any GUI. So I'm guessing it is built into Ubuntu 20.04.  Also, your screen shot shows UPS details and History and statics while mine only shows suspend options.

 

image.png

- if I use APCUPSD, how do I disable battery so it does not conflict with /etc/apcupsd/apcupsd.conf

  For example: power setting has default "automatic shutdown on battery after 20 minutes" but apcupsd.conf

   has default of BATTERYLEVEL 5.

  If I disable "automatic suspend" on the power setting under battery, will this leave APCUPSD alone or are they connected?

image.png

- The power setting under battery does not have a power down when battery level is at xxx, it only has a time delay after on power.

   A server under high load can consume 1600 watts while a server under low load can consume 150watts.  So a time-based suspension is a poor choice for a server. Does the ubuntu battery / power settinghave any battery level trigger?  If not, then APCUPSD is the only choice and I need to know how to prevent the battery setting from interfering.

- Does Schneider APC support Linux servers using their UPS or does APC wash their hands of linux server and leave it to Sourceforge mailer list?

  • Tags:
  • english
Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2022-02-10 01:14 PM

In response to jjg60
0 Likes
0
2042
  • 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: ‎2022-02-10 01:14 PM

@jjg60 

 

The UPS would be visible once connected via USB. If it is not and you have install APCUPSD it may not appear. I know with Windows OS APCUPSD using it own USB driver so the UPS is not visible to native power options. 

 

If I have time I will install APCUPSD and report back. 

 

What I did was install Ubuntu 20.04. Connect the USB cable between the PC and UPS. In the upper right I see see the battery. If I click on it and select settings I can configure the automatic suspend. I see form your screenshot you have not enabled automatic suspend as it is listed as off. 

 

To view the UPS I selected applications and searched for power statistics. From that window I selected UPS. 

  • Tags:
  • english
Reply

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

Steph64
Steph64
Cadet

Posted: ‎2022-08-24 09:41 AM

In response to jjg60
0 Likes
0
1777
  • 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: ‎2022-08-24 09:41 AM

look this tutorial

https://techexpert.tips/apc/powerchute-network-shutdown-installation-on-linux/

  • Tags:
  • english
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