itemir / signalk-windy

Turns your boat into Personal Weather Station (PWS) for Windy.com. Requires Signal K server.
Apache License 2.0
9 stars 2 forks source link

Dashbord shows wrong unit #11

Open dirkwa opened 1 month ago

dirkwa commented 1 month ago

I am sailing atm and noticed that windy plugin shows in the dashboard kt. That values are too low. In the data browser I see m/s.

image

image

dirkwa commented 1 month ago

That values are also sent to the windy server.

image

dirkwa commented 1 month ago

Could it be that you need to convert m/s to kt here?

case 'environment.wind.speedOverGround': let speed = value.toFixed(2); speed = parseFloat(speed); if ((windGust == null) || (speed > windGust)) { windGust = speed; } windSpeed.push(speed);

dirkwa commented 1 month ago

Just saw that windy expects m/s in their API

https://community.windy.com/topic/8168/report-your-weather-station-data-to-windy/2

So must be a typo than for the dashboard.

dirkwa commented 1 month ago

I assume it is line #126 statusMessage +=Wind speed is ${currentWindSpeed}kts and gust is ${windGust}kts.;