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
Teppo Kurki
Teppo Kurki2mo ago
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.
From An unknown user
From An unknown user
From An unknown user
Teppo Kurki
Teppo Kurki2mo ago
check out the plugins in app store - there is at least signalk-data-logger, but i have not used it mysefl
Teppo Kurki
Teppo Kurki2mo ago
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 json
GitHub
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.
UncleBulgaria
UncleBulgariaOP2mo ago
Perfect! Thank you
Want results from more Discord servers?
Add your server