I started writing a plugin but I have a small problem I would like to edit the settings from a template "Tab" I try but I can not find any other way than to go through settings . is it possible to do otherwise? I see that some plugins do it
example of the parameter I want to edit
Then you just have to make sure you are binding your tab input to settings.settings.plugins.OctoWS2812B.pinNum() and that you have your plugin's tab id included as a selector in the elements section of your viewmodel registration call.
If you're using the OctoPi image, I'm pretty sure that Guy has tweaked the pi user so that scripts running from within OctoPrint have the ability to run things that would talk to the GPIO, for example. This is usually reserved for root access.