platform_driver.interfaces.universal module

08/15/16 - Remove whitespace in config file. 10/11/16 - Pass only device_id to VehicleDriver. 03/01/17 - Call agent.GetPoint in get_point. 04/17/17 - Updated for Volttron 4.0.

class platform_driver.interfaces.universal.Interface(**kwargs)[source]

Bases: platform_driver.interfaces.BasicRevert, platform_driver.interfaces.BaseInterface

configure(config_dict, registry_config_dict)[source]

Configures the Interface for the specific instance of a device.

  • config_dict (dict) – The “driver_config” section of the driver configuration file.

  • registry_config_str (str) – The contents of the registry configuration file.

This method must setup register representations of all points on a device by creating instances of BaseRegister (or a subclass) and adding them to the Interface with BaseInterface.insert_register().


Get the current value for the point name given.

  • point_name (str) – Name of the point to retrieve.

  • kwargs – Any interface specific parameters.


Point value

parse_config(agent, device_type, config_dict, reg_config_str)[source]