Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1945

Support for HWg-PWR device added

    XMLWordPrintable

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: