This PR adds a Solid.js frontend that communicates to the Flask server. This brings a responsive UI that enables users to compete the following right from their device:
[x] View live sensor information
[x] Log and view sensor data
[x] Set automation schedules via cronjobs
[x] Capture and view camera images
Along with that, this also includes
[x] added service scripts to enable the applications on boot with systemd
[x] added utility scripts, for changing hostname, bulk deleting logs and images
[x] improved endpoints, error handling, and a scheduler class
[x] improved handling of running python modules as scripts
[x] linting, and formatting.
Next steps in a future PR:
[ ] automatic hardware discrimination between models
[ ] Improve testing
[ ] Improve logging and response handling in edge cases
Disclaimer: I haven't tested this from a cold install.
Tablet and Desktop Screenshots
Mobile Screenshots
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[ ] Test A
[ ] Test B
Checklist
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Added Frontend and goodies
Description
This PR adds a Solid.js frontend that communicates to the Flask server. This brings a responsive UI that enables users to compete the following right from their device:
Along with that, this also includes
Next steps in a future PR:
Setting Up:
cd
intobin
and run./setup.sh
Disclaimer: I haven't tested this from a cold install.
Tablet and Desktop Screenshots
Mobile Screenshots
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist