Repository navigation
Vessel log file #233
|
On the right side of the web view is an perfectly styled view for 'Ships' Is there any command line switch, to store continously this data into a file ? |
Answered by
jvde-github
Feb 3, 2024
Replies: 1 comment 1 reply
|
Unfortunately not. One approach is to write the messages to a database (postgresql) or alternatively you can extract it from the webviewer, e.g. wget raspberrypi:8100/ships.json on linux and store this file every so many minutes with a structured filename. There are some plans to include this file dump in the server version (in CSV format) as a tool to quickly export to Postgres and to make the internal database persistent. Need to fix some other things before I can do that. |
1 reply
Answer selected by
OE1MWW
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately not. One approach is to write the messages to a database (postgresql) or alternatively you can extract it from the webviewer, e.g. wget raspberrypi:8100/ships.json on linux and store this file every so many minutes with a structured filename.
But you have to write a script for that.
There are some plans to include this file dump in the server version (in CSV format) as a tool to quickly export to Postgres and to make the internal database persistent. Need to fix some other things before I can do that.