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

    NUT with Riello Sentinel Pro 2200 USB connection cant make it work

    Scheduled Pinned Locked Moved UPS Tools
    66 Posts 3 Posters 11.2k 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 @dennypage
      last edited by Unoptanio

      Problem solved but there is still work to do for the pfsense team.

      follow the solution on:

      https://github.com/networkupstools/nut/issues/2159

      https://github.com/networkupstools/nut/wiki/NUT-on-pfSense

      866f8051-8bb9-42ee-86b4-6205a325ff99-image.png

      d88d2c50-0648-4e17-9654-1274baf34b2a-image.png

      Wow
      6fe05c05-e0e3-4d81-ae48-c5c3cc17be97-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

      dennypageD 1 Reply Last reply Reply Quote 0
      • dennypageD
        dennypage @Unoptanio
        last edited by

        @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

        Problem solved but there is still work to do for the pfsense team.

        follow the solution on:

        https://github.com/networkupstools/nut/issues/2159

        This is the quirk issue I mentioned in the prior post. It is actually not pfSense, but upstream FreeBSD that manages the default quirks.

        You will have to develop and test a quirk. It cannot be done without possession of the physical UPS. After you have developed the quirk, we can file a ticket with upstream to request that it added to FreeBSD.

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

          @dennypage

          you could involve Riello technical support because I believe the problem is with all Riello UPS models.
          Once the quirk has been developed on a specific Riello UPS model, does it then work with all Riello models? or should a quirk be developed for each model?

          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

          dennypageD 1 Reply Last reply Reply Quote 0
          • dennypageD
            dennypage @Unoptanio
            last edited by

            @Unoptanio Depends upon the manufacturer. For most, I think it is for a series of UPSs. APC for instance has only had 3 of them.

            See this post for detailed information.

            H 1 Reply Last reply Reply Quote 0
            • H
              ha11oga11o @dennypage
              last edited by

              Hello all,

              i can confirm that like this works on mine side too with rather old SEP2200. All it needed is extra argument user = root.

              So, NUT package needs some tweaking not to work at root privileges i guess?

              At least we manage to connect UPS to device. many thnx! Finally some progress on this subject.

              Cheers!

              H 1 Reply Last reply Reply Quote 1
              • H
                ha11oga11o @ha11oga11o
                last edited by ha11oga11o

                @ha11oga11o said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                Hello all,

                i can confirm that like this works on mine side too with rather old SEP2200. All it needed is extra argument user = root.

                So, NUT package needs some tweaking not to work at root privileges i guess?

                At least we manage to connect UPS to device. many thnx! Finally some progress on this subject.

                Cheers!

                yeah, that was short live; I got initial data, an next refresh interval it says UPS need attention.

                Nov 10 10:39:58 	upsmon 	20183 	Communications with UPS RielloSEP2200 established
                Nov 10 10:39:58 	upsd 	33371 	User local-monitor@127.0.0.1 logged into UPS [RielloSEP2200]
                Nov 10 10:39:55 	upsd 	33371 	Connected to UPS [RielloSEP2200]: riello_usb-RielloSEP2200
                Nov 10 10:39:55 	riello_usb 	33500 	Startup successful
                Nov 10 10:39:54 	upsd 	33371 	Startup successful
                Nov 10 10:39:54 	upsd 	32400 	Can't connect to UPS [RielloSEP2200] (riello_usb-RielloSEP2200): No such file or directory
                Nov 10 10:39:54 	upsd 	32400 	listening on 127.0.0.1 port 3493
                Nov 10 10:39:54 	upsd 	32400 	listening on ::1 port 3493
                Nov 10 10:39:53 	upsmon 	20183 	Communications with UPS RielloSEP2200 lost
                Nov 10 10:39:53 	upsmon 	20183 	UPS [RielloSEP2200]: connect failed: Connection failure: Connection refused
                Nov 10 10:39:53 	upsmon 	19414 	Startup successful
                Nov 10 10:39:53 	php-fpm 	50287 	/nut_settings.php: Starting service nut
                Nov 10 10:39:53 	riello_usb 	58720 	Signal 15: exiting
                Nov 10 10:39:53 	upsd 	28635 	Signal 15: exiting
                Nov 10 10:39:53 	upsd 	28635 	mainloop: Interrupted system call
                Nov 10 10:39:53 	upsd 	28635 	User local-monitor@127.0.0.1 logged out from UPS [RielloSEP2200]
                Nov 10 10:39:53 	upsmon 	27914 	Signal 15: exiting
                Nov 10 10:39:53 	php-fpm 	50287 	/nut_settings.php: Stopping service nut
                Nov 10 10:39:53 	check_reload_status 	484 	Syncing firewall
                Nov 10 10:39:53 	php-fpm 	50287 	/nut_settings.php: Configuration Change: admin@192.168.1.210 (Local Database): Updated UPS settings
                Nov 10 10:37:41 	upsmon 	27914 	Communications with UPS RielloSEP2200 established
                Nov 10 10:37:40 	upsd 	28635 	Connected to UPS [RielloSEP2200]: riello_usb-RielloSEP2200
                Nov 10 10:37:38 	riello_usb 	58720 	Startup successful
                Nov 10 10:37:36 	upsmon 	27914 	UPS RielloSEP2200 is unavailable
                Nov 10 10:37:36 	upsmon 	27914 	Poll UPS [RielloSEP2200] failed - Driver not connected
                Nov 10 10:37:36 	upsd 	28635 	User local-monitor@127.0.0.1 logged into UPS [RielloSEP2200]
                Nov 10 10:37:32 	upsd 	28635 	Startup successful
                Nov 10 10:37:32 	upsd 	28603 	Can't connect to UPS [RielloSEP2200] (riello_usb-RielloSEP2200): Connection refused
                Nov 10 10:37:32 	upsd 	28603 	listening on 127.0.0.1 port 3493
                Nov 10 10:37:32 	upsd 	28603 	listening on ::1 port 3493
                Nov 10 10:37:30 	upsmon 	27914 	Communications with UPS RielloSEP2200 lost
                Nov 10 10:37:30 	upsmon 	27914 	UPS [RielloSEP2200]: connect failed: Connection failure: Connection refused
                Nov 10 10:37:30 	upsmon 	27623 	Startup successful
                Nov 10 10:37:30 	php-fpm 	50287 	/nut_settings.php: Starting service nut
                Nov 10 10:37:30 	upsd 	13922 	Signal 15: exiting
                Nov 10 10:37:30 	upsd 	13922 	mainloop: Interrupted system call
                Nov 10 10:37:30 	upsd 	13922 	User local-monitor@127.0.0.1 logged out from UPS [RielloSEP2200]
                Nov 10 10:37:30 	upsmon 	13197 	Signal 15: exiting
                Nov 10 10:37:30 	php-fpm 	50287 	/nut_settings.php: Stopping service nut
                Nov 10 10:37:30 	check_reload_status 	484 	Syncing firewall
                Nov 10 10:37:30 	php-fpm 	50287 	/nut_settings.php: Configuration Change: admin@192.168.1.210 (Local Database): Updated UPS settings
                Nov 10 10:37:01 	check_reload_status 	484 	Syncing firewall
                Nov 10 10:37:01 	php-fpm 	97711 	/index.php: Configuration Change: admin@192.168.1.210 (Local Database): Widget configuration has been changed. (User admin)
                Nov 10 10:37:00 	sshguard 	28889 	Now monitoring attacks.
                Nov 10 10:37:00 	sshguard 	91620 	Exiting on signal.
                Nov 10 10:36:48 	check_reload_status 	484 	Syncing firewall
                Nov 10 10:36:48 	php-fpm 	83476 	/index.php: Configuration Change: admin@192.168.1.210 (Local Database): Widget configuration has been changed. (User admin)
                Nov 10 10:32:58 	upsmon 	13197 	Communications with UPS RielloSEP2200 established
                Nov 10 10:32:58 	upsd 	13922 	User local-monitor@127.0.0.1 logged into UPS [RielloSEP2200]
                Nov 10 10:32:56 	upsd 	13922 	Connected to UPS [RielloSEP2200]: riello_usb-RielloSEP2200
                Nov 10 10:32:56 	riello_usb 	13928 	Startup successful
                Nov 10 10:32:54 	upsd 	13922 	Startup successful
                Nov 10 10:32:54 	upsd 	13777 	Can't connect to UPS [RielloSEP2200] (riello_usb-RielloSEP2200): No such file or directory
                Nov 10 10:32:54 	upsd 	13777 	listening on 127.0.0.1 port 3493
                Nov 10 10:32:54 	kernel 		uhid0: detached
                Nov 10 10:32:54 	kernel 		uhid0: at uhub3, port 1, addr 3 (disconnected)
                Nov 10 10:32:54 	upsd 	13777 	listening on ::1 port 3493
                Nov 10 10:32:53 	upsmon 	13197 	Communications with UPS RielloSEP2200 lost
                Nov 10 10:32:53 	upsmon 	13197 	UPS [RielloSEP2200]: connect failed: Connection failure: Connection refused
                Nov 10 10:32:53 	upsmon 	12733 	Startup successful
                Nov 10 10:32:53 	php-fpm 	86594 	/nut_settings.php: Starting service nut
                Nov 10 10:32:53 	check_reload_status 	484 	Syncing firewall 
                

                It looks, for me, did it once and stopped. This log is since NUT is actually started. And its filling it constantly. But it looks that reading data because i see load changes.

                UPS Status.png Widget.png

                I have multiple USB units and all of them acting totally same.

                Anyone have any thoughts about this?

                It looks it works, but that error bugs me. Is it conflicting maybe, dropping connection,... ?

                Thanks in advance.

                1 Reply Last reply Reply Quote 0
                • H
                  ha11oga11o
                  last edited by

                  This is what im getting with debug mode 6:

                  Nov 10 10:54:00 	sshguard 	35724 	Now monitoring attacks.
                  Nov 10 10:54:00 	sshguard 	19247 	Exiting on signal.
                  Nov 10 10:51:29 	upsmon 	18266 	Communications with UPS RielloSEP2200 established
                  Nov 10 10:51:29 	upsd 	21661 	User local-monitor@127.0.0.1 logged into UPS [RielloSEP2200]
                  Nov 10 10:51:27 	upsd 	21661 	Connected to UPS [RielloSEP2200]: riello_usb-RielloSEP2200
                  Nov 10 10:51:27 	riello_usb 	27207 	Startup successful
                  Nov 10 10:51:25 	upsd 	21661 	Startup successful
                  Nov 10 10:51:25 	upsd 	21547 	Can't connect to UPS [RielloSEP2200] (riello_usb-RielloSEP2200): No such file or directory
                  Nov 10 10:51:25 	upsd 	21547 	listening on 127.0.0.1 port 3493
                  Nov 10 10:51:25 	upsd 	21547 	listening on ::1 port 3493
                  Nov 10 10:51:24 	upsmon 	18266 	Communications with UPS RielloSEP2200 lost
                  Nov 10 10:51:24 	upsmon 	18266 	UPS [RielloSEP2200]: connect failed: Connection failure: Connection refused
                  Nov 10 10:51:24 	upsmon 	17701 	Startup successful
                  Nov 10 10:51:24 	php-fpm 	50287 	/nut_settings.php: Starting service nut
                  Nov 10 10:51:24 	riello_usb 	33500 	Signal 15: exiting
                  Nov 10 10:51:24 	upsd 	33371 	Signal 15: exiting
                  Nov 10 10:51:24 	upsd 	33371 	mainloop: Interrupted system call
                  Nov 10 10:51:24 	upsd 	33371 	User local-monitor@127.0.0.1 logged out from UPS [RielloSEP2200]
                  Nov 10 10:51:24 	upsmon 	20183 	Signal 15: exiting
                  Nov 10 10:51:24 	php-fpm 	50287 	/nut_settings.php: Stopping service nut
                  Nov 10 10:51:24 	check_reload_status 	484 	Syncing firewall 
                  
                  1 Reply Last reply Reply Quote 0
                  • H
                    ha11oga11o
                    last edited by

                    Sorry guys for spamming subject, but im trying to troubleshoot issue. I noticed that driver sees my ups in

                    Summary status: On line, Bypass, Charging

                    Is it possible that driver sees it as some sort of error because its in bypass mode and notifies about it?

                    And its not spamming disconnect in log anymore. But notice stays. Refreshing fine too. Actually it works, but notice is there and i dont dare to turn on mail notification in case of spamming error.

                    If more data is needed i will provide.

                    Thanks

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

                      @ha11oga11o

                      hi,

                      i have generated a Quirk for Riello VST1100

                      https://forum.netgate.com/topic/183961/nut-package-2-8-1-and-above/15?_=1699613439488

                      I also own UPS Riello Sentinel Pro 2200 and Riello Sentinel Dual SDU 6Kw.

                      As soon as I have time I'll check if the quirk also applies to this other UPS or if it has a different one

                      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

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

                        @Unoptanio

                        test in progress

                        I disconnected the USB cable from the Riello VST 1100 UPS and connected it to the USB port of the Riello Sentinel Pro 2200. On pfsense everything works in the UPS panel

                        Quirk for Riello VST1100 also works on Riello Sentinel Pro 2200

                        What parameter configuration do you recommend setting in the other text boxes?
                        7bc51bbc-1aa3-42bd-9de1-21484366e69a-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

                        H dennypageD 2 Replies Last reply Reply Quote 0
                        • H
                          ha11oga11o @Unoptanio
                          last edited by

                          @Unoptanio

                          Did you encounter issue as i did? That it works actually but print error like on pictures above? And actually i dont have anything NUT related in logs anymore. It works, but error persist.

                          Any chance to get that upsmon.conf line txt formatted for copy paste? Please:)

                          Cheers!

                          UnoptanioU dennypageD 2 Replies Last reply Reply Quote 0
                          • UnoptanioU
                            Unoptanio @ha11oga11o
                            last edited by Unoptanio

                            @ha11oga11o
                            My system
                            pfsense 2.7.0
                            nut 2.8.0_2

                            do we have different versions of pfsense and nut?
                            Try another USB cable that isn't too long

                            b768ccfb-28d0-442b-8201-55fad1b7e9be-image.png
                            3e2075f5-ef06-4a9c-aa19-166318771d8a-image.png
                            7d3e3e6c-ee1b-4825-9ba4-627b33afcccb-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

                            1 Reply Last reply Reply Quote 0
                            • dennypageD
                              dennypage @Unoptanio
                              last edited by

                              @Unoptanio You should remove all the NOTIFYFLAG lines from the Additional configuration lines for upsmon.conf. Notification flags are automatically handled with Enable notifications. If you look in the actual generated configuration files, you will see that they are duplicates.

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

                                @dennypage
                                OK

                                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

                                dennypageD 1 Reply Last reply Reply Quote 0
                                • dennypageD
                                  dennypage @ha11oga11o
                                  last edited by

                                  @ha11oga11o The error you are showing above indicates that you are missing a quirk. See my post "Notes on USB quirks" and @Unoptanio's post "for my RIELLO model Vision VST1100" in the NUT Support thread.

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

                                    @dennypage
                                    @ha11oga11o

                                    nano /boot/loader.conf

                                    add the last line

                                    hw.usb.quirk.0="0x04b4 0x5500 0x0000 0xffff UQ_HID_IGNORE"

                                    24effcb4-a4e7-44ea-8e34-eaef9a58fe0c-image.png

                                    6895aaf1-8555-4f50-bd3d-f5e14500bb13-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

                                    UnoptanioU dennypageD 2 Replies Last reply Reply Quote 0
                                    • UnoptanioU
                                      Unoptanio @Unoptanio
                                      last edited by

                                      @Unoptanio

                                      31029ba6-c658-4997-9d25-cbc2bcd78f62-image.png
                                      b1c321a8-d107-4490-8ecb-b8222a85f5a2-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

                                      dennypageD 1 Reply Last reply Reply Quote 0
                                      • dennypageD
                                        dennypage @Unoptanio
                                        last edited by

                                        @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                                        then reboot with reroot

                                        I would generally recommend performing a "Normal" reboot. I have not tested adding quirks with the "reroot" approach.

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

                                          @dennypage

                                          The first time I start pfsense the riello Sentinel PRO 2200 doesn't work for me.

                                          Then it starts working after I press on "restart service"

                                          ab843203-2140-4198-a4e5-8f7f8088a096-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

                                          1 Reply Last reply Reply Quote 0
                                          • dennypageD
                                            dennypage @Unoptanio
                                            last edited by

                                            @Unoptanio Btw, you probably want to remove the debug_min now that you are done with USB diagnostics.

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