Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
Fixed issue where the plugin was reporting w/h to the solar yield path in w/h while SignalK expected Joules.
  • Loading branch information
KvotheBloodless authored Nov 29, 2024
1 parent 4ddb931 commit c640f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def transform_solar_charger_data(
},
{
"path": f"electrical.solar.{id_}.yieldToday",
"value": data.get_yield_today(),
"value": data.get_yield_today() * 3600, // SignalK expects Joules
},
]

Expand Down

0 comments on commit c640f6b

Please sign in to comment.