OpenMarine

Full Version: [SOLVED] SK data
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 .

[attachment=162]
(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
thanks i'll give it a go." edit" it woked the compass on my dash looking good thanks again
jim
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
Kelvin > Celsius !
298,11 -273.15 = 24,9
Damn it..............