Organizes 11 projects for Cerbo GX/Venus OS into a single repository: - axiom-nmea: Raymarine LightHouse protocol decoder - dbus-generator-ramp: Generator current ramp controller - dbus-lightning: Blitzortung lightning monitor - dbus-meteoblue-forecast: Meteoblue weather forecast - dbus-no-foreign-land: noforeignland.com tracking - dbus-tides: Tide prediction from depth + harmonics - dbus-vrm-history: VRM cloud history proxy - dbus-windy-station: Windy.com weather upload - mfd-custom-app: MFD app deployment package - venus-html5-app: Custom Victron HTML5 app fork - watermaker: Watermaker PLC control UI Adds root README, .gitignore, project template, and per-project .gitignore files. Sensitive config files excluded via .gitignore with .example templates provided. Made-with: Cursor
87 lines
1.6 KiB
Python
87 lines
1.6 KiB
Python
"""
|
|
NMEA 0183 sentence generation module.
|
|
|
|
This module provides classes for generating standard NMEA 0183 sentences
|
|
from sensor data. Supported sentence types:
|
|
|
|
GPS/Position:
|
|
- GGA: GPS Fix Data
|
|
- GLL: Geographic Position
|
|
- RMC: Recommended Minimum
|
|
|
|
Navigation:
|
|
- HDG: Heading (magnetic with deviation/variation)
|
|
- HDT: Heading True
|
|
- VTG: Track Made Good and Ground Speed
|
|
- VHW: Water Speed and Heading
|
|
|
|
Wind:
|
|
- MWV: Wind Speed and Angle
|
|
- MWD: Wind Direction and Speed
|
|
|
|
Depth:
|
|
- DPT: Depth
|
|
- DBT: Depth Below Transducer
|
|
|
|
Temperature:
|
|
- MTW: Water Temperature
|
|
- MTA: Air Temperature (proprietary extension)
|
|
|
|
Transducer (tanks, batteries):
|
|
- XDR: Transducer Measurements
|
|
"""
|
|
|
|
from .sentence import NMEASentence
|
|
from .generator import NMEAGenerator
|
|
from .server import NMEATcpServer
|
|
|
|
# Import all sentence types
|
|
from .sentences import (
|
|
# GPS
|
|
GGASentence,
|
|
GLLSentence,
|
|
RMCSentence,
|
|
# Navigation
|
|
HDGSentence,
|
|
HDTSentence,
|
|
VTGSentence,
|
|
VHWSentence,
|
|
# Wind
|
|
MWVSentence,
|
|
MWDSentence,
|
|
# Depth
|
|
DPTSentence,
|
|
DBTSentence,
|
|
# Temperature
|
|
MTWSentence,
|
|
MTASentence,
|
|
# Transducer
|
|
XDRSentence,
|
|
)
|
|
|
|
__all__ = [
|
|
"NMEASentence",
|
|
"NMEAGenerator",
|
|
"NMEATcpServer",
|
|
# GPS
|
|
"GGASentence",
|
|
"GLLSentence",
|
|
"RMCSentence",
|
|
# Navigation
|
|
"HDGSentence",
|
|
"HDTSentence",
|
|
"VTGSentence",
|
|
"VHWSentence",
|
|
# Wind
|
|
"MWVSentence",
|
|
"MWDSentence",
|
|
# Depth
|
|
"DPTSentence",
|
|
"DBTSentence",
|
|
# Temperature
|
|
"MTWSentence",
|
|
"MTASentence",
|
|
# Transducer
|
|
"XDRSentence",
|
|
]
|