UNPKG

@yachteye/signalk-makkah-plugin

Version:
24 lines (17 loc) 1.14 kB
# 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` and `navigation.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/)