## kongsberg-apps by [jason](https://app.viam.com/namespace/jason)

Public

Multi-machine Viam application for Kongsberg vessel fleet management and monitoring.

## Features

- **Fleet Discovery**: Automatically discovers all vessels using the configured fragment ID via `listMachineSummaries` API
- **Live GPS Tracking**: Real-time position, heading, and speed from movement sensors (refreshes every 5 seconds)
- **Historical Track Lines**: Displays vessel track history using MQL aggregation queries against Viam Data Service
- **Online/Offline Status**: Shows vessel connectivity status based on last-seen timestamps
- **Interactive Chartplotter**: Marine map with vessel icons, track lines, and fleet overview

## URL Parameters

- `?frag=<fragment-id>` - Override the default fragment ID for fleet discovery
- `?gps=<component-name>` - Specify GPS component name (default: 'gps')

## Track History Queries

The app queries historical GPS data using MQL aggregation:
1. **Match**: Filters by part_id, component_name, and time range (default 30 days)
2. **Group**: Aggregates positions by minute to reduce data points
3. **Sort**: Orders oldest to newest for proper track line rendering

Time range automatically expands (24h → 1 week → 1 month → 3 months) if no data is found in the initial range.

## Setup

Vessels must have a movement sensor component (GPS) configured and be using the Kongsberg fragment.

[https://kadmin1_jason.viamapplications.com](https://kadmin1_jason.viamapplications.com/)

multi_machine

Latest version

0.0.55•07/01/2026•

any

Show previous versions
