Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    APC UPS Widget

    Scheduled Pinned Locked Moved webGUI
    24 Posts 5 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • UnoptanioU
      Unoptanio @viragomann
      last edited by Unoptanio

      @viragomann

      What UPS model do you have?
      Do you have pfsense version 2.7.2 CE?
      apcupsd 0.3.92_1

      98b65999-8b29-42a3-91b8-be475a00b3e9-image.png

      It looks different.
      Maybe it also depends on the UPS model

      In Temp Levels Warning (°C) text box report:

      Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata copied-by-zanata@zanata.orgLanguage-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)

      In Temp Levels Critical (°C) text box report:

      Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata copied-by-zanata@zanata.orgLanguage-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)

      pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
      CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
      n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @Unoptanio
        last edited by

        @Unoptanio
        It's a Smart-UPS 1500, pretty old.

        You can enter the temp level thresholds by yourself.

        20674c30-a641-4472-923e-fd04f43d788b-image.png

        But this might not make a difference. The temp was displayed even before I stated these.

        UnoptanioU 1 Reply Last reply Reply Quote 0
        • UnoptanioU
          Unoptanio @viragomann
          last edited by Unoptanio

          @viragomann

          OK thank you. I copied your values ​​into my system

          After more than 5 years are your batteries still good? do you have meat?
          I had to replace them. When I took them off they were all swollen, deformed and veined.
          In general they recommend replacing them every 3 years

          the charging bar is now yellow......
          7f1009c0-14ef-4994-930d-b7c27e125e91-image.png

          once 50% is reached the bar becomes green

          91374f90-d223-4efb-9341-6fa602d50b53-image.png

          pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
          CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
          n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @Unoptanio
            last edited by

            @Unoptanio said in APC UPS Widget:

            After more than 5 years are your batteries still good? do you have meat?

            Long-life type. 😊

            The UPS was in production use for about 1 y after battery replacement.
            Now it works for a nonprofit org for about 2 y.

            UnoptanioU 1 Reply Last reply Reply Quote 0
            • UnoptanioU
              Unoptanio @viragomann
              last edited by Unoptanio

              @viragomann

              Purchased new UPS model APC Back-UPS Pro, 1200VA/720W

              the temperature does not appear even with this model

              17e61f05-701a-41b8-b676-ef8659076822-image.png

              0ea65aa5-1cf0-437e-8244-2f93d56b469e-image.png

              55fcc42f-0817-4634-976a-a486e964e638-image.png

              pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
              CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
              n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

              fireodoF 1 Reply Last reply Reply Quote 0
              • fireodoF
                fireodo @Unoptanio
                last edited by

                @Unoptanio said in APC UPS Widget:

                the temperature does not appear even with this model

                I guess not every model reports to apcupsd a temperature.
                I have here a APC Back-UPS CS 350 and the temperature is reported but is invariant at "ITEMP : 29.2 C"
                IMHO

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.8.0 CE
                Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                UnoptanioU 1 Reply Last reply Reply Quote 0
                • UnoptanioU
                  Unoptanio @fireodo
                  last edited by

                  @fireodo
                  b1cd6e4b-b9e7-4880-9626-7a8a1b804372-image.png

                  pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                  CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                  n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                  fireodoF 1 Reply Last reply Reply Quote 0
                  • fireodoF
                    fireodo @Unoptanio
                    last edited by fireodo

                    @Unoptanio said in APC UPS Widget:

                    @fireodo
                    b1cd6e4b-b9e7-4880-9626-7a8a1b804372-image.png

                    Seams that your UPS is not reporting the "OUTPUTV" to apcupsd ...

                    The widget can only show what is reported in "Status information from apcupsd"

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.8.0 CE
                    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                    UnoptanioU 1 Reply Last reply Reply Quote 0
                    • UnoptanioU
                      Unoptanio @fireodo
                      last edited by

                      @fireodo

                      https://forum.netgate.com/topic/184136/apcupsd-missing-status-icon/7t

                      https://forum.netgate.com/topic/184136/apcupsd-missing-status-icon

                      questo widget sembra diverso:
                      be48dad8-9f4c-4125-b66b-3e4174013e19-image.png

                      pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                      CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                      n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                      fireodoF 1 Reply Last reply Reply Quote 0
                      • fireodoF
                        fireodo @Unoptanio
                        last edited by fireodo

                        @Unoptanio said in APC UPS Widget:

                        questo widget sembra diverso:

                        As I stated in my post before: The widget can only show what is reported in "Status information from apcupsd"
                        If a value is missing the widget shows "N/A"

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.8.0 CE
                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                        UnoptanioU 1 Reply Last reply Reply Quote 1
                        • UnoptanioU
                          Unoptanio @fireodo
                          last edited by

                          @fireodo

                          @fireodo said in APC UPS Widget:

                          ok I understand.
                          It seems strange to me, however, that two new APC UPSs, of two different and modern models, do not transmit these values.

                          Maybe "apcupsd" needs some updating

                          pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                          CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                          n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                          fireodoF 1 Reply Last reply Reply Quote 0
                          • fireodoF
                            fireodo @Unoptanio
                            last edited by

                            @Unoptanio said in APC UPS Widget:

                            It seems strange to me, however, that two new APC UPSs, of two different and modern models, do not transmit these values.

                            The values that are transmitted depends on the firmware of the UPS

                            Maybe "apcupsd" needs some updating

                            Yes could be possible that actual apcupsd cannot read some values that come from the UPS firmware ...

                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                            pfsense 2.8.0 CE
                            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                            1 Reply Last reply Reply Quote 0
                            • S
                              SteveITS Galactic Empire @Unoptanio
                              last edited by

                              @Unoptanio said in APC UPS Widget:

                              Project-Id-Version: PACKAGE VERSIONReport...

                              It does that if you reset the battery date manually. No I don't know why. Some sort of parsing error it looks like. Copy down the values first, as you found.

                              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                              Upvote 👍 helpful posts!

                              UnoptanioU V 3 Replies Last reply Reply Quote 0
                              • UnoptanioU
                                Unoptanio @SteveITS
                                last edited by Unoptanio

                                @SteveITS

                                APC Back-UPS Pro 1200VA/720W
                                apcupsd 0.3.92_1

                                This is a brand new UPS just installed today. I didn't reset the battery
                                Connection via USB port

                                a0ae0473-36f7-4429-90d0-ff4e3225d773-image.png

                                a9ef8976-a367-4087-b649-b2491a0f3789-image.png

                                4df85a84-d807-4112-8808-d02777f9fb59-image.png

                                Project-Id-Version: PACKAGE VERSIONReport-Msgid-Bugs-To: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitPO-Revision-Date: 2019-05-09 10:22+0000Last-Translator: Copied by Zanata copied-by-zanata@zanata.orgLanguage-Team: English (United States)Language: en_USX-Generator: Zanata 4.6.2Plural-Forms: nplurals=2; plural=(n != 1)

                                pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                                CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                                n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                                1 Reply Last reply Reply Quote 0
                                • UnoptanioU
                                  Unoptanio @SteveITS
                                  last edited by

                                  @SteveITS

                                  I don't quite understand what I should do

                                  pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                                  CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                                  n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                                  S fireodoF 2 Replies Last reply Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire @Unoptanio
                                    last edited by

                                    @Unoptanio Sorry if I was confusing, I was just trying to provide more info to the thread on those weird errors. You seem to be past that already so I wasn't suggesting you do anything in particular.

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      viragomann @SteveITS
                                      last edited by

                                      @SteveITS said in APC UPS Widget:

                                      @Unoptanio said in APC UPS Widget:

                                      Project-Id-Version: PACKAGE VERSIONReport...

                                      It does that if you reset the battery date manually. No I don't know why. Some sort of parsing error it looks like. Copy down the values first, as you found.

                                      I saw the same, but didn't ever reset the battery date manually with apcupsd.

                                      The UPS was management with the APC software on Windows before. I guess, I set the battery date with this, when I replaced it.

                                      1 Reply Last reply Reply Quote 0
                                      • fireodoF
                                        fireodo @Unoptanio
                                        last edited by

                                        @Unoptanio

                                        If you like to experiment you can use this Widget:
                                        APC Widget

                                        You have to copy it to

                                        /usr/local/www/widgets/widgets
                                        

                                        and after that you can add it to the dashboard ...

                                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                        pfsense 2.8.0 CE
                                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.