Announcement

Collapse
No announcement yet.

Few questions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Few questions

    I have a few questions. 1.will your plugin work with this device https://www.staples.ca/en/APC-Back-U...5_2-CA_1_20001. 2. I plan to set it up to shut down HS and HS machine if power goes out and before battery dies. Since the HS machine would have been shut down will it automatically start by itself when power is restored. I know that now if power goes out it automatically starts. I always assumed it was because it had power removed with out it being properly shut down. If it properly shut down by script will it still turn on by itself?

  • #2
    Originally posted by freeon View Post
    I have a few questions. 1.will your plugin work with this device https://www.staples.ca/en/APC-Back-U...5_2-CA_1_20001. 2. I plan to set it up to shut down HS and HS machine if power goes out and before battery dies. Since the HS machine would have been shut down will it automatically start by itself when power is restored. I know that now if power goes out it automatically starts. I always assumed it was because it had power removed with out it being properly shut down. If it properly shut down by script will it still turn on by itself?
    That unit should work fine, as it has the required USB monitoring port. I have a couple of these, one for my desktop and one for the HS computer & networking gear (cable modem/router/switch). They work great; the desktop runs for 20-25 minutes and the networking closet one runs about an hour before shutting down.

    APC provides a monitoring software package called PowerChute, but to use the plugin you'll instead want to install apcupsd from here.

    Both PowerChute and apcupsd can be set up to perform an orderly shutdown once the battery is depleted to a certain point. I have the HS3 plugin, but I don't actually use it for anything (I do like the status it provides though).

    What system are you running HS on? I have the Hometroller S6, which is set up to automatically start when power is applied. It does this regardless of how it was shut down, orderly or not.

    One issue that has been discussed is that when the computer shuts down, it stops drawing power from the UPS, and the UPS can linger for awhile before it shuts down. If AC power is restored before UPS shuts down, the HS computer won't restart (since it actually never loses power). There is a way to configure apcupsd so that the UPS will shut down immediately after the computer which solves this problem.

    Comment


    • #3
      Thanks for the information. I run HS on a PC. I wonder if there is a way to set up any PC to turn on when power is applied. Even if PowerChute can turn everything off properly I do see another use for the plugin. I would like to set it up to get notification of a power failure at home.

      Comment


      • #4
        Originally posted by freeon View Post
        Thanks for the information. I run HS on a PC. I wonder if there is a way to set up any PC to turn on when power is applied. Even if PowerChute can turn everything off properly I do see another use for the plugin. I would like to set it up to get notification of a power failure at home.
        It's good for that for sure. I get AC fail from my alarm system as well, so am using that.

        Check out your BIOS for Power On options. See here for how its set on the Hometroller S6.

        Comment


        • #5
          Is there any documentation that shows how to set this up. In plugin status under connected it says false. I believe I have all the required software installed. One thing I'm not sure is what do I put for port in configuration.

          Comment


          • #6
            On the Homeseer help page (click on the ? icon), there is a link to APCUPSD Plug-in Documentation.

            For apcupsd, default port is 3551.

            On Windows, when apcupsd is running there is a tray icon as shown below. clicking on this opens a status window as shown. You want to see status ONLINE.
            Attached Files

            Comment


            • #7
              The status on the apcupsd status window it says commlost. Any idea>

              Comment


              • #8
                Windows driver installation is covered here: http://www.apcupsd.org/manual/manual...r-installation (This manual is also included in the doc subfolder of the apcupsd installation).

                I don't recall if this is installed automatically or manually. When complete, it appears in the Windows device manager under the Batteries category, as shown.

                Of course make sure the USB cable is connected to the computer and the UPS is powered on.
                Attached Files

                Comment


                • #9
                  APC UPS is showing up under batteries in device manager. The powechute software sees the ups so everything appears to be connected correctly. Re-booted the pc and still got commlost.

                  Comment


                  • #10
                    You can't run both PowerChute and apcupsd. There is only one interface device and they both can't open it.

                    The PowerChute driver isn't the same as the apcupsd one. For apcupsd to work, its driver needs to be the one showing in device manager.

                    Comment


                    • #11
                      Had to manually install driver. It's working now. Thanks.

                      Comment


                      • #12
                        Originally posted by zwolfpack View Post

                        One issue that has been discussed is that when the computer shuts down, it stops drawing power from the UPS, and the UPS can linger for awhile before it shuts down. If AC power is restored before UPS shuts down, the HS computer won't restart (since it actually never loses power). There is a way to configure apcupsd so that the UPS will shut down immediately after the computer which solves this problem.
                        I was wondering if someone could shed some light on the proper way to configure the UPS to kill the power to the PC? I have it configured to shutdown the PC, but as described above, I was caught in a situation where the power was restored before the batteries were fully depleted and my computer never turned back on

                        I have found the help document stating to modify the registry "HKEY_LOCAL_MACHINE Software\Microsoft\Windows\CurrentVersion\RunServices", but my win10 PC does not have this key (as far as I could find).

                        Comment


                        • #13
                          Drop attached doshutdown.bat file into C:\apcupsd\etc\apcupsd. (Lifted from apccontrol.bat in same directory, with relevant section uncommented).
                          In apcupsd.conf, I set BATTERYLEVEL -1 (which disables that) and MINUTES 1 to give maximum run time.
                          Attached Files

                          Comment


                          • #14
                            Thanks for the help, I will try this out

                            Comment


                            • #15
                              I finally made it to the Cabin this weekend and was able to test the settings and .bat file. It worked great. Thanks!

                              Comment

                              Working...
                              X