Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: PBVE - auxillary engine temperature #144

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

tonybentley
Copy link
Contributor

@tonybentley tonybentley commented Feb 19, 2019

Added product code E, engine coolant temperature
Added the following meta for providing CruzPro gauge information:

  • Backlight level
  • Gauge units
  • High alarm value, included in zones with messaging
  • Low alarm value, included in zones with messaging
  • Gauge alarm armed
  • Original value for debugging

Added conversion into signalk specified format (f->k, psi->pa)
Updated unit tests to verify all meta model values

Verified with @sk/instrumentPanel and CruzPro gauges (see attached photos)
Note: Temperature is off one degree due to latency between photo and screenshot. Numbers are identical in realtime.

skinstrument

img_7797

@joabakk
Copy link
Contributor

joabakk commented Feb 20, 2019

Looks like solid work, at least in proving the accuracy!

const ALPHA = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
E: {
path: 'propulsion.0.coolantTemperature',
meta: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will accomplish what you are after here. Check the full that results from this - does it have the meta in place that should be there?

We don't have a way to update meta information with a delta. @sbender9 was working on this at SignalK/signalk-server#481 but that stalled. This use case could be the time to resurrect that line of work.

@tkurki
Copy link
Member

tkurki commented Aug 19, 2019

Even if the meta stuff is off I am going to merge this, as the conversion itself works.

For the meta values it would be useful to not send them all the time, only when they change. And as I commented earlier the downstream support for updating meta is not there yet.

@tkurki tkurki merged commit 591c6e1 into SignalK:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants