Driver Details

WattBox

By: RTI
Updated: Sept. 14, 2018
Version: 1.11

Description:

Drivers for IP Only control of WattBox Power Conditioners.

Version History:

Version 1.1 expands to 12 outlets, adds additional LED state variables and adds dynamic naming of the outlets in the configuration.

Version 1.11 restored the Reset All command.

Version 1.12 fixed the ability to track external changes to the device, including reboots.

WattBox Power Conditioners

This driver controls the WattBox line of IP Controlled Power Conditioners. It was built and tested using a WB700-IPV-12 and version 1.3 of the API.

There is no serial control of the unit, it is IP controlled only.

Revision History
1.0
The initial release of the driver
1.01 Changes the timing of the polling for more stable command status returns

1.1 Expands to 12 outlets, adds dynamic naming, and expands LED status notifications
1.11 Restore the ability to Reset All outlets
1.12 Fixes monitoring of external state changes

Control/Commands

Only the outlets are controllable in this system. All the configuration of the device needs to be done via the web interface.

The outlets can be turned on or off on command, or you can initiate a restart where the outlet will turn off and then back on after a configurable (but not in the driver) length of time. You can also enable and disable the auto-reset functions where the outlets can be reset based on the results of a PING of an external device or website. The protocol only allows switching one outlet at a time and the driver has to wait for one to respond before it can address another so there is some lag when operating multiple outlets one after the other.

Variables

The current voltage at the box, as well the current and power draw of the unit are available for display as well as the units 'Safe Voltage' Indicator

The current state of the outlet is available as a variable. The driver is trying to find a balance between polling speed and the bandwidth needed to get the device status. It polls for the status of the device every 5 seconds. Because of this it is possible for the driver to miss the reset if the off time is less than 5 seconds.

Besides the current state of the outlet you can see (but not alter) what its reset mode is. It may have the reset function, or even switching on and off, disabled in the configuration.

You can monitor the connection to the 5 external network addresses with their IP address, their recent response times and their availability.

The LED's for Internet, Auto-Reboot and System Status can also be monitored. These have status variables for either solid or flashing state of the Red and Green LED's even though the states are not always defined for each of the three LED's

The outlet names entered into the configuration are available as variables

Events

Events are triggered:

When an outlet goes on or off (separate events)

When one of the LED's (Internet, Auto-Reboot or Status) goes on or off

When the 'Unsafe Voltage' warning comes on (or goes off)