Skip to content

feat: add service mode to webview and reduce log when car is Unlocked at service mode#5289

Open
NirKli wants to merge 4 commits into
teslamate-org:mainfrom
NirKli:main
Open

feat: add service mode to webview and reduce log when car is Unlocked at service mode#5289
NirKli wants to merge 4 commits into
teslamate-org:mainfrom
NirKli:main

Conversation

@NirKli
Copy link
Copy Markdown
Contributor

@NirKli NirKli commented Apr 18, 2026

Add service mode support and reduce Unlocked log noise

Description

TeslaMate currently logs repeated [warning] Unlocked messages at a high frequency (~every 30 seconds) when the vehicle remains unlocked.

This becomes especially noisy when the vehicle is in service mode, where it is expected to stay unlocked for extended periods.


Changes

  • Add service_mode field to TeslaApi.Vehicle.State (parsed from Tesla API)
  • Reduce repeated Unlocked warning logs when service_mode = true
  • Keep existing behavior when the vehicle is not in service mode
  • Add service mode indicator (🔧) to the web UI

Behavior

  • Unlocked warnings are logged normally when not in service mode
  • When service_mode is enabled, repeated logs are suppressed to avoid noise

Screenshots

docker_loh Untitled

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 18, 2026

Deploy Preview for teslamate ready!

Name Link
🔨 Latest commit 43c6ad7
🔍 Latest deploy log https://app.netlify.com/projects/teslamate/deploys/69f764e8f1ff6f00088f4ffe
😎 Deploy Preview https://deploy-preview-5289--teslamate.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 18, 2026

CLA assistant check
All committers have signed the CLA.

@NirKli NirKli changed the title Added service mode to web and reduce log when car is `Unlocked at service mode Added service mode to web and reduce log when car is Unlocked at service mode Apr 18, 2026
@brianmay
Copy link
Copy Markdown
Collaborator

I imagine this might (?) conflict with #4453. Shouldn't be hard to resolve either way, just wanted to flag this as a possible issue.

@JakobLichterfeld JakobLichterfeld added the enhancement New feature or request label May 1, 2026
@JakobLichterfeld JakobLichterfeld changed the title Added service mode to web and reduce log when car is Unlocked at service mode feat: add service mode to webview and reduce log when car is Unlocked at service mode May 1, 2026
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.

4 participants