Code Monkey home page Code Monkey logo

simplegauges's Introduction

Simplegauges

Simple gauges for use with SignalK server.

Developing

  • npm install installs dependencies, including Bootstrap with bower in postinstall
  • npm run watch builds dist/gauges.js from the source js under /lib, then reload in browser to run the changed code
  • npm run build to build a "production" version of dist/gauges.js

Please share your changes / additions on Github!

simplegauges's People

Contributors

tkurki avatar e-sailing avatar

Stargazers

 avatar AxWax avatar Solar Blue avatar  avatar

Watchers

Fabian Tollenaar avatar Tony Bentley avatar James Cloos avatar Michael Haberler avatar  avatar Tim Mathews avatar  avatar Scott Bender avatar  avatar

simplegauges's Issues

a new build (webpack) doesn't work

The compressed files in dist folder work.
Today I tried to rebuild the files in dist folder with ("npm install" and "npm run watch"). But it doesn't get data anymore. Two or three month ago it worked.
I think a change in the node_modules is the reason.

Url change / use signalk-js-client

The order of things in the SK url has changed and simplegauges needs to be updated. A good way to do this is by starting to use signalk-js-client.

SI units

Convert radians to degrees for compass & wind gauge.

Gauge Needles Do Not Move

Did a new install of signalk-server-node today.

I did not delete the globally installed nodejs, npm or bower.

~$ nodejs -v
v0.10.36
~$ npm -v
1.4.28
~$ bower -v
1.3.12

I bower-installed instrumentpanel and simplegauges.
Instrumentpanel works.
Simplegauges displays the gauges but the needles do not move.

Tried both the connections:

wss://localhost:3000/signalk/stream/delta
wss://localhost:3000/signalk/stream
http://localhost:3000/api/v1/      and
wscat --connect 'ws://localhost:3000/signalk/stream?stream=delta' 

show messages.

Data source:
~/signalk-server-node$ bin/n2k-from-file

~/signalk-server-node$ bower install https://github.com/SignalK/simplegauges.git
bower not-cached    https://github.com/SignalK/simplegauges.git#*
bower resolve       https://github.com/SignalK/simplegauges.git#*
bower checkout      simplegauges#master
bower invalid-meta  simplegauges is missing "main" entry in bower.json
bower resolved      https://github.com/SignalK/simplegauges.git#84db28245d
bower cached        git://github.com/LearnBoost/socket.io-client.git#1.1.0
bower validate      1.1.0 against git://github.com/LearnBoost/socket.io-client.git#~1.1.0
bower cached        git://github.com/twbs/bootstrap.git#3.2.0
bower validate      3.2.0 against git://github.com/twbs/bootstrap.git#~3.2.0
bower install       simplegauges#84db28245d
bower install       socket.io-client#1.1.0
bower install       bootstrap#3.2.0

simplegauges#84db28245d bower_components/simplegauges
├── bootstrap#3.2.0
├── jquery#2.1.3
└── socket.io-client#1.1.0

socket.io-client#1.1.0 bower_components/socket.io-client

bootstrap#3.2.0 bower_components/bootstrap
└── jquery#2.1.3

Deprecation notice

Afaik this webapp sees very little use and is so limited in features that I plan to deprecate it, both in Github and in npm.

There seems to be also a bug related to building #10 .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.