Announcement

Collapse
No announcement yet.

APCUPSD on Ubuntu Linux 64 bit

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

  • APCUPSD on Ubuntu Linux 64 bit

    @PCP

    I understand that the plugin was written to work in Windows.

    It is showing up here in the HS3 Pro Linux plugins manager list so I installed it.

    I did not see any errors in the logs when installing.

    I have installed Nut and using generic USB-HID nut driver with the APC UPS (USB).

    This is what I see using the nut driver:

    HomeSeerPro:~# upsc ups
    Init SSL without certificate database
    battery.charge: 100
    battery.charge.low: 10
    battery.charge.warning: 50
    battery.date: 2001/09/25
    battery.mfr.date: 2006/01/25
    battery.runtime: 1305
    battery.runtime.low: 120
    battery.type: PbAc
    battery.voltage: 26.9
    battery.voltage.nominal: 24.0
    device.mfr: American Power Conversion
    device.model: Back-UPS NS 1250
    device.serial: JBxyz
    device.type: ups
    driver.name: usbhid-ups
    driver.parameter.pollfreq: 30
    driver.parameter.pollinterval: 2
    driver.parameter.port: auto
    driver.version: 2.7.2
    driver.version.data: APC HID 0.95
    driver.version.internal: 0.38
    input.sensitivity: medium
    input.transfer.high: 139
    input.transfer.low: 97
    input.transfer.reason: input voltage out of range
    input.voltage: 124.0
    input.voltage.nominal: 120
    ups.beeper.status: disabled
    ups.delay.shutdown: 20
    ups.firmware: 7.g1 .D
    ups.firmware.aux: g1
    ups.load: 0
    ups.mfr: American Power Conversion
    ups.mfr.date: 2006/01/25
    ups.model: Back-UPS NS 1250
    ups.productid: 0002
    ups.realpower.nominal: 780
    ups.serial: JBxyz
    ups.status: OL
    ups.test.result: No test initiated
    ups.timer.reboot: 0
    ups.timer.shutdown: -1
    ups.vendorid: 051d
    HomeSeerPro:~#

    Enabling the plugin I see no graphics for the variables, logs are being written to the root directory using backward slash instead of forward slash, it appears to be enabled then disables itself. I see some of the above data in the variables for a short time.

    It is understood that the plugin was written for windows.

    I am just checking it out for Linux.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
    Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

    Testing Mini Intel quad core 4Gb Ram - 64Gb eMMC - micro PC

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

  • #2
    Pete,
    I've been using it on a SEL with Ununtu 14.04 and MONO 3.28 and it appears to work fine. Images didn't appear on the devices but all functionality appears to be good for the past month or so. Tested by unplugging the UPS from the wall and all statuses were reported to the devices.

    Comment


    • #3
      Thank you Matt.

      Noticed too that when installing the plugin the zip file was removed.

      I would like to install the graphics and maybe just do that manually.

      The logging still needs to be fixed as it is writing outside of the Homeseer directory; here it creates a Homeseer directory in the root but cannot write to it after it starts.

      IE: Homeseer here is in the root.

      /HomeSeer/Logs/

      It writes:

      \Homeseer\Logs\
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
      Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

      Testing Mini Intel quad core 4Gb Ram - 64Gb eMMC - micro PC

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

      Comment


      • #4
        The plugin is windows only. I contemplated supporting Linux but not at this point and no ETA (if ever). If it shows up as a linux plugin in HS3 on linux I need to discuss this with HST as they control the configuration. They had to fix this once in the past, sorry for the confusion if any. Thanks.

        Comment


        • #5
          Understood Philippe and thank you for the info.

          Yes; it should be removed from the Linux plugins list.

          BTW there are many automation newbies on the forum here that have started automating using the original Zee and currently the Zee-2 (RPi).
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
          Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

          Testing Mini Intel quad core 4Gb Ram - 64Gb eMMC - micro PC

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

          Comment

          Working...
          X