@yachteye/signalk-makkah-plugin
v1.0.3
Published
Add Salah and Sun times to the SignalK graph
Downloads
22
Readme
signalk-makkah-plugin
Add distance and direction to Makkah, Salah (prayer) times and Sun times (sunrise, sunset, civic twilight start/end) to the SignalK graph.
Calculations use the UTC time from path navigation.datetime and the time zone offset from path environment.time.timezoneOffset.
The latter is supported by e.g. the @yachteye/signalk-timezone-plugin.
Install with:
npm install signalk-makkah-plugin
After installation, you enable & configure the plugin via the plugins page in the SignalK admin UI.
Build
npm run build
Features
- Add the Salah times to the SignalK graph at (default) path
resources.astronomical.salahTimes. - Add distance and direction to Makkah at path
navigation.distanceToMakkahandnavigation.bearingToMakkah. - Add the Sun times to the SignalK graph at path
resources.astronomical.sunTimes. - Based on http://praytimes.org/ .
- Optionally use a custom NMEA0183 GGA parser that is less restrictive than the default SignalK parser.
Copyright
© Copyright 2024 YachtEye by SuperYacht Times (https://www.superyachttimes.com/, https://www.yachteye.com/)
