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

          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:

          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.

          energy counters wip

          landy Mike Stupalov added a comment - energy counters wip

          it would be very much appreaciated if you could add support for the energy sensors again. I am in desperate need of these values. Sorry for digging up this old issue, but it is not really solved for me. Maybe I can fix the code by myself if you can tell me what is wrong with it...

          Thanks in advance.

          swfeldkirch Siegfried Gumilar added a comment - it would be very much appreaciated if you could add support for the energy sensors again. I am in desperate need of these values. Sorry for digging up this old issue, but it is not really solved for me. Maybe I can fix the code by myself if you can tell me what is wrong with it... Thanks in advance.

          Any news on the energy sensors? I have just switched to rolling and have lost all the energy graphs...

          swfeldkirch Siegfried Gumilar added a comment - Any news on the energy sensors? I have just switched to rolling and have lost all the energy graphs...

          Energy sensor currently removed, but will added later (after code refactor).

          landy Mike Stupalov added a comment - Energy sensor currently removed, but will added later (after code refactor).

          Added sensors discovery in r8008.

          landy Mike Stupalov added a comment - Added sensors discovery in r8008.

          People

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

            Dates

              Created:
              Updated:
              Resolved: