Comments (8)
After looking at all available configuration properties I'm not sure if it makes sense to allow the user to customize all available settings. I can understand that it may be tempting but there's a lot that can be done wrong. And at the end spyglass has a certain use-case in mind.
So I would argue to take a look at all available controls and only support controls that make sense to us and/or add more controls later when they are requested by actual users.
from spyglass.
I would still offer all the controls through something like I mentioned in #14, as it gives more advanced users a better control over their camera.
It would make sense to implement easy to use cli arguments for the most used once but artificially limit them until someone requests them doesn't make sense in my opinion.
from spyglass.
I agree. It's just that not all controls make sense. I will post a list later. Then we can see which make sense and which don't.
from spyglass.
@roamingthings You got the list or do we just allow changing all controls? Second option would be easier to implement but could cause some problems, as changing for example exposuretime
with http results in a black screen all the time.
from spyglass.
I think that we should limit the options to a meaningful set. Adding options later is easier than taking them away.
Maybe let's start with a few controls first and see how it goes.
from spyglass.
@roamingthings I've added now a HTML page for all controls and what controls get parsed and processed. The list of all controls can be accessed with http://<ip.of.your.pi>:<port>/options
and the settings can be live adjusted with http://<ip.of.your.pi>:<port>/options?brightness=0.3&afmode=2
. Those adjusted settings don't get saved.
On the pictures you can see the overview and an example of the control parsing. Only controls really available get processed. The controls are case insensitive. Currently all controls are allowed, adding a list of limited controls isn't that hard, but I would need a list for that first. But I still don't like the limit, even if some parameters doesn't make sense to have. If there are newer cams with god knows what new controls, the list would need an update. So a list excluding controls instead of a list defining allowed controls maybe makes more sense? But even such a list would need maintenance in future.
I would appreciate some feedback and suggestions for the HTML page. The table is spread over the whole page.
from spyglass.
This is a great feature and I like the information that is displayed on the page.
I think that only a bit of CSS is required.
from spyglass.
Merged with #14
from spyglass.
Related Issues (20)
- FR: Add support for USB cameras HOT 4
- FR: Use venv for developing and running spyglass
- FR: Enable HDR for RPi camera v3
- Issue with Spyglass starting HOT 2
- Maximum resolution is limited to 1920x1920
- FR: Add option to rotate the image HOT 2
- FR: Add Support for Moonraker Update Manager HOT 1
- Reduce resource usage of spyglass HOT 3
- Add support for usage with Fluidd HOT 1
- Impossible to install spyglass!! HOT 5
- Automatic updating broken? HOT 3
- Runs for a few minutes, then freezes. Errors in dmesg log. HOT 6
- How do I uninstall spyglass? HOT 1
- Error during install as service - missing config directory HOT 7
- White Balance is not working HOT 2
- Image noise getting worse after very first frame taken when service is up HOT 3
- was working until last apt upgrade has been done for bullseye on my raspi 5 using picamera module 3 HOT 5
- run.py camera init sequence did not complete failed to acquire camera HOT 20
- Missing directions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spyglass.