PlutoWeb
PlutoWeb copied to clipboard
Enhance PlutoWebUI
Some suggestions for the PlutoWebUI are:
-
List out all current settings somewhere on the screen or in an overlay from a link, just the text like plutoweb.conf (except without the 'export')
-
The defaults filled in for the settings on the UI should always be the current active settings when you refresh the page, this way if you change only one, it never resets any others.
-
Have the status of (either) which daemon is currently running OR a running/stopped flag next to each daemon (I can help with commands to identify this one or I can make a script that will tell you certain things about the running daemon if you want, like pid and maybe port number?)
-
We should also add a LeanTRX daemon button, but instead of it setting the program to SoapyRemote, it can set it to none instead. (The word none) It can have a link to /leantrx there too.
- Set the OpenWebRx and dump1090 tabs at the top of the main page to use the ip variable value from settings.txt (last line) for the url and for openwebrx, use the web_port variable value (below ppm). This is how we can get our links to (almost) always work. I pull the IP from each interface and decide which to use.
@ImDroided :) You asked, lol
Starting to work on this. It has been a hell of a few weeks.
No. 1 should be doable
No. 2 there is no way to do that unless you save the settings as the page loads those values from settings.txt the java array loads from that file and populates the fields. Might be possible but not in its current state.
No.3 Yes I need a entry in settings.txt for the current running app and I can display that on the page.
No. 4 This will work just fine.
No.5 this should be fine also.
I will start working on this a little tonight and more tomorrow after the kiddo goes to bed.
-
I think maybe it doesn't do them all? I haven't tested a lot with the freq, etc but for updates and restart, do those fill in right then? Maybe I'm wrong if they are all loading from settings.txt.
-
I guess you could just use line 1 of settings.txt and either highlight the section for the running one or put it in a status box up top, don't think it has to be fancy. If you want to list the port for openwebrx, its in the file already, so is the system ip and hostname if you want to use in links.
Sweet thanks!
-
Yea it loads all stuff from settings.txt even selects the correct bullet selection for current settings i.e running app, updates.....
-
Yea I guess I could use that. you should add LearnTRX to the settings.sh so it displays nicely
- leantrx will work on the next build as a program name, go ahead and use it for a button, etc.
Ok I already have this done I'm currently trying to get number 1 and 3 working
OK cool, check index and settings pages, I changed all references from zip to tgz. Do a fresh pull. Next thing I'll push is an image once its done along with both update.zip and update.tgz. We will keep making both until 3.0 is released, then we'll stop making zips.
Uh oh. I have been working on the web I can't do a pull without messing up what I have.
On Aug 28, 2018 9:43 PM, "unixpunk" [email protected] wrote:
OK cool, check index and settings pages, I changed all references from zip to tgz. Do a fresh pull. Next thing I'll push is an image once its done along with both update.zip and update.tgz. We will keep making both until 3.0 is released, then we'll stop making zips.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/unixpunk/PlutoWeb/issues/28#issuecomment-416805242, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVzadR-1qqR9o02yNeFBz4ewuXH_vIbks5uVf_ugaJpZM4WG7L3 .
You'll be fine, just commit your changes before you pull.
It will overwrite what you did it I'll just change those lines on my end also then it should be fine. Looks like you only changed a few lines in em.
On Tue, Aug 28, 2018, 10:23 PM unixpunk [email protected] wrote:
You'll be fine, just commit your changes before you pull.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/unixpunk/PlutoWeb/issues/28#issuecomment-416811429, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVzaeLzn8J5kbTaxYYTw8pQejshQ26Mks5uVglEgaJpZM4WG7L3 .
It should merge them, no? but ya, just change any reference of .zip to .tgz
I'm not sure if it will merge em or not maybe I'll try it to see.
On Tue, Aug 28, 2018, 10:35 PM unixpunk [email protected] wrote:
It should merge them, no? but ya, just change any reference of .zip to .tgz
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/unixpunk/PlutoWeb/issues/28#issuecomment-416813126, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVzaZv0kZbJyTW9rWXn5xWsefsHeUlgks5uVgwYgaJpZM4WG7L3 .
Did any of these items make the latest commits? If you can get these in sometime then I can make a new image and we'll call it 3.0.
number 4 was the latest commit. Ill work on the others a bit tomorrow.