The adapter allows the communication to NMEA2000 or NMEA0183 bus
npm install iobroker.nmea!Logo
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.
For more details and for information how to disable the error reporting, see Sentry-Plugin Documentation!
Sentry reporting is used starting with js-controller 3.0.
To use this adapter, you need a hardware that can read NMEA-2000 bus and convert it to the serial port:
- Actisense NGT-1 (USB)
- Actisense NGX1-USB (USB)
- or Raspberry PI with PiCAN-M
- Yacht Devices YDWG-02/03
- Yacht Devices YDEN-02/03
PiCAN-M could work with Raspberry 4 and 5.
The PiCAN M is a compact add-on board designed for the Raspberry Pi 3/4.
It enables the connection of both NMEA2000 and NMEA0183 networks to a Raspberry Pi.
The board can be powered through an external 12V source.
Additionally, it offers the option to power the Raspberry Pi directly via the NMEA2000 bus when used with the PiCAN-M board.
The PiCAN-M lacks appropriate protection against reverse polarity for the 12V supply voltage. When operated externally at 12V, it is necessary to include a 1A fuse in the power supply line.
Because of the high requirements of Raspberry Pi to power supply, we suggest powering the Raspberry PI from the external power source (at least 3A).
Power over NMEA2000 and over USB could function in parallel without a problem.
Edit file /boot/config.txt (with sudo nano /boot/config.txt) and add the following lines to the end of the file:
```
enable_uart=1
dtparam=i2c_arm=on
dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25
Disable outputs on UART console:
- start in CLI sudo raspi-config3 Interface Options
- go to I5 Serial Port
- go ot shell accessible over serial
- Disable and serial port hardware enabledraspi-config
- Exit from and reboot
Install can-utils
`shell`
sudo apt-get install can-utils
!YDWG
UDP could work too, but the gateway sends the data into the network continuously, so the bus could be overloaded.
With the flag Combined environment you can define the PGN number which will be used for temperature, humidity and pressure:Combined environment
- If you unselect the flag , so for the temperature will be used PGN 130314, for humidity PGN 130313 and for pressure PGN 130314.Combined environment
- If you select the flag , so all three values will be sent in PGN 130311 together with other possible environmental values.
user the command execution:
sudo visudo`
iobroker ALL=(ALL) timedatectl set-timezone
``The development of Simrad/navico/B&G is not completed yet.
Copyright (c) 2024-2026 bluefox
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.