Skip to content

feat: add typed listeners for streamable fields 260-269 - #42

Merged
Bre77 merged 2 commits into
mainfrom
fm/tstream-fields-260-269
Aug 28, 2026
Merged

feat: add typed listeners for streamable fields 260-269#42
Bre77 merged 2 commits into
mainfrom
fm/tstream-fields-260-269

Conversation

@Bre77

@Bre77 Bre77 commented Aug 28, 2026

Copy link
Copy Markdown
Member

Intent

  • Upstream added 10 new streamable fields (IDs 260-269, first available firmware 2026.32) in teslamotors/fleet-telemetry#546. This library declares fields independently of tesla-protocol, so they need their own Signal entries and listen_<Field> methods.
    • Added Signal entries in const.py, alphabetical by constant name like the rest of the enum.
    • Added the 10 listen_* methods to the end of TeslemetryStreamVehicle in vehicle.py, matching where the last few additions (listen_RearDefrostEnabled, listen_ChargeRateMilePerHour) landed rather than re-sorting the whole class.
    • Typed each by matching the closest existing field of the same shape: GpsAccuracyMeters, LifetimeEnergyChargedKwh, BrickSocMinPercent, NominalFullPackEnergyKwh, GradeEstimatePercent, MaxSpeedToReachDestinationMph, and SemiCruiseSpeedLimitMph as float (mirroring CurrentLimitMph, LifetimeEnergyUsed, TonneauOpenPercent); SoftwareUpdateAvailable, SoftwareUpdateInProgress, and RemoteStartActive as bool (mirroring SpeedLimitMode, RemoteStartEnabled).
    • RemoteStartActive is distinct from the existing RemoteStartEnabled (keyless driving toggle); SemiCruiseSpeedLimitMph is Semi-truck only and distinct from CruiseSetSpeed.

Bre77 added 2 commits August 29, 2026 06:17
Adds listen_GpsAccuracyMeters, listen_LifetimeEnergyChargedKwh,
listen_BrickSocMinPercent, listen_NominalFullPackEnergyKwh,
listen_GradeEstimatePercent, listen_MaxSpeedToReachDestinationMph,
listen_SoftwareUpdateAvailable, listen_SoftwareUpdateInProgress,
listen_RemoteStartActive, and listen_SemiCruiseSpeedLimitMph, matching
upstream teslamotors/fleet-telemetry#546 (first available firmware
2026.32).

Claude-Session: https://claude.ai/code/session_01MHXTGKr4FcJ18HT4nrfN14
@Bre77 Bre77 added the fm Opened by a Firstmate crewmate label Aug 28, 2026
@Bre77
Bre77 merged commit b2a39bc into main Aug 28, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fm Opened by a Firstmate crewmate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant