specification icon indicating copy to clipboard operation
specification copied to clipboard

Signal K support for extra fields from Battery Configuration Status

Open fabdrol opened this issue 4 years ago • 4 comments

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?

fabdrol avatar Jul 15 '20 14:07 fabdrol