Generating signalk json from saved captures
Is there a way to replay signalk can0 saved logs to generate signalk json into a file for post processing?
And is there a way to log native json to disk like we can log canbus to disc?
4 Replies
there is a utility log2sk that is supposed to convert sk server data log files to signalk json in stdout, but apparently it is broken. i can see about fixing that - if you want you can create an issue at https://github.com/SignalK/signalk-server/issues/new to track updates
GitHub
signalk-server/bin/log2sk at master · SignalK/signalk-server
An implementation of a Signal K central server for boats. - SignalK/signalk-server
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
check out the plugins in app store - there is at least signalk-data-logger, but i have not used it mysefl
the fix is pretty simple - here is a working version. in a normal installation it gets install at
/usr/lib/node_modules/signalk-server/bin/log2sk
- if you replace that file with the working version then you can invoke /usr/lib/node_modules/signalk-server/bin/log2sk filename
to convert the log file to sk jsonGitHub
fix: bin/log2sk by tkurki · Pull Request #1828 · SignalK/signalk-se...
Fix the conversion utility by restructuring it to match the current pipedProviders - app interface.
Perfect! Thank you