SignalK / sailgauge

Sailgauge html page to show sailing-related data on one screen
MIT License
6 stars 2 forks source link

Option to specify the server to connect to #7

Open tkurki opened 9 years ago

tkurki commented 9 years ago

@rob42 reported that the assumption that Signal K ws is available on the same server + port where the sailgauge app was loaded from is not valid - the ws may be someplace else and one should be able to specify where to connect to.

tkurki commented 9 years ago

The simplest thing I can think of is to add the ability to specify the server to connect to as a query parameter. That would work with public demo installations of java and node servers and just one installation of sailgauge.

Furthermore the server to connect to could be stored in local storage optionally, like makedefault=true and then you would never need to specify that again.

Then again making sailgauge just and instrumentpanel widget would solve the problem, since instrumentpanel has all this functionality built in.

Your thoughts, @rob42 ?