You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new table of recent QSOs and more cleanup of the INI file plus a few others. (n1kdo#69)
* Added a chart that shows the last 10 worked contacts. This is in headless only.
A future change is to set which charts are created in the config n1mm_view.ini file.
I also updated the init files to output StandardOutput and StandareError to journal as
syslog is out of favor nowadays (I just learned that...)
Constants also have some mode changes to add potential bad modes if the source programhas an issue.
Specifically, I made a mode of NoMode set to DATA as in some rare cases, TR4W could not have a sub-mode
That usually happens on older radios without explicity sub-modes like PSK or USB-D.
I updated INSTALL_RASPI to mention the config file goes in just one place and also to
suggest adding a symbolic link to /root/.config as I run dashboard with sudo
I updated rpi_install.sh to copy the ini file to the ./config directory.
* Fixed a typo in headless (was missing exception handler).
Removed config.sample file as the new file is now named n1mm_view.ini.sample
* Added the HEADLESS DWELL parameter
* Add a CREATE INDEX to index qso_log by timestamp for the last 10 qso table. This should be useful for the last_qso_logic too.
* Fixed a typo, an unused module and changed the qso loop. Notes int he original PR
* Reformatted the time column in the last 10 QSOs report. Also removed the Station column
Copy file name to clipboardexpand all lines: INSTALL_RASPI.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ This last command will run for quite some time.
18
18
The latest test took about 90 minutes with a good internet connection for a Raspberry Pi 3 B+ (18 minutes on a Pi 4B). We gave it a lot of things to do so you won't need to do them.
19
19
While you are waiting, you could create a splash screen for your event: a 1000x1000 portable network graphics (.png) image in RGB format works great.
20
20
21
-
Copy the file config-sample.ini to ~/.config/n1mm_view.ini.
21
+
Copy the file `n1mm_view.ini.sample` to `~/.config/n1mm_view.ini`. Note you can also put the file in your home directory (`~/`) or the script directory. But the file can only be in one of those places--not two or three.
22
22
23
-
Note to pame it easier if you need to run dashboard.py as sudo, it is useful to create a symbolic link named /root/.config/n1mm_view.ini to point to /home/pi/.config/n1mm_view.ini.
23
+
Note to make it easier if you need to run dashboard.py as sudo, it is useful to create a symbolic link named /root/.config/n1mm_view.ini to point to /home/pi/.config/n1mm_view.ini.
# Change this file name to n1mm_view.ini and put it in ONLY one of the following three locations:
2
+
# ~/.config/n1mm_view.ini
3
+
# ~/n1mm_view.ini
4
+
# <script directory>/n1mm_view.ini
5
+
# If you have the file in more than one of those locations, the script will abort with an error message.
6
+
# This is to avoid multiple ini files making it harder to know where the settings are being read.
7
+
8
+
# This is where you should set you local options for your site. At a minimum, change the following:
9
+
# Under EVENT_INFO,
10
+
# set Name to something like <Your CLub Name> Field Day or WInter Field Day
11
+
# set the START_TIME and END_TIME
12
+
# set you QTH_ coordinates if you want to see a pin on the map
13
+
# Optionally, set the LOGO_FILENAME to the proper logo
14
+
# For Winter Field Day, wget https://winterfieldday.org/img/wfda_logo.png
15
+
# For ARRL Field Day, grab the new logo each year
16
+
# If you are using the headless.py script to generate graphics to load to your website,
17
+
# modify the POST_FILE_COMMAND to rsync the files or run a script if you want to do multiple steps.
18
+
# If you use a script like postCommands.sh, make it executable with chmod +x postCommands.sh
19
+
20
+
21
+
22
+
[GLOBAL]
23
+
DATABASE_FILENAME = n1mm_view.db
24
+
DISPLAY_DWELL_TIME = 6
25
+
DATA_DWELL_TIME = 60
26
+
HEADLESS_DWELL_TIME = 120
27
+
LOG_LEVEL = INFO
28
+
LOGO_FILENAME = /home/pi/wfda_logo.png
29
+
30
+
[EVENT INFO]
31
+
NAME = Field Day
32
+
START_TIME = 2025-01-25 15:00:00
33
+
END_TIME = 2025-01-26 20:59:59
34
+
QTH_LATITUDE = 27.9837941202094249
35
+
QTH_LONGITUDE = -82.74670114956339
36
+
37
+
[N1MM INFO]
38
+
BROADCAST_PORT = 12060
39
+
BROADCAST_ADDRESS = 192.168.1.255
40
+
LOG_FILE_NAME = FD2024-N4N.s3db
41
+
42
+
[HEADLESS INFO]
43
+
; Set IMAGE_DIR to None or the name of a directory on the system to write files. Note if using a Pi with an SD card only, use the ramdisk setup in the install process.
44
+
; A sample value could be /mnt/ramdisk/n1mm_view/html
45
+
IMAGE_DIR = None
46
+
47
+
; The POST_FILE_COMMAND is used is to execute this command. You can use it to call rsync or a script.
0 commit comments