Signal K support for extra fields from Battery Configuration Status

Open
#578 4 comments 0 reactions 2 assignees View on GitHub

@sbender9 is already working on this.

Since Aug 7, 2020.

Assessment

This issue has not been assessed yet.

Description

electrical enhancement

Recently I needed to represent additional battery information from PGN 127513 (Battery Configuration Status). Some of these fields are not yet present. This is how the canboat output looks:

const ex = {
   "pgn":127513,
   "description":"Battery Configuration Status",
   "fields":{
      "Instance":16,
      "Battery Type":"Gel", // electrical.batteries.16.chemistry
      "Supports Equalization":0, // NOT PRESENT IN SK
      "Nominal Voltage":"12", // NOT PRESENT IN SK
      "Capacity":0, // electrical.batteries.16.capacity.nominal
      "Temperature Coefficient":19, // NOT PRESENT IN SK
      "Peukert Exponent":0.002, // NOT PRESENT IN SK
      "Charge Efficiency Factor":0, // NOT PRESENT IN SK
   }
}

I would like to propose the following fields. If nobody objects, I'll do PRs for n2k-signalk and specification

  • electrical.batteries.<inst>.voltage.nominal
  • electrical.batteries.<inst>.temperature.coefficient
  • electrical.batteries.<inst>.peukertExponent
  • electrical.batteries.<inst>.chargeEfficiency
  • electrical.batteries.<inst>.supportsEqualisation

Thoughts?

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.