on7lds / NextionDriver

Driver program to connect MMDVMhost with Nextion Displays, adding extra functionality
33 stars 33 forks source link

Updates to groups.txt and stripped.csv files? #16

Closed rd0fun closed 3 years ago

rd0fun commented 3 years ago

Just looking for some help. How does one keep groups.txt and stripped.csv up to date? Does that happen automatically?

Thanks

rd0fun commented 3 years ago

Answered my own question, partially.

/usr/local/etc/stripped.csv can be updated directly from RadioID.net like this

sudo rm -f /usr/local/etc/stripped.csv sudo wget -O /usr/local/etc/stripped.csv https://database.radioid.net/static/user.csv

However, my Callsign is not in that file, as confirmed with grep, but still my hotspot says " not in stripped.csv"

Does this updated have to be loaded into memory by something? Is it used to update some database? How exactly does NextionDriver use this .csv file?

Thank you.

on7lds commented 3 years ago

NextionDriver read these files (groups and users) when starting. If you pull a new users file (f.e. stripped.csv), you have to restart NextionDriver.

As of V1.19 you can send the signal SIGUSR1 to NextionDriver which will reread the users and groups file. So after gettting the new csv file(s), you could do kill -SIGUSR1 $(pidof NextionDriver)

rd0fun commented 3 years ago

Thank you for the reply. I have updated to this release.

What I did not realize (duh) is that the groupt.txt is BM specific.

Would be really nice to see pi-star become Newtwork Agnostic at some point, and be able to manage multiple group and talker aliases from multiple networks.

Thank you for the fantastic software!