stefanor / signalk-victron-ble

Simple Signal K Node server plugin to read data from Victron devices using Instant Data over BLE
Apache License 2.0
6 stars 2 forks source link

Add support for Solar Power on MPPT #4

Closed steveuk71 closed 1 year ago

steveuk71 commented 1 year ago

Following fields available to report, the current Solar Input Watts and Total Yield Watts today

"model_name": "SmartSolar MPPT 75|15",

"solar_power": 0,

"yield_today": 20
stefanor commented 1 year ago

I'm afraid there aren't defined keys for either of these in the SignalK spec: https://signalk.org/specification/1.7.0/doc/vesselsBranch.html

The first step would be to define them in https://github.com/SignalK/specification

stefanor commented 1 year ago

You can, of course, calculate both of these from existing values. Power = Voltage * Current, and yield today is the integral of Power since midnight.

stefanor commented 1 year ago

panelPower is added in #6

stefanor commented 1 year ago

Filed SignalK/specification#653 for the specification updates.

tkurki commented 1 year ago

Just to make sure you know: the SK server is schema agnostic, you can basically invent your own paths. Naturally if the name of the path is obvious / noncontroversial we should pretty quickly add it to the specifiation. The main advantags are that then you get unit information from the schema and various pieces of software use the same path for the same thing.

But you can start using any path and SK server will work.