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

change solar yieldToday from Wh to Joule #11

Closed humppafreak closed 8 months ago

humppafreak commented 8 months ago

as specified in https://github.com/SignalK/specification/blob/master/schemas/groups/electrical.json the yieldToday value should be in Joule, but the BLE data contains the daily energy yield in Watt-hours, not in Watt-seconds (aka Joule), so the value returned by the BLE code needs to be multiplied by 3600 before being pushed to SignalK.