-- NBS mib definitions -- MIB version 1.2 NBS-MIB DEFINITIONS ::= BEGIN -- SUBTREE: 1.3.6.1.4.1.40595.1 -- iso.org.dod.internet.private.enterprises.nbs.brennenstuhl IMPORTS mgmt, Gauge32, Unsigned32, IpAddress, enterprises FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212; -- The following data type is used to model media addresses. For -- Ethernet addresses, this will be in a binary representation -- being represented as a string of 6 octets. PhysAddress ::= OCTET STRING -- nbs nbs OBJECT IDENTIFIER ::= { enterprises 40595 } ws_brs OBJECT IDENTIFIER ::= { nbs 1 } relay OBJECT IDENTIFIER ::= { ws_brs 1 } power OBJECT IDENTIFIER ::= { ws_brs 2 } timer OBJECT IDENTIFIER ::= { ws_brs 3 } switchSetting OBJECT IDENTIFIER ::= { ws_brs 4 } systemSetting OBJECT IDENTIFIER ::= { ws_brs 5 } dateTime OBJECT IDENTIFIER ::= { ws_brs 6 } watchdog OBJECT IDENTIFIER ::= { ws_brs 7 } mibInfo OBJECT IDENTIFIER ::= { ws_brs 10 } -- the relay group relay1 OBJECT-TYPE SYNTAX Unsigned32 (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "State of relay 1. 0 == off; 1 == on." ::= { relay 1 } relay2 OBJECT-TYPE SYNTAX Unsigned32 (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "State of relay 2. 0 == off; 1 == on." ::= { relay 2 } relayDelayOn OBJECT-TYPE SYNTAX Unsigned32 (0..1000000) ACCESS read-write STATUS mandatory DESCRIPTION "On delay of relay after zero-crossing. The value is in units of 20ns. The value must be within 0 and 1000000." ::= { relay 9 } relayDelayOff OBJECT-TYPE SYNTAX Unsigned32 (0..500000) ACCESS read-write STATUS mandatory DESCRIPTION "Off delay of relay after zero-crossing. The value is in units of 20ns. The value must be within 0 and 500000." ::= { relay 10 } -- The power group. powerval OBJECT-TYPE SYNTAX Gauge32 ACCESS read-only STATUS mandatory DESCRIPTION "Current measured power in multiples of 100 mW. E. g. a value of 10 corresponds to 1 Watt." ::= { power 1 } energyval OBJECT-TYPE SYNTAX Gauge32 ACCESS read-only STATUS mandatory DESCRIPTION "Accumulated energy since system start in Ws." ::= { power 2 } calibval OBJECT-TYPE SYNTAX Unsigned32 (15000..35000) ACCESS read-write STATUS mandatory DESCRIPTION "Calibration value of the power measurement. Default value is 27244. Allowed values are between 15000 and 35000." ::= { power 3 } slidingaverage OBJECT-TYPE SYNTAX Unsigned32 (1..10) ACCESS read-write STATUS mandatory DESCRIPTION "Number of power values that are used to calculate a sliding average value each time a value is measured. Default value is 10. Allowed values are between 1 and 10." ::= { power 4 } power10sNum OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "Number of measurement values in table for 10s interval." ::= { power 5 } power24hNum OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "Number of measurement values in table for 24h interval." ::= { power 6 } power10sBlockNum OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "Number of blocks containing measurement values in table for 10s interval data." ::= { power 7 } power24hBlockNum OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "Number of blocks containing measurement values in table for 24h interval data." ::= { power 8 } powerStart OBJECT-TYPE SYNTAX Unsigned32 (1..65535) ACCESS read-write STATUS mandatory DESCRIPTION "Index (1-based) of data block to be retrieved from measurement tables. Allowed values are between 1 and 65535." ::= { power 9 } powerNumber OBJECT-TYPE SYNTAX Unsigned32 (1..127) ACCESS read-write STATUS mandatory DESCRIPTION "Number of entries to be retrieved from measurement tables. Allowed values are between 1 and 127." ::= { power 10 } -- The 10s power table entry within the power group. power10s OBJECT-TYPE SYNTAX SEQUENCE OF PowerEntry10s ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of measured power values, saved in 10s intervals." ::= { power 11 } powerEntry10s OBJECT-TYPE SYNTAX PowerEntry10s ACCESS not-accessible STATUS mandatory DESCRIPTION "A table entry containing a time-stamp and a power value." INDEX { powBlockIndex10s } ::= { power10s 1 } PowerEntry10s ::= SEQUENCE { powBlockIndex10s Unsigned32, powBlock10s OCTET STRING } powBlockIndex10s OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "An index (1-based) of a measurement data block." ::= { powerEntry10s 1 } powBlock10s OBJECT-TYPE SYNTAX OCTET STRING ACCESS read-only STATUS mandatory DESCRIPTION "A block of measurement data. It has the following format: The first 4 bytes are the timestamp of the data block in seconds starting from 1/1/1900. The following data are the measurement data, each data point containing 2 bytes. It contains the average power measured within 10 seconds as a multiple of 100mW." ::= { powerEntry10s 2 } -- The 24h power table entry within the power group. power24h OBJECT-TYPE SYNTAX SEQUENCE OF PowerEntry24h ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of measured power values, saved in 24h intervals." ::= { power 12 } powerEntry24h OBJECT-TYPE SYNTAX PowerEntry24h ACCESS not-accessible STATUS mandatory DESCRIPTION "A table entry containing a time-stamp and a power value." INDEX { powBlockIndex24h } ::= { power24h 1 } PowerEntry24h ::= SEQUENCE { powBlockIndex24h Unsigned32, powBlock24h OCTET STRING } powBlockIndex24h OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "An index (1-based) of a measurement data block." ::= { powerEntry24h 1 } powBlock24h OBJECT-TYPE SYNTAX OCTET STRING ACCESS read-only STATUS mandatory DESCRIPTION "A block of measurement data. It has the following format: The first 4 bytes are the timestamp of the data block in seconds starting from 1/1/1900. The following data are the measurement data, each data point containing 2 bytes. It contains the average power measured within 24 hours as a multiple of 100mW." ::= { powerEntry24h 2 } -- The Timer group timerTab OBJECT-TYPE SYNTAX SEQUENCE OF TimerEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of timer entries." ::= { timer 1 } timerEntry OBJECT-TYPE SYNTAX TimerEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table entry containing the setting of a single timer action." INDEX { timerIndex } ::= { timerTab 1 } TimerEntry ::= SEQUENCE { timerIndex Unsigned32, timerRelayNum Unsigned32, timerRelayState Unsigned32, timerSchedWDay Unsigned32, timerSchedYear Unsigned32, timerSchedMonth Unsigned32, timerSchedDay Unsigned32, timerSchedHours Unsigned32, timerSchedMinutes Unsigned32 } timerIndex OBJECT-TYPE SYNTAX Unsigned32 (1..8) ACCESS read-only STATUS mandatory DESCRIPTION "The index of a timer entry. " ::= { timerEntry 1 } timerRelayNum OBJECT-TYPE SYNTAX Unsigned32 (0..3) ACCESS read-write STATUS mandatory DESCRIPTION "The bit-ORed number of relay the timer has to act on: 0x01 is Relay 0; 0x02 is Relay 1 etc." ::= { timerEntry 2 } timerRelayState OBJECT-TYPE SYNTAX Unsigned32 (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "The action the timer will take: 0 => off; 1 => on." ::= { timerEntry 3 } timerSchedWDay OBJECT-TYPE SYNTAX Unsigned32 (0..128) ACCESS read-write STATUS mandatory DESCRIPTION "The bit-ORed weekdays: 0x01: Monday, 0x02: Tuesday, 0x04: Wednesday, ..., 0x40 Sunday. 0x80: Switch on specific date." ::= { timerEntry 4 } timerSchedDate OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-write STATUS mandatory DESCRIPTION "A bitfield containing the date of occurrence of a timer action. From MSB to LSB: 7 bits: year; 4 bits: month, 5 bits: day. Year is offset to 2000. If year>0, month>0, day>0, this defines the day of occurrence. If year is 0, the date defines an occurrence once per year. If year and month are 0, it defines an occurrence once per month." ::= { timerEntry 5 } timerSchedHours OBJECT-TYPE SYNTAX Unsigned32 (0..23) ACCESS read-write STATUS mandatory DESCRIPTION "The hour of the time at which the timer has to act." ::= { timerEntry 6 } timerSchedMinutes OBJECT-TYPE SYNTAX Unsigned32 (0..59) ACCESS read-write STATUS mandatory DESCRIPTION "The minutes of the time at which the timer has to act." ::= { timerEntry 7 } -- The Switching Settings group switchTab OBJECT-TYPE SYNTAX SEQUENCE OF SwitchEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of switch entries." ::= { switchSetting 1 } switchEntry OBJECT-TYPE SYNTAX SwitchEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table entry containing the switch-setting of the relay." INDEX { switchIndex } ::= { switchTab 1 } SwitchEntry ::= SEQUENCE { switchIndex Unsigned32, switchState Unsigned32, switchOnDelay Unsigned32, switchResetDelay Unsigned32 } switchIndex OBJECT-TYPE SYNTAX Unsigned32 (1..2) ACCESS read-only STATUS mandatory DESCRIPTION "The index of the relay. " ::= { switchEntry 1 } switchState OBJECT-TYPE SYNTAX Unsigned32 (0..2) ACCESS read-write STATUS mandatory DESCRIPTION "The relay state after power is applied to the device: 0: Off, 1: On, 2:Last state." ::= { switchEntry 2 } switchOnDelay OBJECT-TYPE SYNTAX Unsigned32 (0..9999) ACCESS read-write STATUS mandatory DESCRIPTION "The on-delay after power is applied to the device in seconds." ::= { switchEntry 3 } switchResetDelay OBJECT-TYPE SYNTAX Unsigned32 (0..9999) ACCESS read-write STATUS mandatory DESCRIPTION "After this delay time a relay is automatically switched on again after switching it off manually. 0 deactivates the function." ::= { switchEntry 4 } -- System Settings systemWOLdelay OBJECT-TYPE SYNTAX Unsigned32 (-1..999) ACCESS read-write STATUS mandatory DESCRIPTION "After this delay in seconds a WOL package is sent after the master relay (On/Off 0) is switched on. A -1 indicates this feature being switched off." ::= { systemSetting 1 } systemWOLMAC OBJECT-TYPE SYNTAX PhysAddress ACCESS read-write STATUS mandatory DESCRIPTION "This is the physical address (MAC) addressed by the WOL package." ::= { systemSetting 2 } systemPOn OBJECT-TYPE SYNTAX Unsigned32 (2..99) ACCESS read-write STATUS mandatory DESCRIPTION "If master power consumption is above this level in Watt, the slave will be switched on." ::= { systemSetting 3 } systemPOff OBJECT-TYPE SYNTAX Unsigned32 (1..99) ACCESS read-write STATUS mandatory DESCRIPTION "If master power consumption is below this level in Watt, the slave will be switched off. This value will always be kept at least 1 Watt below systemPOn." ::= { systemSetting 4 } systemSlaveOnDelay OBJECT-TYPE SYNTAX Unsigned32 (0..9999) ACCESS read-write STATUS mandatory DESCRIPTION "On delay in seconds of the slave for a master/slave action." ::= { systemSetting 5 } systemSlaveOffDelay OBJECT-TYPE SYNTAX Unsigned32 (0..9999) ACCESS read-write STATUS mandatory DESCRIPTION "Off delay in seconds of the slave for a master/slave action." ::= { systemSetting 6 } systemMSOn OBJECT-TYPE SYNTAX Unsigned32 (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "On/off state of master/slave-function: 0 indicates off, 1 indicates on." ::= { systemSetting 7 } -- Date Time settings dateTimeNTP OBJECT-TYPE SYNTAX OCTET STRING (SIZE(0..20)) ACCESS read-write STATUS mandatory DESCRIPTION "Name of the used SNTP server. An empty string is used for manual date/time entry." ::= { dateTime 1 } dateTimeYear OBJECT-TYPE SYNTAX Unsigned32 (1..2099) ACCESS read-write STATUS mandatory DESCRIPTION "Date/Time: year." ::= { dateTime 2 } dateTimeMonth OBJECT-TYPE SYNTAX Unsigned32 (1..12) ACCESS read-write STATUS mandatory DESCRIPTION "Date/Time: month." ::= { dateTime 3 } dateTimeDay OBJECT-TYPE SYNTAX Unsigned32 (1..31) ACCESS read-write STATUS mandatory DESCRIPTION "Date/Time: day." ::= { dateTime 4 } dateTimeHours OBJECT-TYPE SYNTAX Unsigned32 (0..23) ACCESS read-write STATUS mandatory DESCRIPTION "Date/Time: hours." ::= { dateTime 5 } dateTimeMinutes OBJECT-TYPE SYNTAX Unsigned32 (0..59) ACCESS read-write STATUS mandatory DESCRIPTION "Date/Time: minutes." ::= { dateTime 6 } -- Watchdog Settings watchdogTab OBJECT-TYPE SYNTAX SEQUENCE OF WatchdogEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of watchdog entries." ::= { watchdog 1 } watchdogEntry OBJECT-TYPE SYNTAX WatchdogEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table entry containing the watchdog-settings of the relay." INDEX { watchdogIndex } ::= { watchdogTab 1 } WatchdogEntry ::= SEQUENCE { watchdogIndex Unsigned32, watchdogType Unsigned32, watchdogIP IpAddress, watchdogPort Unsigned32, watchdogInterval Unsigned32, watchdogRetry Unsigned32, watchdogAction Unsigned32, watchdogWait Unsigned32 } watchdogIndex OBJECT-TYPE SYNTAX Unsigned32 (1..2) ACCESS read-only STATUS mandatory DESCRIPTION "The index of the relay. " ::= { watchdogEntry 1 } watchdogType OBJECT-TYPE SYNTAX Unsigned32 (0..2) ACCESS read-write STATUS mandatory DESCRIPTION "Watchdog type: 0: off, 1: ICMP-ping, 2: TCP-ping." ::= { watchdogEntry 2 } watchdogIP OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "IP address to be supervised." ::= { watchdogEntry 3 } watchdogPort OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-write STATUS mandatory DESCRIPTION "Port used by TCP-ping." ::= { watchdogEntry 4 } watchdogInterval OBJECT-TYPE SYNTAX Unsigned32 (0..999) ACCESS read-write STATUS mandatory DESCRIPTION "Interval between pings in minutes." ::= { watchdogEntry 5 } watchdogRetry OBJECT-TYPE SYNTAX Unsigned32 (0..99) ACCESS read-write STATUS mandatory DESCRIPTION "Number of retries after unsuccessful ping." ::= { watchdogEntry 6 } watchdogAction OBJECT-TYPE SYNTAX Unsigned32 (-1..999) ACCESS read-write STATUS mandatory DESCRIPTION "Action to be performed: -1: Switch off if unsuccessful; 0...999: Reboot after specified number of seconds." ::= { watchdogEntry 7 } watchdogWait OBJECT-TYPE SYNTAX Unsigned32 (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Wait action to be performed: 0: Don't wait for a first ping reply before starting watchdog; 1: Wait for a first ping reply before starting watchdog." ::= { watchdogEntry 8 } -- Version Settings versionMIB OBJECT-TYPE SYNTAX Unsigned32 ACCESS read-only STATUS mandatory DESCRIPTION "MIB version number." ::= { mibInfo 1 } END