platform_driver.interfaces.restful module
- class platform_driver.interfaces.restful.Interface(**kwargs)[source]
Bases:
BasicRevert
,BaseInterface
- configure(config_dict, registry_config_str)[source]
Configures the
Interface
for the specific instance of a device.- Parameters
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 withBaseInterface.insert_register()
.
- class platform_driver.interfaces.restful.Register(read_only, volttron_point_name, units, description, point_name)[source]
Bases:
BaseRegister