I’ve been working on module development since recently, I manage to create easily almost anything I need except one thing.
For now, my modules use IConfigTab to add a new category under the left config panel to be set. My problem is by doing that, I am only able to keep one record at a time (as it upgrades the previous one by pressing “Save changes”) and create only one “instance” of my module. I was wondering if it’s possible to add a panel like this one (this is from one of Cirrus Link Ignition Module to use MQTT):
And then have another page to add the settings by clicking on the “Create new …” link:
I just want to be able to run multiple workers that have different settings. I know this is possible to do by looking at these modules, but can’t find any example.
After looking into the javadoc, I didn’t find anything really explained that could help.
Thanks in advance for your help!
PS: I know that I could create a driver module that could instantiate multiple devices, but I don’t think it is really appropriate, no?