2021-01-02, 04:24 PM
The SignalK web application contain an entry for data connections, one of these handle NMEA2000 data. The connection work fine using a canable adapter,
see here for more details. The dashboard show over 30 NMEA2000 messages per second, while the RPi4 can cope with this load it does generate a fair
amount of CPU usage. In order to reduce the load I looked at filtering.
The connection from canable which handle data type NMEA2000 also has a filter option. It can filter messages based on address and PNG, I'm not sure what
to enter en these fields. The SK messages contain strings like "navigation.datetime" and corresponding can reference "canable0.0" while "navigation.SpeedOverGround"
use "canable0.34" and "navigation.log" "canable0.115". The numbers 0,34 and 115 are used for several SK date tags.
Looking at the raw NMEA2000 data with the "check device traffic" yield lines like "canable0 19FA0400 [8] <hex data>" where the second number might be an address,
but which address map to which of the addresses SK present (the 0, 34 & 115) correspond to which NMEA2000 address.
I'm not sure what kind of data the filter accept, what to enter in the "address field" and in the "PGN" field.
Ole
see here for more details. The dashboard show over 30 NMEA2000 messages per second, while the RPi4 can cope with this load it does generate a fair
amount of CPU usage. In order to reduce the load I looked at filtering.
The connection from canable which handle data type NMEA2000 also has a filter option. It can filter messages based on address and PNG, I'm not sure what
to enter en these fields. The SK messages contain strings like "navigation.datetime" and corresponding can reference "canable0.0" while "navigation.SpeedOverGround"
use "canable0.34" and "navigation.log" "canable0.115". The numbers 0,34 and 115 are used for several SK date tags.
Looking at the raw NMEA2000 data with the "check device traffic" yield lines like "canable0 19FA0400 [8] <hex data>" where the second number might be an address,
but which address map to which of the addresses SK present (the 0, 34 & 115) correspond to which NMEA2000 address.
I'm not sure what kind of data the filter accept, what to enter in the "address field" and in the "PGN" field.
Ole
Ole W. Saastad
web : https://www.homelinux.no https://algol.homelinux.no
https://github.com/olewsaa/Yacht-computer
twitter : olewsaa
web : https://www.homelinux.no https://algol.homelinux.no
https://github.com/olewsaa/Yacht-computer
twitter : olewsaa