-
Notifications
You must be signed in to change notification settings - Fork 149
Extending esp8266-react with Features #57
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
Comments
Hi, I have already managed some of this task. |
nice @carlosatta . Perhaps we could create a new branch here and collaborate together? |
sounds good for me! |
Hey Proddy, Yes, still actively maintaining. Though a busy home and work life consumes much of my time! Some of the features you mentioned I've already considered implementing, such as "factory reset" and "soft reset". I've also considered using TypeScript for the front end, but so far have steered clear of that as i thought it might put some people off using the framework for their projects. I think there's probably a line somewhere between what should be considered core vs application specific feature. The latter With regards to non core features. It might be worth thinking about how to modularise the application, perhaps with a feature availability service, so features can be enabled/disabled at build time. Thoughts? |
I like the idea of a remote logging service :) |
@rjwats agree that some services should be optional. The way espurna does this is via I do have very specific needs, that's true, for example all my projects use MQTT to communicate to Home Assistant and some of my designs can't use the Serial port which I was why I ended up using Telnet to show real-time information and debug messages to help troubleshoot. I'll start with implementing those both on esp8266-react and see how far I get. |
Indeed... I've wanted to avoid cramming features into the framework in an effort to keep it simple and clean for everyone. However features like MQTT are examples of common usage patterns - it would be a shame for everyone who wants to use MQTT in their project to have to re-do the effort of integrating a library and the associated configuration service and UI components. I'll see if I can come up with a good strategy for features to self-register in the framework, so they can be excluded with a build flags as you alluded to earlier. Excluding features (such as configuration pages for optional features) in the UI can be done dynamically by interrogating a feature availability service when the app first mounts. I'll start by making authentication an optional component, then there'll be a good approach for integrating other optional features without imposing them on all users :) |
@rjwats would you be ok if I created separate GitHub issues for some of the features I listed above. Each can used as a reference, discussed and closed if you don't think it adds any value. But it will create more spam. Perhaps use labels to help categorize between wish-list enhancements and bugs? I'm working on add telnet and logging now. |
Go for it.
…On Sun, Dec 1, 2019 at 9:57 AM Proddy ***@***.***> wrote:
@rjwats <https://github.com/rjwats> would you be ok if I created separate
GitHub issues for some of the features I listed above. Each can used as a
reference, discussed and closed if you don't think it adds any value. But
it will create more spam. Perhaps use labels
<https://github.com/proddy/EMS-ESP/issues> to help categorize between
wish-list enhancements and bugs?
I'm working on add telnet and logging now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#57?email_source=notifications&email_token=AAKE4VALCYREXII74PQZPC3QWODBNA5CNFSM4JRHHMD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFRDP3A#issuecomment-560084972>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKE4VH3TJ6N5XGPY4HW2MLQWODBNANCNFSM4JRHHMDQ>
.
|
Most of this I have implemented, in https://github.com/proddy/MyESP2. I'll continue to add separate issues for the individual features. |
First of all thank you very much Rick for building and sharing this great project.
For my home automation projects I had built something similar based on bootstrap and plain html/javascript which is now getting too big (500kb gzipped) and in need of a refactor. I had started porting the code to use preact and milligram to cut down on the web size, until I found this gem.
So I’m planning to extend esp8266-react with some of the features I already have in my framework whilst keeping it generic and lightweight. I’m thinking of services like MQTT, Telnet, Logging, Update, Backup/Restore, Timezone etc and making them optional.
Question: Are you still actively working on esp8266-react? Would you like to work together on a few of these or just review PRs you think would be useful? I'm fine either way.
Here's a list of things I was planning to add:
New Services:
Improvements:
The text was updated successfully, but these errors were encountered: