MigGat - I wrote a polar recording plugin. Init...
I wrote a polar recording plugin. Initially it was just for me, but me, but if you might find it intesresting, and someone can help me with publishing to npm, i'll gradly share!
It can display current polar, as well as any recorded polar. Polars can be recorded incrementally, or a totally new table. It also displays the current TWA/TWS/Speed point so you can check how good is your performance


18 Replies
Looks nice, I'd like to try it. Publishing to npm is really easy as I just learned myself: Create an account, set up 2FA (I tried without but they send you one-time-passwords by email, which many times arrived too late and were expired in my case, a real PITA), get all the info in package.json in good shape, include license info and README.md and type 'npm publish'. Authenticate and off it goes.
As soon as i finish with my other project, i will make this public π
Meanwhile, fell free to check it out! https://github.com/miggat/signalk-polar-recorder
Nice work!
Thanks! All suggestions are welcome of course
There's a couple of things I thought of while thinking about creating one myself:
- Configurable time on-course for speed data to be valid (e.g. 10 seconds within 1 deg course)
- Engine detection (learning off)
- Current detection (learning off)
- Use Pitch/Roll for wave size detection, as polar could have multiple versions for different wave heights
- Store timestamp with values to allow for aging of data.
- Fresh / Salt water difference
Note taken!
I already had in mind this 2:
Engine detection (learning off)
Store timestamp with values to allow for aging of data.
Let's see what i can do with the others
I think this ft from HansT is very important:
- Configurable time on-course for speed data to be valid (e.g. 10 seconds within 1 deg course)
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
Good morning, looks really promissing. Would like to test it once in npm. Engine on detection could be implemented by rpm > 0 on one of the engines. My personal tream would be a automatic mode that runs 24/7 in the background and records when not moored or anchored, It will learn as we go and permanently improve based upon our voyages. With the ability to export the current model I could feed a weather reouting software. Hope you will push it this direction one day.
Sorry guys, i've been very busy with my regular job and temporarily abandoned this project for a couple month. I'm back on it, and adding all your suggestions (including the background learning). I hope to be able to publish to npm in 1 or 2 weeks
I finally published a very beta (or alpha, LOL) version. I don't have time for more right now, but i'll write a readme ASAP.
Meanwhile, if you want to test, the "recording in background" seems to work perfectly fine, and updates the polar in real time (no need to have the webapp open though, of course).
Let me know if you find errors or features not yet implemented, as it will be quite easier for me to address them one by one based on what people ACTUALLY need.
Also please note that i haven't been able to sail for a while, so it's all been tested with SKSim
https://www.npmjs.com/package/polar-recorder

@Dirk SV MOIN The current 0.0.3 version does exactly what you asked for! Except for exporting , which will be there in v0.0.4 (hopefully today)
Added polar export in v0.0.4
Added import polar in v0.0.5
Added in v0.0.8
Great! Canβt wait to get to the boat and try it!
Great! If someone can test it would be awesome, because i won't have my boat fixed before 6-8 weeks, so impossible to test without sksim on my side
This week i'll be working on these 2 feature set:
1) Polar management (delete, merge, purge all data)
2) Manual recording. Meant to take an existing polar and update with new recording. I.e: After changing some sails or anything that can improve boat performance.
I'm afraid i'm not skilled enough for the wave height considerations. I mean what kind of formula would you apply? Some correction factor to boat speed based on wave height?
There could be another dimensions of wave height and direction to polar. For wave height measurement you could use Bareboat Necessities heave (wave height) frequency and direction sensor with IMU. See
https://github.com/bareboat-necessities/bbn-wave-period-esp32
Interesting. I will try with the IMU already present in the MacArthur hat. But that will have to wait until my boat is on the sea again
This is how it looks in a jailbroken axiom

Guess i'm better coder than photographer π