I need to retrieve some data from the defaults plugin. Like design.draft and design.length. These data points are only updated on restart so the Subscribe node will not receive the data. Is there any way to query the data using Signal K Node Red plugins.
Thanks for the response. I will add an issue as requested. Not sure if it is defaults.json. I only know in Signal K's data browser it has a source named defaults.
Got a fast response on github.
It seems the only way is to use a function with the following code.
let app = global.get('app')
let draft = app.getSelfPath('design.draft.value')
msg.draft = draft
return msg;