Search code examples
volttron

Matlab Integration - modbus.config error


The steps did successfully :

  • Install the master driver
  • Storing the registry file (catalyst371.csv) file
  • I created modbus.config file in the main volttron root with below information:

{ "driver_config": {"device_address": "127.0.0.2", “port”: “5020”}, "driver_type": "modbus", "registry_config":"config://registers.csv", "interval": 5, "timezone": "UTC" }

When I store the config using:

vctl config store platform.driver devices/mysite/mybuilding/modbus1 modbus.config

I get the error attached error message

I also attached the Volttron Central installed components Volttron Central please let me know if I am missing any other agent.


Solution

  • The key port and value 5020 are not enclosed within regular double quotes. They are curly quotes (may be from word or another software?). Once I fixed the quotes character around port and 5020 I was able to add the file to config store.