๐ Two-Way Favorites Sync
This release adds bidirectional synchronization of favorite nodes between MeshMonitor and your Meshtastic device!
โจ New Features
- Device Synchronization: Favorite nodes are now synced to your Meshtastic device via admin messages
- Graceful Degradation: Database updates succeed even if device sync fails
- Device Sync Status: API responses include sync status ('success', 'failed', 'skipped')
- Optional Sync: New
syncToDeviceparameter allows database-only updates
๐ง API Enhancements
POST /api/nodes/:nodeId/favorite
- Added
syncToDeviceparameter (default: true) - Response includes
deviceSyncobject with status and optional error - Standardized error responses with error codes for better client handling
- Input validation for nodeId format (8 hex characters)
โก Performance Improvements
- Firmware version support caching to reduce redundant queries
- Optimized version parsing and comparison
๐ Documentation
- Complete API documentation for favorites endpoint
- Device sync details and firmware requirements
- cURL examples for all use cases
๐ Security & Validation
- Hex string validation for nodeId parameters
- Structured error responses with machine-readable error codes
- Firmware version compatibility checks (requires >= 2.7.0)
๐งช Testing
- 6 new comprehensive test cases covering:
- Admin message creation
- Favorites persistence
- Firmware version requirements
- Graceful degradation
Full Changelog: https://github.com/Yeraze/meshmonitor/blob/main/CHANGELOG.md#1150---2025-10-06
๐ MeshMonitor v1.15.0
๐ฆ Installation
Docker (recommended):
docker run -d \
--name meshmonitor \
-p 8080:3001 \
-v meshmonitor-data:/data \
ghcr.io/Yeraze/meshmonitor:v1.15.0๐งช Testing
โ
All tests passed
โ
TypeScript checks passed
โ
Docker images built for linux/amd64, linux/arm64, linux/arm/v7
๐ Changes
See commit history for detailed changes.