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

PGN 65285 for Lowrance Temperature sensor doesn't support Temperature Source #94

Closed
lfrancois opened this issue Sep 22, 2017 · 3 comments

Comments

@lfrancois
Copy link

So far the temperature source is always returning 0, I am going to start to document here the value the sensor is using based on the different values available in B&G Zeus 2 interface.

{ "Lowrance: Temperature", 65285, false, 8, 0,
  { { "Manufacturer Code", 11, RES_MANUFACTURER, false, "=140", "Lowrance" }
  , { "Reserved", 2, RES_NOTUSED, false, 0, "" }
  , { "Industry Code", 3, RES_LOOKUP, false, "=4", "Marine Industry" }
  , { "Temperature Instance", 4, 1, false, 0, "" }
  , { "Temperature Source", 4, 1, false, 0, "" }
  , { "Actual Temperature", BYTES(2), RES_TEMPERATURE, false, "K", "" }
  , { 0 }
  }
}
@lfrancois
Copy link
Author

lfrancois commented Sep 22, 2017

Water:

1969-12-31-16:00:34,206 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 0; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,206 0 005 255  65285 : 8c 80 00 a1 72 ff ff ff 9e

Outside:

1969-12-31-16:00:34,287 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 1; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,287 0 005 255  65285 : 8c 80 01 a1 72 ff ff ff 92

Inside:

1969-12-31-16:00:34,329 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 2; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,329 0 005 255  65285 : 8c 80 02 a1 72 ff ff ff b0

Engine Room:

1969-12-31-16:36:21,165 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 3; Temperature Source = 0; Actual Temperature = 22.30 C (72.1 F)
1969-12-31-16:36:21,165 0 005 255  65285 : 8c 80 03 69 73 ff ff ff 00
1969-12-31-16:37:30,297 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 3; Temperature Source = 0; Actual Temperature = 21.40 C (70.5 F)
1969-12-31-16:37:30,297 0 005 255  65285 : 8c 80 03 0f 73 ff ff ff 00
1969-12-31-16:00:33,824 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 3; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:33,824 0 005 255  65285 : 8c 80 03 a1 72 ff ff ff 00

Cabin:

1969-12-31-16:00:34,367 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 4; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,367 0 005 255  65285 : 8c 80 04 a1 72 ff ff ff 13

Live well:

1969-12-31-16:00:34,420 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 5; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,420 0 005 255  65285 : 8c 80 05 a1 72 ff ff ff 1c

Bait well:

1969-12-31-16:00:34,474 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 6; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,474 0 005 255  65285 : 8c 80 06 a1 72 ff ff ff 60

Refrigeration:

1969-12-31-16:00:34,572 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 7; Temperature Source = 0; Actual Temperature = 20.40 C (68.7 F)
1969-12-31-16:00:34,572 0 005 255  65285 : 8c 80 07 ab 72 ff ff ff ff

Heating system:

1969-12-31-16:00:34,611 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = 8; Temperature Source = 0; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,611 0 005 255  65285 : 8c 80 08 a1 72 ff ff ff e4

Unknown:

1969-12-31-16:00:34,646 0   5 255  65285 Lowrance: Temperature:  Manufacturer Code = Lowrance; Industry Code = Marine Industry; Temperature Instance = Unknown; Temperature Source = Unknown; Actual Temperature = 20.30 C (68.5 F)
1969-12-31-16:00:34,646 0 005 255  65285 : 8c 80 ff a1 72 ff ff ff ff

@lfrancois
Copy link
Author

lfrancois commented Sep 24, 2017

It looks like temperature instance and temperature source are inverted. Did a PR here: https://github.com/canboat/canboat/pull/95/files

@keesverruijt
Copy link
Collaborator

Nah, it looks as if there is no Temperature Instance in the Lowrance version, as setting the source to unknown makes 8 bits go 1 (3rd byte goes to 'ff'.)

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

No branches or pull requests

2 participants