Spec for intermittent motors and pumps

Open
#634 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
api

Research direction

The issue names no files or tests; start by reading the specification's existing conventions for data paths and measurements. Work out how the proposed status, timestamps, cycle count, and run time should be represented for motors and pumps, including the unresolved duty-cycle definition. Done means the group agrees on a specification that covers the proposed stats and path examples.

Written by the indexing model from the issue text.

Description

Motivated by a desire to monitor my bilge pump in SignalK. But a standard should be applicable to other kinds of pumps (think domestic water, hydraulic, macerators) and to intermittent motors of all kinds (think fans, compressors).

For pumps, we will also want to measure flow, or proxies for flow like pressure, rpm, amperage. Please add your thoughts!

Core stats:

  • status: (string) RUNNING, STOPPED or UNKNOWN (means sensor isn't reporting anything)
  • last_edge: (UTC timestamp) date/time of the transition into the currently-reported status.
  • history_start: (UTC timestamp) date/time the following stats were zeroed.
  • cycle_count: (integer) cumulative number of duty cycles. (I propose a duty cycle is counted on the transition from RUNNING to STOPPED, but that's arguable.)
  • run_time: (seconds) cumulative RUNNING time in the current epoch of history

This should be able to appear under a path called "motor" or "pump", e.g "electrical.motor.N...." or "hydraulic.pump.N...."

Dominant language
JavaScript
Stars
105
Forks
72
Avg merge
11h 49m
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SignalK/specification

All issues in SignalK/specification

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.