platform_driver.driver module

class platform_driver.driver.DriverAgent(parent, config, time_slot, driver_scrape_interval, device_path, group, group_offset_interval, default_publish_depth_first_all=True, default_publish_breadth_first_all=True, default_publish_depth_first=True, default_publish_breadth_first=True, **kwargs)[source]

Bases: volttron.platform.vip.agent.BasicAgent

find_starting_datetime(now)[source]
get_interface(driver_type, config_dict, config_string)[source]

Returns an instance of the interface

get_multiple_points(point_names, **kwargs)[source]
get_paths_for_point(point)[source]
get_point(point_name, **kwargs)[source]
heart_beat()[source]
periodic_read(now)[source]
publish_cov_value(point_name, point_values)[source]

Called in the platform driver agent to publish a cov from a point :param point_name: point which sent COV notifications :param point_values: COV point values

revert_all(**kwargs)[source]
revert_point(point_name, **kwargs)[source]
scrape_all()[source]
set_multiple_points(point_names_values, **kwargs)[source]
set_point(point_name, value, **kwargs)[source]
setup_device()[source]
starting(sender, **kwargs)[source]
update_publish_types(publish_depth_first_all, publish_breadth_first_all, publish_depth_first, publish_breadth_first)[source]

Setup which publish types happen for a scrape. Values passed in are overridden by settings in the specific device configuration.

update_scrape_schedule(time_slot, driver_scrape_interval, group, group_offset_interval)[source]