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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

smt1000rmi2uc and modbus protocol

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
  • smt1000rmi2uc and modbus protocol
Options
  • 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
Teken
Spock Teken
111
View All
Related Products
product field
Schneider Electric
EcoStruxure™ IT SmartConnect

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
Anonymous user
Not applicable

Posted: ‎2021-06-28 09:31 AM . Last Modified: ‎2024-03-17 11:15 PM

0 Likes
12
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:31 AM . Last Modified: ‎2024-03-17 11:15 PM

smt1000rmi2uc and modbus protocol

Hello, I have recently acquired a SMT1000RMI2UC (smartconnect) with the following specs:

UPS Name: SMT1000RMI2UC
Firmware: v 03.5
Model Name: Smart-UPS 1000
Model SKU: SMT1000RMI2UC
Serial no.: AS1822160080
Product ID: 28-29-86-0C-88-CC

I would like to manage it through the APCUPSD software and MODBUS protocol however I cannot get it to work with the MODBUS options (plugged with USB cable). Does this UPS support modbus at all?

Notes:

1/ I have enabled the MODBUS option on the front LCD panel

2/ Firmware version is 03.5 and PowerChute tells me it is the latest version

 

Thank you

Labels
  • Labels:
  • Smart-UPS & Symmetra LX-RM
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
Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

0 Likes
4
3523
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

So I tried the following in various orders:

  • replaced the RPi power supply (by a power bank)
  • "braindeaded" the UPS
  • fresh install of Debian on RPi

And no improvement much to my frustration.

Basic USB mode (modbus diabled) is rock-solid every time, contrary to the modbus which gives erratic values with intermittent messages about lost/recovered connections every seconds

The last thing I will test is to change the USB cable. I have ordered one and will report back the results

Thank you

Loic

See Answer In Context

Reply

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

Replies 12
Anonymous user
Not applicable

Posted: ‎2021-06-28 09:31 AM . Last Modified: ‎2024-03-17 11:15 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:31 AM . Last Modified: ‎2024-03-17 11:15 PM

Yes, your UPS supports the MODBUS protocol (the option to enable it would not be present if it did not).

From the release notes, it looks as though you'll need apcupsd version 3.14.13 or later for MODBUS over USB support. That would be where I would start, especially if you are using a version of apcupsd packaged by your operating system's vendor.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:31 AM . Last Modified: ‎2024-03-17 11:15 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:31 AM . Last Modified: ‎2024-03-17 11:15 PM

Thank you William.

See below the ouput from the "apcaccess status" command, I am running revision 3.14.14 of apcupsd on Debian8.
Most info I found (with difficulty) online says SMT-type UPS should be upgraded to firmware v9.x or above in order to support MODBUS but my UPS is new and firmware is v03.5 with apparently no option to upgrade. I am confused.

apcaccess status
APC      : 001,027,0670
DATE     : 2019-01-07 20:05:08 +0000
HOSTNAME : raspberrypi
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : raspberrypi
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2019-01-07 20:05:06 +0000
MODEL    : Smart-UPS_1000
STATUS   : ONLINE
BCHARGE  : 100.0 Percent
TIMELEFT : 159.2 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
ALARMDEL : 30 Seconds
BATTV    : 26.6 Volts
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
MANDATE  : 2018-05-28
SERIALNO : AS1822160080
NOMBATTV : 24.0 Volts
FIRMWARE : UPS 03.5 / ID=1015
END APC  : 2019-01-07 20:05:13 +0000

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:15 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:15 PM

Different revisions of the Smart-UPS SMT models have different firmware versions, depending upon their hardware ID and product family. What you're seeing is normal.

It appears that you're using the standard USB UPS driver right now with apcupsd. (However, it looks like you are getting more information than a Microlink UPS such as yours would provide to the generic USB UPS driver, making me wonder if data isn't being exchanged over MODBUS anyway.) What happens if you specify the MODBUS driver type in apcupsd.conf?

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:15 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:15 PM

Thank you William,

Well, not sure what I did this time but it is now (almost) working. After enabling the MODBUS option from the LCD panel and setting the apcupsd.conf file for MODBUS operation, I disconnected the USB cable from the port and reconnected it, maybe that helped.

Anyways, see below what output I am getting now. It is much more verbose BUT I am getting a connection lost message followed by a connection restored message every second. Not sure what is happening.

Broadcast message from root@raspberrypi (somewhere) (Mon Jan  7 21:42:19 2019):
Communications restored with UPS APC UPS
Warning communications lost with UPS APC UPS


APC      : 001,038,0883
DATE     : 2019-01-07 21:37:19 +0000
HOSTNAME : raspberrypi
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : APC UPS
CABLE    : USB Cable
DRIVER   : MODBUS UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2019-01-07 21:37:14 +0000
STATUS   : COMMLOST
LINEV    : 225.6 Volts
LOADPCT  : 13.6 Percent
LOADAPNT : 16.0 Percent
BCHARGE  : 99.0 Percent
TIMELEFT : 159.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
OUTPUTV  : 225.6 Volts
DWAKE    : 0 Seconds
DSHUTD   : 0 Seconds
ITEMP    : 27.0 C
BATTV    : 27.2 Volts
LINEFREQ : 50.0 Hz
OUTCURNT : 0.69 Amps
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : OK
STATFLAG : 0x05000108
MANDATE  : 2018-05-28
SERIALNO : AS1822160080
BATTDATE : 2018-08-17
NOMOUTV  : 230 Volts
NOMPOWER : 700 Watts
NOMAPNT  : 1000 VA
FIRMWARE : UPS 03.5 / 00.5
END APC  : 2019-01-07 21:42:35 +0000

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:15 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:15 PM

Well that must have been a fluke. Somehow I am now getting an eratic MODBUS communication between the UPS and apcupsd with varying values. APCTEST command returns the following. I will setup a fresh install Debian and start from scratch...

root@raspberrypi:~# apctest


2019-01-07 22:02:20 apctest 3.14.14 (31 May 2016) debian
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = MODBUS UPS Driver
Setting up the port ...
0.010 apcupsd: ModbusUsbComm.cpp:258 WaitIdle: interrupt_read failed: Success
0.557 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
0.731 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=21)
0.955 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
1.066 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=21)
1.178 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
1.851 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
2.018 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
2.565 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
2.796 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
2.916 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
Doing prep_device() ...
3.363 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
3.531 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=21)
3.756 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
3.868 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=21)
3.980 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
4.019 apcupsd: ModbusUsbComm.cpp:269 WaitIdle: Out of sync
4.019 apcupsd: ModbusUsbComm.cpp:270 Dumping 64 bytes @ 0x7ec04504
4.019 apcupsd: ModbusUsbComm.cpp:270 00000000  89 01 03 02 02 bc 00 00 00 00 00 00 00 00 00 00  ................
4.019 apcupsd: ModbusUsbComm.cpp:270 00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
4.020 apcupsd: ModbusUsbComm.cpp:270 00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
4.020 apcupsd: ModbusUsbComm.cpp:270 00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
4.566 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT

You are using a MODBUS cable type, so I'm entering MODBUS test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing MODBUS UPSes.

Getting UPS capabilities...4.852 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=37, rx=7)
4.964 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=37)
5.131 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=21)
5.355 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
5.467 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=21)
5.579 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
6.572 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
6.796 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
6.964 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
7.043 apcupsd: ModbusUsbComm.cpp:269 WaitIdle: Out of sync
7.043 apcupsd: ModbusUsbComm.cpp:270 Dumping 64 bytes @ 0x7ec045bc
7.043 apcupsd: ModbusUsbComm.cpp:270 00000000  89 01 03 02 00 08 00 00 00 00 00 00 00 00 00 00  ................
7.043 apcupsd: ModbusUsbComm.cpp:270 00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
7.043 apcupsd: ModbusUsbComm.cpp:270 00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
7.043 apcupsd: ModbusUsbComm.cpp:270 00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
7.589 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
7.756 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
7.868 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
8.059 apcupsd: ModbusUsbComm.cpp:269 WaitIdle: Out of sync
8.059 apcupsd: ModbusUsbComm.cpp:270 Dumping 64 bytes @ 0x7ec045bc
8.059 apcupsd: ModbusUsbComm.cpp:270 00000000  89 01 03 02 00 01 00 00 00 00 00 00 00 00 00 00  ................
8.059 apcupsd: ModbusUsbComm.cpp:270 00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
8.059 apcupsd: ModbusUsbComm.cpp:270 00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
8.059 apcupsd: ModbusUsbComm.cpp:270 00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
8.604 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
SUCCESS

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

I would have a few other suggestions: try another USB port or cable, and make sure your Raspberry Pi's power supply is sufficient to support the load and working properly.

Worst case, you can also try "braindeading" the UPS. This involves safely powering down any attached load, shutting off the UPS from the front panel, unplugging it from the wall, and disconnecting the batteries. With the batteries disconnected, depress the power button on the UPS. It will probably react briefly, which is pretty normal.

After doing that, reconnect the batteries, restore power to the UPS and reconnect the load to be protected.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

0 Likes
0
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

Thank you William,

I will try the braindeading procedure first because I need to order the USB cable as it is specific (male-male type B).

As for the Rpi it should be fine because the power supply is the original from Raspberry and the communication works fine with the default USB com mode. Only the MODBUS com mode is problematic. Anyways, will trey this as well, I have nothing else to try! 😞

Cheers

Loic

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-28 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

0 Likes
4
3524
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 09:32 AM . Last Modified: ‎2024-03-17 11:14 PM

So I tried the following in various orders:

  • replaced the RPi power supply (by a power bank)
  • "braindeaded" the UPS
  • fresh install of Debian on RPi

And no improvement much to my frustration.

Basic USB mode (modbus diabled) is rock-solid every time, contrary to the modbus which gives erratic values with intermittent messages about lost/recovered connections every seconds

The last thing I will test is to change the USB cable. I have ordered one and will report back the results

Thank you

Loic

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-11-01 03:06 AM . Last Modified: ‎2021-11-01 03:07 AM

In response to Anonymous user
0 Likes
1
3421
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-11-01 03:06 AM . Last Modified: ‎2021-11-01 03:07 AM

Hi @Anonymous user 

 

I’m facing the same issue after enabling the Modbus protocol. 

 

In the terminal, I’m seeing  messages like bellow

 

 

Broadcast message from root@sensor (somewhere) (Mon Nov  1 12:00:21 2021)

                                                                               

Communications restored with UPS c1500                                 

                                                                               

                                                                               

Broadcast message from root@sensor (somewhere) (Mon Nov  1 12:00:22 2021)

                                                                               

Warning communications lost with UPS c1500

 

 

 

Did you find the solution to this problem ?

 

 

  • Tags:
  • english
Reply

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

peterpavlik_apc
Crewman peterpavlik_apc
Crewman

Posted: ‎2021-11-21 01:41 PM . Last Modified: ‎2021-11-21 02:03 PM

In response to Anonymous user
0 Likes
0
3301
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-11-21 01:41 PM . Last Modified: ‎2021-11-21 02:03 PM

Hello, I have the same problem with my (second piece, first has problem to enter green-mode) of APC SMT750i smart UPS via USB cable to apcupsd@RPi with Raspbian Stretch.

I have recently upgraded UPS firmware from to ver. 9.6 and having a problem exactly like yours.

Today I tried downgrade the UPS firmware back to ver. 9.4, done UPS braindead & coldstart procedures, loaded factory defaults via display menu and still the same behaviour:

Apcupsd daemon 3.14.14 re-connects to UPS and sending messages to console every second until I stop the service.

Every second I receive following emails with the many details about my UPS connection Lost and Restored.

OMV Communication with UPS APCUPS lost

APC : 001,039,0899
DATE : 2021-11-21 22:24:34 +0100
HOSTNAME : OMV
VERSION : 3.14.14 (31 May 2016) debian
UPSNAME : APCUPS
CABLE : USB Cable
DRIVER : MODBUS UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2021-11-21 22:24:28 +0100
MODEL : Smart-UPS 750
STATUS : COMMLOST
LINEV : 244.8 Volts
LOADPCT : 31.2 Percent
LOADAPNT : 27.3 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 32.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 2 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 246.2 Volts
DWAKE : 0 Seconds
DSHUTD : 90 Seconds
ITEMP : 32.8 C
BATTV : 27.0 Volts
LINEFREQ : 50.0 Hz
OUTCURNT : 0.81 Amps
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : ??
STATFLAG : 0x05000108
MANDATE : 2017-11-29
SERIALNO : DELETED
BATTDATE : 2020-12-15
NOMOUTV : 230 Volts
NOMPOWER : 500 Watts
NOMAPNT : 750 VA
FIRMWARE : UPS 09.4 / 00.5
END APC : 2021-11-21 22:24:36 +0100

 

But apctest is kinda working for me, I get to the menu every time and can start some functions (f.e. self-test), but some other options are unstable.

One time I can View manufacturing date but not Battery date.

Other time I can View Battery date but not Manufacturing date.

...

Can the problem be related to RPi3 USB2 ports driver or some USB communication parameters (speed/parity/...)?

Is USB modbus communication sensitive for something, needs USB driver support etc?

  • Tags:
  • english
Reply

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

peterpavlik_apc
Crewman peterpavlik_apc
Crewman

Posted: ‎2021-11-21 02:04 PM

In response to Anonymous user
0 Likes
1
3301
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-11-21 02:04 PM

Hello, I have the same problem with my (second piece, first has problem to enter green-mode) of APC SMT750i smart UPS via USB cable to apcupsd@RPi with Raspbian Stretch.

I have recently upgraded UPS firmware from to ver. 9.6 and having a problem exactly like yours.

Today I tried downgrade the UPS firmware back to ver. 9.4, done UPS braindead & coldstart procedures, loaded factory defaults via display menu and still the same behaviour:

Apcupsd daemon 3.14.14 re-connects to UPS and sending messages to console every second until I stop the service.

Every second I receive following emails with the many details about my UPS connection Lost and Restored.

OMV Communication with UPS APCUPS lost

APC : 001,039,0899
DATE : 2021-11-21 22:24:34 +0100
HOSTNAME : OMV
VERSION : 3.14.14 (31 May 2016) debian
UPSNAME : APCUPS
CABLE : USB Cable
DRIVER : MODBUS UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2021-11-21 22:24:28 +0100
MODEL : Smart-UPS 750
STATUS : COMMLOST
LINEV : 244.8 Volts
LOADPCT : 31.2 Percent
LOADAPNT : 27.3 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 32.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 2 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 246.2 Volts
DWAKE : 0 Seconds
DSHUTD : 90 Seconds
ITEMP : 32.8 C
BATTV : 27.0 Volts
LINEFREQ : 50.0 Hz
OUTCURNT : 0.81 Amps
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : ??
STATFLAG : 0x05000108
MANDATE : 2017-11-29
SERIALNO : DELETED
BATTDATE : 2020-12-15
NOMOUTV : 230 Volts
NOMPOWER : 500 Watts
NOMAPNT : 750 VA
FIRMWARE : UPS 09.4 / 00.5
END APC : 2021-11-21 22:24:36 +0100

 

But apctest is kinda working, I get to the menu every time and can start some functions (f.e. self-test), but some other options are unstable.

One time I can View manufacturing date but not Battery date.

Other time I can View Battery date but not Manufacturing date.

...

Can the problem be related to RPi3 USB2 ports driver or some USB communication parameters (speed/parity/...)?

Is modbus communication sensitive for something, needs USB driver support etc?

  • Tags:
  • english
Reply

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

peterpavlik_apc
Crewman peterpavlik_apc
Crewman

Posted: ‎2021-12-02 12:14 AM

In response to peterpavlik_apc
0 Likes
0
3241
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-12-02 12:14 AM

Seems I got the solution for modbus via USB problem for my RPi 3B/Raspbian.

I even tried serial connection without any luck.

Solution for me was to upgrade firmware on my RPi 3B via:

"rpi-update" to latest version "c827259e4adb63d1dd36e21d51dcd4243d0c1255".

After reboot modbus via USB started to work as expected, no more reconnect messages.

Hope this helps

 

  • 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