Closed ocschwar closed 8 years ago
this is not using the config store...from what I can tell. What branch are you using?
The develop branch.
I mistakenly thought that removing a wheel and re-installing it would nuke the configuration store.
Converting to the configuration store fixed the issue. Thanks!
Great!
I have a master driver agent set to scrape a ModbusTCP slave. The modbus config file is as follows:
{ "driver_config": {"device_address": "127.0.0.1", "port":5020}, "campus": "Shirley-MA", "building": "North", "unit": "PMC", "driver_type": "modbus", "registry_config":"/home/volttron/Docs/design-docs/voltron master modbus agent registers.csv", "interval": 5, "timezone": "UTC", "heart_beat_point": "ESMMode" }
Yet the topics by which the driver posts things are just "campus/building/modbus1/SolMetering_L1_to_L2_AC_Voltage"
I changed volttron/services/core/MasterDriverAgent/master_driver/driver.py as follows to try to fix it, but to no avail:
` self.base_topic = DEVICES_VALUE(campus=config.get('campus',''), building=config.get('building',''), unit=config.get('unit',''), path=self.device_path, point=None)
`