Skip to content

Update GPS diagnostics and improve update speed#1

Merged
yellowcooln merged 3 commits intopyMC-dev:devfrom
yellowcooln:dev
May 6, 2026
Merged

Update GPS diagnostics and improve update speed#1
yellowcooln merged 3 commits intopyMC-dev:devfrom
yellowcooln:dev

Conversation

@yellowcooln
Copy link
Copy Markdown
Collaborator

Summary

This PR improves GPS support in the pyMC Repeater Home Assistant integration using the newer repeater GPS API introduced in pyMC_Repeater dev (e4efc80).


What Changed

Expanded GPS Diagnostics

  • Increased GPS diagnostics coverage using /api/gps
  • Added new GPS entities for:
    • Enabled / running / stale state
    • Geoid separation
    • Course
    • Magnetic variation
    • PDOP / VDOP
    • GPS UTC time
    • Location update state
    • Checksum counters
    • Last sentence type

Richer GPS Attributes

Added expanded GPS attributes covering:

  • Source / configuration
  • Location update metadata
  • NMEA sentence counters
  • Recent sentences
  • Raw GPS attributes

GPS Live Streaming Support

  • Added GPS SSE support using /api/gps_stream
  • GPS entities now update from the live stream instead of waiting for the normal 60-second coordinator poll
  • Non-GPS entities continue using the standard polling path

Version

  • Bumped integration version to 1.0.2

Result

GPS entities in Home Assistant now:

  • Update significantly faster
  • Expose substantially more repeater GPS diagnostics
  • Maintain existing behavior for the rest of the integration

@yellowcooln yellowcooln self-assigned this May 6, 2026
@yellowcooln yellowcooln added the enhancement New feature or request label May 6, 2026
@yellowcooln yellowcooln merged commit 832c3bd into pyMC-dev:dev May 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant