Details

    • Add New Device / OS
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Discovery

    Description

      I have added improved support for these devices: http://www.hw-group.com/products/HWg-PWR/hwg-pwr25_M-bus_gateway_en.html

      As I don't really have programming skills I tried to adapt the configuration of the HWG-STE device, as it is form the same manufacturer.
      Therefore I modified the existing hwg-pwr entry in os.in.php to:

      os = "hwg-pwr";
      $config['os'][$os]['text'] = "HWg-PWR";
      $config['os'][$os]['type'] = "environment";
      $config['os'][$os]['snmp']['nobulk'] = 1;
      $config['os'][$os]['vendor'] = "HW Group";
      $config['os'][$os]['icon'] = "hwggroup";
      $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.21796.4.6";
      $config['os'][$os]['mibs'][] = "HWG-PWR-MIB";

      I also added a new icon, see attachment.
      Enclosed you will also find the MIB file HWG-PWR-MIB I have placed to /mibs/hwgroup.

      I added another sensor type called energy to display the kWh:
      /includes/definitions/sensors.inc.php
      ==> $config['sensor_types']['energy'] = array( 'symbol' => 'kWh', 'text' => 'kiloWatthours','icon' => 'oicon-power');

      Enclosed I am also sending you the newly created files:
      /html/includes/graphs/sensor/energy.inc.php
      /includes/discovery/sensors/hwg-pwr-mib.inc.php

      Everything works fine for me...

      Attachments

        1. energy.inc.php
          0.8 kB
        2. HWG-PWR-MIB
          7 kB
        3. hwg-pwr-mib.inc.php
          2 kB
        4. hwgroup.png
          hwgroup.png
          0.5 kB
        5. image-2019-05-09-11-16-18-537.png
          image-2019-05-09-11-16-18-537.png
          12 kB
        6. image-2019-05-09-14-42-18-934.png
          image-2019-05-09-14-42-18-934.png
          33 kB
        7. Observium - Dashboard 2019-05-09 15-30-56(1).png
          Observium - Dashboard 2019-05-09 15-30-56(1).png
          1.11 MB

        Activity

          [OBS-1945] Support for HWg-PWR device added
          landy Mike Stupalov made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]

          Now fully added in r9873.

          landy Mike Stupalov added a comment - Now fully added in r9873.

          Oops I didn't notice the double arrows in the lower right corners. Thanks for the hint. I've just noticed that I can also reduce the widget to half the column width with it.
          It was always bothering me that there was so much blank space below the alerts. 

          swfeldkirch Siegfried Gumilar added a comment - Oops I didn't notice the double arrows in the lower right corners. Thanks for the hint. I've just noticed that I can also reduce the widget to half the column width with it. It was always bothering me that there was so much blank space below the alerts. 
          swfeldkirch Siegfried Gumilar made changes -
          Attachment New: image-2019-05-09-14-42-18-934.png [ 16127 ]

          Yes, added, but this widget height you need change manually, see screenshot:

          landy Mike Stupalov added a comment - Yes, added, but this widget height you need change manually, see screenshot:
          landy Mike Stupalov made changes -

          Hello Mike,

          I have just updated Observium and recognized that you added counters to observium. The work fine with our HWg-PWR devices. Thank you!

          But it seems like you need to adjust the height of the widget listing Devices, Ports, Sensors, Statuses and now Counters:

          The Counters are barely visible.

          swfeldkirch Siegfried Gumilar added a comment - Hello Mike, I have just updated Observium and recognized that you added counters to observium. The work fine with our HWg-PWR devices. Thank you! But it seems like you need to adjust the height of the widget listing Devices, Ports, Sensors, Statuses and now Counters: The Counters are barely visible.
          swfeldkirch Siegfried Gumilar made changes -
          Attachment New: image-2019-05-09-11-16-18-537.png [ 16125 ]
          landy Mike Stupalov made changes -
          Labels New: counters

          People

            landy Mike Stupalov
            swfeldkirch Siegfried Gumilar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: