-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy existing GPIO selections to the configure template menu - Feature Request #5371
Comments
Nice idea, until it's implemented you can just use Your idea is to implement this functionality on the web too or to be able to copy any defined module? (The latter is probably not feasible as it requires too much code space to implement an endpoint for requesting a module config.) |
Oh cool I didn't know the template 0 would do that, I'll check that out. Define what you mean by web? I'm just talking about a simple button on the Tasmota Web GUI in the Configure Template screen that pulls over what is currently configured and running on the device in the configure module screen. Basically like this, a user gets a new plug, figures out all the GPIO pin settings and tests their plug. The user then heads over to the configure template screen hits copy and it pulls over the info. And thinking this through, if there was a text box with the template JSON that would be great as well. They could then just copy that info into their clipboard and then they would send it themselves and other info to have it submitted for user templates for others to use. |
I meant web interface, the copying of the currently selected configuration is doable. About the JSON if I remember correctly there was a discussion earlier, in the end the decision was that it should be placed on the |
I tried the template 0 command but it didn't copy things over. It just spits out what is in the template which was not configured of course. |
Is there a chance that your module is already configured to use template? Because |
Oh, I get it now, |
Let's conclude: You want the module changes made by a user to merge with the current active template (which doesn't have to be a user template) and store it as the user template? For now I'll add an option 255 to command template which will do just that. See what confusion comes out of it... |
@arendst basically yes. Scenario time to make it easy. I have a brand new RGBW LED controller. I sit and figure out where the 4 PWM channels are at to map it correctly plus the button on the controller. I want to submit it as a user template to put in the Wiki for others to enjoy. For now as it stands, the only way I can do this is to pull up the current Module Config screen on one monitor, then go to the configure template on another screen and click all the drop downs to make this new template. It would be nice to have a console command or button that would transfer over the current module config to the template config screen. An easy way to generate a template config off of the module configuration that you had to figure out. It also removes the human error aspect of things manually transferring the data. Thanks for looking at this! Just ideas to make it easier for people to make templates for the wiki. |
How about this:
It also changes the template name to Merged. I bet someone is against that... |
Add command Template 255 to copy module configuration over to current active template and store as user template named Merged (#5371)
Looks good! The name is easy to change ;) Will check it out in a later this evening as I see you have a commit. |
Nice! Templating is now very very easy 👍 |
I like it! |
Now if only we can get all the templating under one configuration menu |
Thanks for this! |
thanks, very nice addition, i configured some new templates and missed such feature, having to open 2 browser windows to copy from active to template page just to share them... |
Add command Template 255 to copy module configuration over to current active template and store as user template named Merged (arendst#5371)
Have you look for this feature in other issues and in the wiki?
Yes
Is your feature request related to a problem? Please describe.
Not really.
Describe the solution you'd like
In the configure template menu create a button that will copy the existing "Configure Module" selections over to the template screen.
Describe alternatives you've considered
Pulling up both screens and going back and forth introducing human error.
Additional context
This will allow a user to easily figure out the GPIO pins for his/her device, then easily create a template to send to @blakadder 's Wiki & Templates.
The text was updated successfully, but these errors were encountered: