OpenMarine
[SOLVED] SK data - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] SK data (/showthread.php?tid=781)



[SOLVED] SK data - jim321 - 2017-09-28

i get different values from web socket than is shown in SK diagnostics..
example "navigation headingMagnetic "in SK diag. is 158.788 deg. then if i get it from web socket in nodered "navigation headingMagnetic " it's 2.74145402627 also it's the same in email notifications .

   


RE: SK data - dione - 2017-09-28

(2017-09-28, 10:19 PM)jim321 Wrote: i get different values from web socket than is shown in SK diagnostics..
example "navigation headingMagnetic "in SK diag. is 158.788 deg. then if i get it from web socket in nodered "navigation headingMagnetic " it's 2.74145402627 also it's the same in email notifications .

I think that 2,7 is rad, and you have to convert a degrees.

(2,7 rad x 180) / pi = 154,7



RE: SK data - jim321 - 2017-09-29

thanks i'll give it a go." edit" it woked the compass on my dash looking good thanks again
jim


RE: SK data - jim321 - 2017-10-06

ok heres another one in sk diag. i get a reading of 24.970 C from the bme 280 "environment.inside.mainCabin.temperature" when i parse it out in nodered it shows a value of 298.11 in debug.??
jim


RE: SK data - SkipperEarly - 2017-10-06

Kelvin > Celsius !
298,11 -273.15 = 24,9


RE: SK data - jim321 - 2017-10-06

Damn it..............