Closed joabakk closed 7 years ago
I should be able to make the new stuff work in the split files...
Hmm. Take a look at calcs/batteryPower.js, that may actually be the way to do this?
Oops, that was a quick pull. I just made calculations actually use the input calibration values... Next is to make units friendlier. Not many of us boaters use m3 when filling...
I can't find calcs/batteryPower.js...
Still experimental, but should show the basics. Thanks for the PR to the node server (https://github.com/SignalK/signalk-server-node/pull/285). The example code
would probably fit in index.js, not the calcs/file.js. That sort of messes up the split.