Page 1 of 5
Customising the Ryde information display
Posted: Fri Jul 23, 2021 3:49 pm
by g8gtz
Tim MW0RUD has pointed out a little-known feature on the Ryde to enable you customise the on-screen display - in particular, you can make the MER display stay on screen 24/7 and not just on start up - most useful for repeater receivers.
This involves editing the config.yaml so only be undertaken by experts or fool hardy!
Using a tool such as winscp
https://winscp.net/eng/index.php log in to your Ryde and navigate to /home/pi/ryde
Download the config.yaml and then save a second copy (just in case!)
Open the file with a proper editor such as notepad++ (
NOT windows notepad). Go down to OSD which should look like this:
Code: Select all
osd:
timers:
USERTRIGGER: 10
PROGRAMTRIGGER: 10
active:
MUTE: null
MER: null
REPORT: null
PROGRAM: null
FREQ: null
SR: null
inactive:
MUTE: null
Add under inactive
EDIT! NOTE it is 4 spaces and not a tab before MER.
The code now looks like:
Code: Select all
osd:
timers:
USERTRIGGER: 10
PROGRAMTRIGGER: 10
active:
MUTE: null
MER: null
REPORT: null
PROGRAM: null
FREQ: null
SR: null
inactive:
MUTE: null
MER: null
Load it back on to the Ryde and reboot the application - if it fails to start, you messed up the editing so start again!
Note Tim commented this will get overwritten when doing an update, so save the modified file somewhere.
73 Noel
Re: Customising the Ryde information display
Posted: Fri Jul 23, 2021 4:25 pm
by MW0RUD
Thanks for the beginners guide Noel.
For anyone feeling adventurous it is also possible to move and resize the modules away from the default layout using the config file, the full config file docs and a sample config file are at
https://github.com/eclispe/rydeplayer. The sample file is designed to demo all the features rather than be a suggested config to actually use.
Those docs are written assuming a reasonable amount of familiarity with programming and how Ryde it setup. They are mostly written as the quickest way to get the knowledge out of my head where it is more likely to be useful to someone. This is why they are a rather dense file format description rather than a more accessible how-to guide.
I always aim to keep these docs up to date as I know how annoying out of date documentation is, so new features usually come with new advanced options to configure things in the config file.
I should also point out that yes the config file will likely be overwritten during an update so saving a copy is a good idea. However we don't (currently) guarantee that we won't change the format during updates so current files may not work correctly in future versions so you may sometimes have to make the edit on a fresh config file after updates.
I look forward to seeing how people modify the layout and if anybody comes up with a layout that might make a better default.
Tim
P.S. it should be 4 spaces per indent not 5
Re: Customising the Ryde information display
Posted: Sun Jul 25, 2021 2:55 pm
by g8gtz
Hi Tim
Any chance of an example for resizing / moving as the code below did not work!
Code: Select all
osd:
timers:
USERTRIGGER: 10
PROGRAMTRIGGER: 10
active:
MUTE: null
MER: null
datum: BL
REPORT: null
PROGRAM: null
FREQ: null
SR: null
inactive:
MUTE: null
MER: null
Noel
Re: Customising the Ryde information display
Posted: Sun Jul 25, 2021 9:58 pm
by MW0RUD
Hi Noel,
The default size/location for MER is:
Code: Select all
MER:
datum: TR
x: 0.03
y: 0.15
w: 0.2
h: 0.15
The "null" means use the default so you don't include that when specifying it manually and when specifying it manually you must include all 5 values (Datum, X distance from datum, Y distance from datum, width and height).
This for example moves it to the bottom left and makes it twice as big as the default:
Code: Select all
MER:
datum: BL
x: 0.03
y: 0.03
w: 0.4
h: 0.3
Note that if you want it to be in the same place when both active and inactive you need to put the code in both sections. e.g.
Code: Select all
osd:
timers:
USERTRIGGER: 10
PROGRAMTRIGGER: 10
active:
MUTE: null
MER:
datum: BL
x: 0.03
y: 0.03
w: 0.4
h: 0.3
REPORT: null
PROGRAM: null
FREQ: null
SR: null
inactive:
MUTE: null
MER: MER:
datum: BL
x: 0.03
y: 0.03
w: 0.4
h: 0.3
Tim
Re: Customising the Ryde information display
Posted: Mon Jul 26, 2021 10:22 pm
by G3GJA
Did you get this to work Noel?
I wanted to put the report in the BL corner but failed. Stops the red screen leaving a console prompt.
Clive
Re: Customising the Ryde information display
Posted: Mon Jul 26, 2021 10:54 pm
by MW0RUD
Hi Clive,
If you are ending back at the console the log from running it manually should have an error message saying why. If I had to guess it is probably your config file being syntactically invalid, first thing I'd check is that your indentation is consistent.
Tim
Re: Customising the Ryde information display
Posted: Tue Jul 27, 2021 7:58 am
by g8gtz
Looks like there's a problem with your editing - it's very fussy and in particular use spaces not tabs!
I've never seen an error message Tim.
Noel
Re: Customising the Ryde information display
Posted: Tue Jul 27, 2021 10:27 am
by G7VVF
My effort seems to be partially correct. It displays 0.0db MER continuously when no signal is received. When a signal is received it displays the new MER value over the top of the 0.0db MER, both values are then displayed continuously. Have I missed something?
Duncan G7VVF
Re: Customising the Ryde information display
Posted: Tue Jul 27, 2021 10:48 am
by G8GKQ
Hi Duncan
I think that a reboot should cure that problem. An old display layer was not properly cleared while you were setting it up.
Please let us know if that works.
Dave
Re: Customising the Ryde information display
Posted: Tue Jul 27, 2021 11:14 am
by G7VVF
Thanks Dave,
I had rebooted the Ryde (from the shutdown menu) after I had uploaded the modified config file. However this time I rebooted both the Pi and the MiniTiouner by removing power to both and now the MER display works correctly.
many thanks
Duncan