Closed ph1l closed 5 years ago
By default the logs are pretty quiet, they only print errors. this is to save the SD card on RPi. (SD cards have limited writes in their lifetimes). You can use the log configuration console to enable debug logging. The most useful are: nz.co.fortytwo.signalk.handler nz.co.fortytwo.signalk.processor or just: nz.co.fortytwo.signalk
The UI itself is not a node.js app, its just normal HTML5. As such the console logs end up in the web console, look in dev tools on the browser.
freeboard-sk doesnt handle chart selection well at present. It needs improvement to remember selections, and to search better. Its also too easy to remove either the resources entry, or the chart, they should be synchronised.
Once a chart is selected it should appear in the right-hand chart drop-down. It will only appear at the map resolutions on the chart, in your case zooms will be in mapchache/18652_1/tlemapresource.xml. You will not see the chart if you are outside of these zooms, note if its a small chart it can be quite difficult to zoom onto it unless you have a good guide (like openstreetmap) available.
Needs to reload charts on startup or on search. If self.json is deleted for some reason the chart data is gone and search stops working.
Ive just added a reload of the chart resources at server boot, so they should now be visible and add immediately (given correct zoom etc).
I'm having additional trouble getting charts to display in freeboard-sk under signalk-java
files get extracted in
mapcache/
chart definition appears in
self.json:resources.charts
The
Chart List
in the freeboard-sk interface appears empty. I can click theSearch
button with no terms and then I see the chart name show up (SAN FRANCISCO BAY TO ANTIOCH.) ClickingShow
,Hide
, orDelete
appear to have no effect, and the layer does not appear in the layers menu to the right.What additional debugging can I do on freeboard-sk while it is running under signalk-java? The
signalk-static/logs
directory doesn't appear to have any related logs and there are no logs undersignalk-static/freeboard-sk
either. Where do the node console logs end up?