So, the upcoming release of nymea has some brand new generic IO support. The way that will work is that you can connect other “things” to GPIOs. For example, you have GPIO1 and connect a light thing to it. After that you’d see the light in nymea and when you toggle that light, it will in fact switch the GPIO1 behind the scenes. Those connections will also support inverting.
This is currently in the experimental repository and we hope to get it to the testing repository within the next days. From there it needs to pass some QA tests and once we don’t find any issues any more it will be released.
If you’re brave you are welcome to try things out on experimental and give us feedback.
However, keep in mind that you might hit bugs that require resetting the config, manually reinstalling packages (e.g. with some apt-get commands) or lose log history. So only do that on devices that are not critical for operation.
Also, please let me know which plugins exactly you are using and what kind of things you have connected to those relay switches so I can make sure all (or at least most) of your use cases will be covered when 0.21 comes out.