JohnySeven / TWatchSK

TTGO T-Watch 2020 v1 supporting Signal K features for displaying boat data and controlling devices on board.
MIT License
9 stars 1 forks source link

Change watch status SK update to be more generic #49

Closed ba58smith closed 3 years ago

ba58smith commented 3 years ago

Currently, the watch status is sent to SK Server as a single "value" with multiple data points: { "battery": 97, "uptime": 159056350, "temperature": 307.65 } But Instrument Panel (nor any other SK Consumer) will know how to display that. So make this into three separate deltas / values.

Also - change uptime so it's in seconds, or maybe hours:minutes:seconds.

Also - Kelvin is F + 273.15, not 274.15.

ba58smith commented 3 years ago

Should probably add metadata to these deltas, too.

JohnySeven commented 3 years ago

Great!

JohnySeven commented 3 years ago

Done with PR #58, closing