joabakk / signalk-instrument-light-plugin

Signalk-server-node plugin to control proprietary instrument lights from daylight calculations
0 stars 2 forks source link

Use navigation.position.value instead of just navigation.position #28

Closed qa2yn2pu closed 4 years ago

qa2yn2pu commented 4 years ago

Latitude and longtitude are in 'value' subproperty of navigation.position object

qa2yn2pu commented 4 years ago

I've missed this fix to include into my recent pull request. Without this fix sun position calculation is always ended up in 'civil dawn/dusk'.

joabakk commented 4 years ago

Thank you!