@yachteye/signalk-makkah-plugin
v1.0.0
Published
Add Salah and Sun times to the SignalK graph
Downloads
11
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.distanceToMakkah
andnavigation.bearingToMakkah
. - Add the Sun times to the SignalK graph at path
resources.astronomical.sunTimes
. - Based on http://praytimes.org/ .
Copyright
© Copyright 2024 YachtEye by SuperYacht Times (https://www.superyachttimes.com/, https://www.yachteye.com/)