architecture-building-systems / CityEnergyAnalyst

The City Energy Analyst (CEA)
https://www.cityenergyanalyst.com/
MIT License
197 stars 66 forks source link

CEA Dashboard and cea.config doesn't allow to use multiple plug-ins simultaneously #2924

Open nasty-bos opened 3 years ago

nasty-bos commented 3 years ago

Describe the bug It is not possible to use two or more plug-ins via CEA Dashboard simultaneously. Once another plug-in is installed, it is automatically replaces previously installed plug-in in cea.config, which doesn't allow multiple plug-ins to be set simultaneously.

To Reproduce Steps to reproduce the behavior:

  1. Install first plug-in, for example https://github.com/architecture-building-systems/cea-plugin-template. Check in CEA Dashboard if it is accessible.
  2. Install second plug-in, for example https://github.com/lguilhermers/calibration_plugin.
  3. Open cea.config and CEA Dashboard to see that the initially installed plug-in is not accessible, because it was replaced with next plug-in.

Expected behaviour cea.config allows to have multiple plug-ins set simultaneously, same as CEA Dashboard can display multiple installed plug-ins.

Hardware (please complete the following information): OS and version: Windows 10 Version of CEA: 3.13.0

daren-thomas commented 3 years ago

@nasty-bos you can add multiple plugins manually in the cea.config, separate them with ,.

The bug is probably in the cea-config write --general:plugins xyz right? Maybe acea-plugintool would be cool:cea-plugin add xyz,cea-plugin remove xyz,cea-plugin list,cea-plugin info`...

nasty-bos commented 3 years ago

@daren-thomas thanks, this works! cea-plugin tool would be definitely nice to have!