Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.43 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.43 KB

SailGauge (modified for watch)

One gauge to rule them all - provides all the information a sailor needs on one display

  • SOG - speed over ground (kn)
  • COG - course over ground
  • DBT - depth below transducer (meters)
  • reverse laylines, eg. 'how high can I point'
  • apparent & true wind kn (true calculated if the data feed doesn't contain it)
  • distance and direction of mark/waypoint (if feed has it)

Depth reading has also a small sparkline. Depth figure starts to grow under 6 meters and turns red under 3 meters.

Installation

You can just download SailGauge from Github or install it with Bower

cd signalk-server-node
git clone https://github.com/e-sailing/sailgauge.git

Open the internet browser and enter localhost:3000/sailgauge

(OpenPlotter users: sailgauge has problems with "uuid": "urn:mrn:imo:mmsi: change this to "uuid": "urn:mrn:signalk:uuid: in /home/pi/.config/openplotter/OP-signalk/openplotter-settings.json)

SailGauge package contains all the js libraries it uses so it is ready to use out of the box, but it needs data from a SignalK server. It tries to contact SignalK server on the same server & port from which it was loaded.

If you want it to contact some other server you need to edit the index.html.

Building

Install the js dependencies with

npm install

and then package the js code that is not part of the html page with

npm run build

Development time building with npm run watch.