-
-
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
1 changed file
with
2 additions
and
21 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 |
---|---|---|
@@ -1,25 +1,6 @@ | ||
# Signal K to dynamic mySQL polar table | ||
# Signal K to dynamic sqlite 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` double DEFAULT NULL, | ||
`environmentWindSpeedTrue` double DEFAULT NULL, | ||
`environmentWindAngleApparent` double DEFAULT NULL, | ||
`environmentWindAngleTrueGround` double DEFAULT NULL, | ||
`navigationSpeedThroughWater` double DEFAULT NULL, | ||
`performanceVelocityMadeGood` double DEFAULT NULL, | ||
`tack` text, | ||
`navigationRateOfTurn` double DEFAULT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB AUTO_INCREMENT=309 DEFAULT CHARSET=latin1; | ||
``` | ||
|
||
And create a user name and password if you do not want to use the root password to mySQL | ||
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. |