I have a couple rules to "automatically" control a couple cell phone chargers via smart plugs.
Turn on at x time, turn off at y time. Push the button to start charging, stop after x time.
After trying to explain the rules to someone else I thought it would probably be better (and a lot more intelligible) if they could just install an app.
So if someone would be interested in writing such an app that would be great.
1 Select an Outlet.
2 Option: Select a button.
3 Input Daily time On/Off.
4 Input Time Off after turned on.
That's it.
Or if a user app already exists, a link would be great.
You'll need something else to turn it on (a Basic Rule would work, either based on time of day or your button event), but the built-in Power and Energy Monitoring "Maximum Usage" app can do the rest:
Adding an "on at time" option (or maybe "on with some event") to this would get you all of what it sounds like you want, but I'm not sure if that fits in with the theme of the parent (or this child app), but I'll think about this more.
I do feel like a lot of people don't even know that this one exists, though!
"Easy" is a relative term.
My incoherent Rule Machine instructions would seem Perfect compared to any ramblings I could come up with about something I've never used (Webcore).
This is one of those things I use HA for. It has a way to monitor the battery of logged in devices, if they are charging or not, and how they are charging.
I just set a rule to alert me when the battery for my tablets or phones are below 40% and when they reach 100% when charging. Could just as easily use the 100% as a rule to turn off the outlet if I had them on smart outlets (or turn it back on)