Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SignalK/signalk-to-nmea2000
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.1
Choose a base ref
...
head repository: SignalK/signalk-to-nmea2000
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Feb 5, 2018

  1. Copy the full SHA
    c60d0b1 View commit details
  2. 2.0.1

    sbender9 committed Feb 5, 2018
    Copy the full SHA
    6ac9cf5 View commit details
  3. chore: update changelog

    sbender9 committed Feb 5, 2018
    Copy the full SHA
    091e02e View commit details
  4. Copy the full SHA
    38dfbe5 View commit details
  5. 2.0.2

    sbender9 committed Feb 5, 2018
    Copy the full SHA
    f263887 View commit details
  6. chore: update changelog

    sbender9 committed Feb 5, 2018
    Copy the full SHA
    17df5fd View commit details

Commits on Feb 6, 2018

  1. Copy the full SHA
    9fa1b75 View commit details
  2. 2.1.0

    sbender9 committed Feb 6, 2018
    Copy the full SHA
    d44d73e View commit details
  3. chore: update changelog

    sbender9 committed Feb 6, 2018
    Copy the full SHA
    4b0e6a9 View commit details

Commits on May 8, 2018

  1. Copy the full SHA
    5f5dbba View commit details

Commits on Jun 18, 2018

  1. correct typo

    tkurki authored Jun 18, 2018
    Copy the full SHA
    5791b73 View commit details
  2. Copy the full SHA
    d2d930e View commit details

Commits on Jul 11, 2018

  1. Copy the full SHA
    ebdc2a5 View commit details
  2. Copy the full SHA
    473b707 View commit details
  3. Copy the full SHA
    36c9457 View commit details
  4. Copy the full SHA
    a7c0191 View commit details

Commits on Jul 14, 2018

  1. chore: update server version

    sbender9 committed Jul 14, 2018
    Copy the full SHA
    35eb2f6 View commit details
  2. 2.2.0

    sbender9 committed Jul 14, 2018
    Copy the full SHA
    2549e0b View commit details
  3. chore: update changelog

    sbender9 committed Jul 14, 2018
    Copy the full SHA
    3939f57 View commit details

Commits on Aug 10, 2018

  1. Copy the full SHA
    1d57b6e View commit details
  2. 2.2.1

    sbender9 committed Aug 10, 2018
    Copy the full SHA
    30a0325 View commit details
  3. chore: update changelog

    sbender9 committed Aug 10, 2018
    Copy the full SHA
    8bf9dbb View commit details

Commits on Sep 13, 2018

  1. Copy the full SHA
    d461113 View commit details
  2. 2.2.2

    sbender9 committed Sep 13, 2018
    Copy the full SHA
    7ad2c98 View commit details
  3. chore: update changelog

    sbender9 committed Sep 13, 2018
    Copy the full SHA
    d3b2df6 View commit details
  4. Copy the full SHA
    097ef91 View commit details
  5. 2.2.3

    sbender9 committed Sep 13, 2018
    Copy the full SHA
    9d806d8 View commit details
  6. chore: update changelog

    sbender9 committed Sep 13, 2018
    Copy the full SHA
    6a2cdfc View commit details

Commits on Nov 6, 2018

  1. Copy the full SHA
    8ef8dce View commit details
  2. 2.2.4

    sbender9 committed Nov 6, 2018
    Copy the full SHA
    3b0f8d3 View commit details
  3. chore: update changelog

    sbender9 committed Nov 6, 2018
    Copy the full SHA
    90a11d5 View commit details

Commits on May 2, 2019

  1. Copy the full SHA
    971c556 View commit details
  2. 2.3.0

    sbender9 committed May 2, 2019
    Copy the full SHA
    eae91c4 View commit details
  3. chore: update changelog

    sbender9 committed May 2, 2019
    Copy the full SHA
    e7b03dd View commit details

Commits on May 29, 2019

  1. Copy the full SHA
    04e3447 View commit details
  2. 2.4.0

    sbender9 committed May 29, 2019
    Copy the full SHA
    ee181bd View commit details
  3. chore: update changelog

    sbender9 committed May 29, 2019
    Copy the full SHA
    c1c91bb View commit details

Commits on Jun 4, 2019

  1. Copy the full SHA
    fee98c4 View commit details
  2. 2.4.1

    sbender9 committed Jun 4, 2019
    Copy the full SHA
    cd1d653 View commit details
  3. chore: update changelog

    sbender9 committed Jun 4, 2019
    Copy the full SHA
    23cac86 View commit details

Commits on Jul 27, 2019

  1. Copy the full SHA
    8d84df5 View commit details
  2. Copy the full SHA
    830cdec View commit details
  3. 2.5.0

    sbender9 committed Jul 27, 2019
    Copy the full SHA
    539faea View commit details
  4. chore: update changelog

    sbender9 committed Jul 27, 2019
    Copy the full SHA
    b2c8829 View commit details

Commits on Aug 20, 2019

  1. fix: support app.debug

    tkurki committed Aug 20, 2019
    Copy the full SHA
    2b48ee2 View commit details

Commits on Feb 22, 2020

  1. Feature: Extend support for other PGN 130312 temperature sources (#37)

    * Feature: Extend support for other PGN 130312 temperature sources
    
    The following temperature conversion can be added:
    4=Main Cabin Temperature, environment.inside.mainCabin.temperature
    8=Heating System Temperature, environment.inside.heating.temperature
    9=Dew Point Temperature, environment.outside.dewPointTemperature
    10=Apparent Wind Chill Temperature, environment.outside.apparentWindChillTemperature
    11=Theoretical Wind Chill Temperature, environment.outside.theoreticalWindChillTemperature
    12=Heat Index Temperature, environment.outside.heatIndexTemperature
    13=Freezer Temperature, environment.inside.freezer.temperature
    
    Closes #36
    
    * fix: issue with 130312 src encoding
    jncarter123 authored Feb 22, 2020
    Copy the full SHA
    e32f7c1 View commit details
  2. 2.6.0

    sbender9 committed Feb 22, 2020
    Copy the full SHA
    a8fc440 View commit details
  3. chore: update changelog

    sbender9 committed Feb 22, 2020
    Copy the full SHA
    d448927 View commit details
  4. fix: syntax error

    sbender9 committed Feb 22, 2020
    Copy the full SHA
    9e0951a View commit details
  5. 2.6.1

    sbender9 committed Feb 22, 2020
    Copy the full SHA
    8156d83 View commit details
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node.js CI & Test

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to npm

# https://stackoverflow.com/questions/69063452/github-actions-on-release-created-workflow-trigger-not-working
on:
workflow_run:
workflows: ["Release on tag"]
types: [completed]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33 changes: 33 additions & 0 deletions .github/workflows/release_on_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Release on tag'
on:
push:
tags:
- '*'

jobs:
release:
permissions:
contents: write
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install && npm pack

- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}

- name: Create Release
uses: ncipollo/release-action@v1
with:
body: ${{steps.github_release.outputs.changelog}}
artifacts: "signalk-to-influxdb2*.tgz"
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
13 changes: 13 additions & 0 deletions .github/workflows/require_pr_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Pull Request Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v1
with:
mode: exactly
count: 1
labels: "fix, feature, doc, chore, test, ignore, other, dependencies"
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- "6"
- "10"
- "16"
sudo: false
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
## Change Log

### v2.13.0 (2021/08/17 13:28 +00:00)
- [#54](https://github.com/SignalK/signalk-to-nmea2000/pull/54) feature: add support for navigation data (129283, 129284) (@ardbiesheuvel)
- [#56](https://github.com/SignalK/signalk-to-nmea2000/pull/56) Ais delta guard (@tkurki)
- [#55](https://github.com/SignalK/signalk-to-nmea2000/pull/55) chore: fix failing test (@tkurki)

### v2.12.0 (2020/12/03 21:36 +00:00)
- [#52](https://github.com/SignalK/signalk-to-nmea2000/pull/52) feature: add Sea/Air Temp PGN (130310) (@benwingrove)

### v2.11.0 (2020/10/30 21:34 +00:00)
- [#47](https://github.com/SignalK/signalk-to-nmea2000/pull/47) feature: add support for n2k alerts (126983, 126985) (@jncarter123)

### v2.10.0 (2020/05/26 14:31 +00:00)
- [#50](https://github.com/SignalK/signalk-to-nmea2000/pull/50) feature: source filtering (@tkurki)
- [#49](https://github.com/SignalK/signalk-to-nmea2000/pull/49) fix: plugin name in server ui (@tkurki)

### v2.9.1 (2020/04/28 19:19 +00:00)
- [#48](https://github.com/SignalK/signalk-to-nmea2000/pull/48) fix: crashing with system time enabled (@sbender9)

### v2.9.0 (2020/03/21 13:38 +00:00)
- [#46](https://github.com/SignalK/signalk-to-nmea2000/pull/46) feature: add support for attitude (127257) (@sbender9)

### v2.8.0 (2020/03/10 18:53 +00:00)
- [#40](https://github.com/SignalK/signalk-to-nmea2000/pull/40) Added Atmospheric Pressure using Environmental Parameters PGN 130311. (@htool)
- [#44](https://github.com/SignalK/signalk-to-nmea2000/pull/44) feture: add a setting to configure how to resend (@sbender9)
- [#42](https://github.com/SignalK/signalk-to-nmea2000/pull/42) fix: show an error message for unknown tank types (@sbender9)
- [#41](https://github.com/SignalK/signalk-to-nmea2000/pull/41) feature: add support for conversions to use subscriptions (@sbender9)

### v2.7.0 (2020/03/03 17:21 +00:00)
- [#39](https://github.com/SignalK/signalk-to-nmea2000/pull/39) feature: add option to periodically resend data to the bus (@sbender9)

### v2.6.0 (2020/02/22 19:36 +00:00)
- [#37](https://github.com/SignalK/signalk-to-nmea2000/pull/37) Feature: Extend support for other PGN 130312 temperature sources (@jncarter123)

### v2.5.0 (2019/07/27 18:43 +00:00)
- [#30](https://github.com/SignalK/signalk-to-nmea2000/pull/30) chore: update to latest canboatjs (@sbender9)
- [#29](https://github.com/SignalK/signalk-to-nmea2000/pull/29) feature: support "greyWater" keys (@sbender9)

### v2.4.1 (2019/06/04 17:32 +00:00)
- [#26](https://github.com/SignalK/signalk-to-nmea2000/pull/26) fix: bad heading values causing ais encoding to fail (@sbender9)

### v2.4.0 (2019/05/29 12:48 +00:00)
- [#25](https://github.com/SignalK/signalk-to-nmea2000/pull/25) feature: add Speed Through Water PGN (@jtroyer76)

### v2.3.0 (2019/05/02 12:13 +00:00)
- [#24](https://github.com/SignalK/signalk-to-nmea2000/pull/24) feature: add engine parameters rapid update 127488 (@sbender9)

### v2.2.4 (2018/11/06 20:01 +00:00)
- [#23](https://github.com/SignalK/signalk-to-nmea2000/pull/23) fix; update to support changes to the Instance field names in canboat (@sbender9)

### v2.2.3 (2018/09/13 23:30 +00:00)
- [#22](https://github.com/SignalK/signalk-to-nmea2000/pull/22) fix: alternator voltage is getting set to the wrong value (@sbender9)

### v2.2.2 (2018/09/13 16:31 +00:00)
- [#19](https://github.com/SignalK/signalk-to-nmea2000/pull/19) fix: Engine Parameters, Dynamic not getting generated correctly (@sbender9)

### v2.2.1 (2018/08/10 01:18 +00:00)
- [#18](https://github.com/SignalK/signalk-to-nmea2000/pull/18) fix: saving configuration fails when there is no tank data in signalk (@sbender9)

### v2.2.0 (2018/07/14 17:35 +00:00)
- [#12](https://github.com/SignalK/signalk-to-nmea2000/pull/12) [WIP] chore: update to use the latest plugin api (@sbender9)
- [#16](https://github.com/SignalK/signalk-to-nmea2000/pull/16) feature: implement temperature and dynamic engine parameter sending (@mairas)
- [#15](https://github.com/SignalK/signalk-to-nmea2000/pull/15) doc: add reference to canboatjs & admin ui (@tkurki)
- [#13](https://github.com/SignalK/signalk-to-nmea2000/pull/13) doc: note adding pgns to allowed tx list of ntg-1 (@webmasterkai)

### v2.1.0 (2018/02/06 04:03 +00:00)
- [#11](https://github.com/SignalK/signalk-to-nmea2000/pull/11) feature: add conversion for tank level and capacity (@sbender9)

### v2.0.1 (2018/02/05 23:44 +00:00)
- [#10](https://github.com/SignalK/signalk-to-nmea2000/pull/10) fix: battery conversion not working (@sbender9)

### v2.0.0 (2018/01/30 00:42 +00:00)
- [#8](https://github.com/SignalK/signalk-to-nmea2000/pull/8) refactor: break conversion out into separate files and use canboatjs (@sbender9)
- [#6](https://github.com/SignalK/signalk-to-nmea2000/pull/6) fix: ais PGNs (@sbender9)
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,8 +4,6 @@

Plugin to convert Signal K to NMEA2000

Currently only support apparent wind, gps location and system time.

Requires that toChildProcess be set to nmea2000out for the actisense execute provider:

```
@@ -19,3 +17,10 @@ Requires that toChildProcess be set to nmea2000out for the actisense execute pro
}
}
```

or you can configure your N2K connection to use canboatjs in the server admin user interface:
![image](https://user-images.githubusercontent.com/1049678/41557237-ac2e2eea-7345-11e8-8719-bbd18ef832cb.png)



Note that if you're using an NGT-1 to transmit AIS, then you need to use their Windows [NMEA Reader](https://www.actisense.com/wp-content/uploads/2017/07/Actisense-NMEA-Reader-v1.517-Setup.exe_.zip) software to add the pgns (129794, 129038, 129041) in the transmitted list.
Loading