-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "signalk-polar", | ||
"version": "0.3.0", | ||
"description": "Signal K server plugin to store and retrieve polar data with mySQL db", | ||
"keywords": [ | ||
"signalk-node-server-plugin" | ||
], | ||
"license": "ISC", | ||
"author": { | ||
"name": "Joachim Bakke" | ||
}, | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"dependencies": { | ||
"baconjs": "^0.7.88", | ||
"debug": "^2.6.3", | ||
"mysql": "^2.13.0", | ||
"nmea0183-utilities": "^0.3.2" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.0.0", | ||
"chai-things": "^0.2.0", | ||
"debug": "^2.2.0", | ||
"mocha": "^3.3.0", | ||
"signalk-schema": "0.0.1-3" | ||
}, | ||
"optionalDependencies": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,57 +26,5 @@ | |
"mocha": "^3.3.0", | ||
"signalk-schema": "0.0.1-3" | ||
}, | ||
"optionalDependencies": {}, | ||
"readme": "# Signal K to dynamic mySQL polar table[![Greenkeeper badge](https://badges.greenkeeper.io/joabakk/signalk-polar.svg)](https://greenkeeper.io/)Signal K Node server plugin to compare performance and write best performance to [mySQL](https://www.mysql.com/), database.This is the backend for https://github.com/joabakk/signalk-polar-graphing, to be able to visually see current performance compared to previous sailed performance. The plugin assumes that mySQL is installed and the database you specify exists. The database must be called 'polar' and the table can be created with the mySQL command:```CREATE TABLE `polar` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `timestamp` text, `environmentWindSpeedApparent` float DEFAULT NULL, `environmentWindSpeedTrue` float DEFAULT NULL, `environmentWindAngleApparent` float DEFAULT NULL, `environmentWindAngleTrueGround` float DEFAULT NULL, `navigationSpeedThroughWater` float DEFAULT NULL, `performanceVelocityMadeGood` float DEFAULT NULL, `tack` text, `navigationRateOfTurn` float DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=65577 DEFAULT CHARSET=latin1;```", | ||
"_args": [ | ||
[ | ||
{ | ||
"raw": "joabakk/signalk-polar", | ||
"rawSpec": "joabakk/signalk-polar", | ||
"spec": "github:joabakk/signalk-polar", | ||
"type": "hosted", | ||
"hosted": { | ||
"type": "github", | ||
"ssh": "[email protected]:joabakk/signalk-polar.git", | ||
"sshUrl": "git+ssh://[email protected]/joabakk/signalk-polar.git", | ||
"httpsUrl": "git+https://github.com/joabakk/signalk-polar.git", | ||
"gitUrl": "git://github.com/joabakk/signalk-polar.git", | ||
"shortcut": "github:joabakk/signalk-polar", | ||
"directUrl": "https://raw.githubusercontent.com/joabakk/signalk-polar/master/package.json" | ||
} | ||
}, | ||
"/Users/joachim/Downloads/signalk-server-node" | ||
] | ||
], | ||
"_from": "joabakk/signalk-polar", | ||
"_id": "[email protected]", | ||
"_inCache": true, | ||
"_location": "/signalk-polar", | ||
"_phantomChildren": { | ||
"ms": "0.7.2" | ||
}, | ||
"_requested": { | ||
"raw": "joabakk/signalk-polar", | ||
"rawSpec": "joabakk/signalk-polar", | ||
"spec": "github:joabakk/signalk-polar", | ||
"type": "hosted", | ||
"hosted": { | ||
"type": "github", | ||
"ssh": "[email protected]:joabakk/signalk-polar.git", | ||
"sshUrl": "git+ssh://[email protected]/joabakk/signalk-polar.git", | ||
"httpsUrl": "git+https://github.com/joabakk/signalk-polar.git", | ||
"gitUrl": "git://github.com/joabakk/signalk-polar.git", | ||
"shortcut": "github:joabakk/signalk-polar", | ||
"directUrl": "https://raw.githubusercontent.com/joabakk/signalk-polar/master/package.json" | ||
} | ||
}, | ||
"_requiredBy": [ | ||
"#USER" | ||
], | ||
"_resolved": "git://github.com/joabakk/signalk-polar.git#9eb6e0cf48a9656350c8212529c72ac76ba54dc9", | ||
"_shasum": "4791713e9f30588add9319f2709b8547bdd9a3a6", | ||
"_spec": "joabakk/signalk-polar", | ||
"_where": "/Users/joachim/Downloads/signalk-server-node", | ||
"gitHead": "9eb6e0cf48a9656350c8212529c72ac76ba54dc9", | ||
"readmeFilename": "README.md" | ||
"optionalDependencies": {} | ||
} |