npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

signalk-tide-watch

v1.0.0

Published

Determines tide at current location when boat is at rest

Downloads

28

Readme

SignalK-Tide-Watch

SignalK Tide Watch is a plugin and corresponding Webapp for the SignalK Node Server that allows your boat to be its own tide station. It watches the depth of the water whenever your boat is at rest, and determines the most recent low and high tides, as well as gives an estimate of the next future tides.

How it works

After installing this plugin on your SignalK server, this Tide Watch plugin will automatically start watching the boat's depth levels at your current location as soon as the boat is determined to be "off." By default, this determination is made by watching the SignalK path value propulsion.1.revolutions. This path can be changed in the plugin's configuration. If this value is zero, missing, or older than 15 seconds, the boat is assumed to be "off".

When the boat is in the "off" condition, the current GPS position (using the path navigation.position) is used to determine the boat's location. A log of time, depth, and exact position readings are kept for each unique location. It takes about 30 minutes for Tide Watch to determine the general phase of the current tide (ebb or flood). If Tide Watch sees a change from ebb to flood time or vice versa, this "last known tide" time is reported.

If the engine is started, recording for that location stops. If the boat returns to the same location and is stopped in the future, the log is played back and recording is resumed. Any values found in the last 4 days or so will be used for future estimates.

Reviewing the Data

The Tide Watch plugin installs a simple Webapp interface that allows you to review the data it has recorded. You can view this data in a web browser using the path /signalk-tide-watch. For example:

http://my-server.local/signalk-tide-watch

The following SignalK data paths are also generated continuously by the Tide Watch plugin:

environment.tide.phaseNow

environment.tide.timeLow
environment.tide.heightLow

environment.tide.timeHigh
environment.tide.heightHigh

environment.tide.heightNow

Configuring depth data

By default, Tide Watch takes its depth data from the path environment.depth.belowSurface from ANY device that broadcasts that value. You can limit the data used for depth watching to a specific device by filling out the value Depth source Type filter and/or Depth source Talker filter in the plugin configuration. Any non-blank values for those will limit the readings used to those that have a SignalK data source property that exactly matches the corresponding filter.

Roadmap

  • Add ability to use tide information to create a new "subordinate station" entry in the XTide Json Server database.