Demo controls · simulated vehicle
P4-CAN · DEMO
Offline dashboard demo
AP state
Vehicle model
CAN1 BODY · CAN2 CHASSIS · CAN3 PARTY
Turn controls

Preview data only. Selection does not change firmware settings or send CAN.

Simulated data only. Buttons never contact a vehicle or controller.
TESLA UNLOCK
PROFILE SETUP MODE
FIRST BOOT
Select your vehicle.
A vehicle profile is required before P4-CAN can initialize CAN functions. Choose the exact vehicle family below.
VEHICLE FUNCTIONS PAUSED
Vehicle functions start only after you save the setup and P4-CAN restarts.
Three native CAN buses
Select a vehicle to see bus roles.
500 kbit/s on each bus.
Pins use the saved CAN GPIO mapping or firmware defaults. Check active pins in Settings → CAN GPIO.
Model 3 Highland · Turn Signal Controls
Highland exists in both configurations. Select what is physically installed on this vehicle.
Change your vehicle selection here when needed.
Rebooting P4-CAN
Applying vehicle profile before CAN initialization…
Connecting…
Autopilot off
Standby
Waiting for Autopilot to engage.
—
Stock torque Nm
0 / 0
S3XY
—
Blinker
—
NAG
Nag Killer
Mode —
Auto Blinker
NOA only
TLSSC
AP only
Off-Highway ALC
OFF · STOCK
Injection · R79
Waiting for CAN data
—
Last TX — ago
TX OK
0
Fail
0
CAN 1BODY
—
WAITING
CAN 2CHASSIS
—
WAITING
CAN 3PARTY
—
WAITING
Details›
CAN 1 · BODYNo frames yet
CAN 2 · CHASSISNo frames yet
CAN 3 · PARTYNo frames yet
Connected describes the dashboard link. RUNNING means the CAN controller is started; LIVE confirms recent received frames. TX OK counts driver queue acceptance, without confirming wire completion or ECU acceptance.
Devices
S3XY Buttons paired directly to P4-CAN.
S3XY Buttons
0 / 3 paired
Checking Bluetooth…
Connection settings are managed automatically.
Paired Buttons
0 / 3
No paired S3XY buttons.
Tap a button to configure actions, connection behavior or diagnostics.
Settings
Vehicle functions, wireless and device management.
YL
Vehicle profile · locked at boot
Model Y L
P4-CAN · —
Features
Vehicle functions
Nag Killer
Reduce steering-wheel reminders during Autopilot.
›
ISA Suppression
Reduce ISA warning chimes during Autopilot.
Disable Driver Monitoring
Request cabin-camera monitoring off during Autopilot.
Visual Speed Control
Request visual speed control off.
OFF›
Auto Blinker
Trigger turn signal automatically in NOA
›
TLSSC
Request traffic-light and stop-sign control during AP.
›
Auto Lane Change Enable
Auto lane change for standard AP
EXP›
Pedal Response
Change acceleration response for this drive.
›
AP Accel / Regen
Use Chill acceleration and chosen regen during AP.
›
Battery Preheating
Preheat the battery and view thermal status.
›
S3XY
Use S3XY buttons for assigned vehicle actions.
Experimental
R79 Mode
Configure R79 timing and bit policy.
›
FSD Visualisation
Configure FSD signals on CHASSIS.
›
SmartShift
Experimental automatic shift setting.
›
Country / Map
Change country and map signals.
STOCK / STOCK›
Lane Change
Off-Highway lane change
›
Continuous AP
Re-engage AP after a signaled lane change.
›
System
P4-CAN
About
›
Wireless
Bluetooth, S3XY reconnect and Wi-Fi
›
Appearance
Follows phone setting
Data Refresh Interval
Home updates · default 0.5 s
CAN GPIO
Configure TX / RX pins · reboot to apply
›
Diagnostics / Recovery
Counters, boot capture and system logs
›
CAN Research Capture
Record and download CAN signals.
›
Firmware Update
Install an application .bin file
›
Reboot P4-CAN
Restart controller
›
Reset Feature Settings
Reset features · keep vehicle and connections
›
Reset Setup · Keep S3XY
Reset vehicle, Wi-Fi and features · keep S3XY data
›
Factory Reset
Erase all settings, Wi-Fi and paired buttons
›
Service mode
Service Mode entry and TLSSC Restore.
›
Settings
CAN Research Capture
Profile-specific physical CAN research recorder with automatic multi-segment re-arm.
STATE
READY
SEGMENTS / MAX
0 / 0
CURRENT / LAST
—
REMAINING POST
—
SAMPLES / CAPACITY
0 / 0
OBSERVED IDs
0
Snapshot planPRE 2 s · trigger · POST 5 s
PRE ready / slots0 / 5
Last segment snapshotsPRE 0 · trigger 0 rows · POST 0 / 4
Memory—
Requests / ignored / dropped0 / 0 / 0
RAW PRE ring / archive—
RAW PRE actual coverage—
AUTO qualified / segments / merged—
AUTO LEFT OPEN / BLOCKED0 / 0
AUTO last transition—
0x239 Virtual Lane Width—
0x239 View Range—
0x239 C0 / C1 / C2— — —
Captured dataSNAPSHOT: latest state sets · RAW: actual RX frames with physical bus labels. Recorder never transmits CAN.
RX-only research recorder. SNAPSHOT stores periodic state sets; RAW TRANSITION stores actual CAN A and CAN B receive frames with a rolling PRE window. It never transmits CAN. Captured data clears after restart. Download it first.
Choose Action
Select what this button gesture should do.
Devices
S3XY Button
Configure this button without exposing low-level BLE data.
B1
S3XY Button
—
Offline
Signal —
BUTTON ACTIONS
Single
Single press
None ›
Double
Double press
None ›
Long
Long press
None ›
CONNECTION
Auto Connect
Reconnect this button after boot or link loss.
Connection
Current Bluetooth state
Offline
DEVICE
Rename
›
Connect
Connect manually
›
Forget Device
Remove the saved registry entry and BLE bond.
›
Global Auto Connect can be changed in Settings → Wireless.
Device
Diagnostics
Low-level BLE and input diagnostics. These values are not required for normal use.
CONNECTION
Raw state—
RSSI—
Secure—
Notify subscription—
INPUT
Single0
Double0
Long0
Notify / unparsed0 / 0
PROTOCOL
BLE address type—
Saved 3D49 ID—
3D49 NVS verified—
B6 ACK0
Last notify—
Error—
RECONNECT
Reconnects0
Attempts0
Failures0
Last path—
Discover—
BLE connect—
Attempt → READY—
Identity recovery—
Retry—
Add S3XY Button
NAG KILLER
Mode H
Mode H profile tuning and live engine monitor.
OPPOSITE CARRIER
Hands-On Policy
full 2-bit HO overwrite · generated value is capped at HO=2
HO=3 is never generated. In THRESHOLD HO=1 mode, HO=2 threshold is stored but not used. In TIERED mode, torque below the HO=1 threshold keeps the accepted stock HO field.
Visual Warning Rescue
DAS visual warning starts a delayed direct PRIMARY peak
WAIT + REFRACTORY · every eligible stock 0x370 RX draws a new carrier magnitude. Non-zero stock is mirrored to the opposite sign with |stock| + carrier. |stock| ≤ 0.05 Nm passes through unchanged. Primary events are 80% negative / 20% positive. Rescue cancels if the visual warning clears before its delay.
Stop Behavior
STOPPED only · event engine stays paused. STOCK CARRIER preserves stock torque + stock HO and advances only counter/checksum.
A/B test for stationary Hands-On warnings. Speed stale and move-confirming states remain hard-paused.
LIVE ENGINECurrent profile runtime
PHASE / EVENT
—
ENGINE OUTPUT
—
Mode H tuning and live engine monitor.
Settings
Nag Killer
Choose steering-torque output or a TSL9 Hands-On signal override.
Enabled
—
NAG Method
Choose one method
Ignore AP State
Torque A/B/C/H only · default OFF · other safety gates remain active
Auto Speed Scroll
Torque mode · periodic during AP and on new warnings
Waveform
Choose the generated right-scroll sequence
TSL9 Sequence
Choose warning states
Entire AP session
Keep Hands-On downgrade active
TSL9 Input Assist
Warning-only · random 2–3 s · +1 / 0 / −1 / 0
Periodic Right Speed
Keep warning assist · add a regular AP-active injection
Legacy TSL9 Route
One route only · Chassis state observation remains active
Pause While Stopped
Torque mode · pause at confirmed 0 km/h
Mode
NAG MODE
Choose injection behavior
MODE —
BEHAVIOR
MODE —
Select a mode
The selected mode behavior will appear here.
Live monitor
NAG Continuity Monitor
Current AP-session TX continuity and skip/block reasons. AP state uses validity, not an age timeout.
AP state / validity—
Last TX / max gap—
Session TX OK0
TSL9 RX / modified / TX OK / FAIL0 / 0 / 0 / 0
Last skip—
Vehicle speed / gate—
Mode H phase / motion—
Mode H event—
Mode H output—
Skip stopped / speed stale0 / 0
Skip AP invalid / inactive / HO>10 / 0 / 0
TX block fresh / epoch / mutex0 / 0 / 0
TX block TWAI / send error0 / 0
Last TX block—
ADVANCED PARAMETERSValues are loaded from the selected preset.
TORQUE TABLE · B2 / B3 / Nm
Settings
Visual Speed Control
Applies during Autopilot · default OFF
Disable Visual Speed Control
Default OFF
Injection Bus
Choose the CAN bus for this request
Saved Body is unavailable for this topology. Select Chassis to use this request.
Request state—
Stock → requested bit49— → —
Selected bus · RX / age—
TX OK / FAIL0 / 0
Requests 0x3FD MUX1 bit49=0 while fresh AP state is active. OFF preserves stock. Vehicle acceptance and sign-related slowing effects are unverified.
Loading saved settings…
Settings
Summon Status
View detected Summon activity, gear and source signals.
SessionIDLE
Priority stateNORMAL
Profile route—
Confirmed gear—
ACA / SPR freshness—
Remote startup evidence—
R79 manual latch—
Summon load shedding—
TX queue now / max—
Shed total / PARK / READY / ACTIVE—
R79 retry scheduled / OK / FAIL / exhausted—
Emergency flush / retry OK / FAIL—
RX 0x118 / 0x186 / 0x399 / 0x3F8—
Settings
R79 Mode
Configure R79 timing, behavior and bit policy.
V12 / V13 HW3
Legacy Model 3 / Y · OFF: bit47 FORCE 1 · ON: STOCK
Loading saved settings…
R79 bit47 · RX → TX—
AP CONTROL
Set R79 behavior during AP and manual driving independently.
R79 AP Control
OFF keeps the default AP behavior
Allow R79 During Manual Driving
Separate setting · default OFF
AP Policy
Gate state—
Remaining—
ON bypasses only manual D/R suppression. Existing AP policy and transport safety remain active.
Loading saved settings…
R79 bit18
Default STOCK
Mode 1 MUX1 TX
2 ms WAIT
Mode 1 Post-MUX2 reinjection
Send once after MUX2
R79 Timing Capture
Loading…
Records / capacity0 / 32768
Dropped records0
Elapsed0.0 s
R79 RX and enqueue timing, delay/gate reasons, and physical CAN 2 driver errors share one CSV. Software observations do not confirm delivery or causality. Loss and import warnings identify incomplete evidence. Stop before downloading. A new Start replaces the previous recording.
Settings
Country / Map
All vehicle profiles with a valid CAN topology. Overrides follow fresh stock frames on the same bus while R79 is ACTIVE. Vehicle behavior remains unverified.
Country preset
Applies while R79 is active
Map region
Choose the map region independently of country
Loading saved settings…
R79 GATE
—
TX OK / FAIL
—
RX 0x238 / 0x7FF A / B—
Gate-blocked target frames—
Last TX attempt—
Country and map region can be selected independently. Country STOCK preserves the original values; US selects 840 / US, KOREA 410 / KR, and NEW ZEALAND 554 / NZ. Map STOCK preserves the original region; US selects 0 and KOREA 7. Country affects 0x238 and 0x7FF page 1; map region affects only 0x7FF page 3. Left/right-hand-drive and invalid or unknown stock values are preserved.
0x238 route: Model YL · CAN B VH; standard Body + Chassis · CAN A Body and CAN B Chassis; standard Party + Chassis · CAN B Chassis. 0x7FF follows actual RX on CAN A or B. No frame is created for a missing stock source.
R79 Stock Monitor
Read-only values from the latest real CAN B 0x3FD MUX1 frame.
STOCK BIT19
—
STOCK BIT47
—
Template / age / RXWAITING FOR 0x3FD MUX1
Stock raw—
Monitoring only. Values are sampled before the R79 overlay applies bit19=0 and the selected bit47 policy.
Settings
About
Firmware Version:
Developers:
LP_YL, XBmod, Frizull, 3dfx, SupXL
Source Code:
https://github.com/06066060606060/P4can-universal-unlock
Project Discord:
https://discord.gg/u8AvvVbJSm
Settings
SmartShift
Experimental automatic shifting · brake confirmation required
Automatic shifting
Allow BODY gear requests after brake confirmation
Require seat belt
Block requests when the seat belt is not confirmed
D/R steering confirmation
When no radar or vehicle candidate is available
Park steering selection
Select D/R by steering movement while holding the brake
D/R obstacle steering confirmation
Require steering movement for radar candidates in D/R
Protocol
Speed source
Execution state—
Candidate / source—
Gate / reason—
Requests / confirmed / failed—
Request templates V12 / V13–14—
A new brake press is required for each request. Unsupported routes and stale inputs block execution. Park steering selection is calibrated only for Model Y Legacy.
Source by kl79613
Settings
Battery Preheating
Battery preheat and thermal status.
Preheat
Battery pack
Battery Preheating
Preheat before charging
Loading…
Auto-off Target
Stop at average
PACK TEMP—
HEAT POWER—
COOLANT—
STATOR HEAT—
BMS Heating State
Waiting for BMS frames…›
WAIT
BMS_thermistorTAvg
0x332 m0 · —
—
BMS_maxPackTemperature
0x312 m0 · —
—
BMS_activeHeatCellTargetT
0x312 m1 · —
—
VCFRONT_hpBattHeatingPowerTrgt
0x3A1 m1 · —
—
BMS_flowRequest
0x312 m0 · —
—
VCFRONT_pumpBatteryRPMActual
0x201 · —
—
VCFRONT_tempAmbient
0x321 byte3 · —
—
DIF_heatPowerActual
0x2E5 DIF · —
—
DIR_heatPowerActual
0x266 DIR · —
—
BMS_maxStationaryHeatPower
0x252 · —
—
srcRaw
trip frame the car sent
—
lastTxRaw
frame actually transmitted
—
TX
accepted frames · longest gap
—
Reply
answers / car frames · max delay
—
Heat drops
all · within 3 s of a car frame
—
Loop
reply breaker · max 5 / s
—
Thermal
coolant loops›
—
Supermanifold Powertrain Loop Battery Loop Ambient Air: — Radiator RadiatorHealth: — Radiator FanRPM: — LCCRefrigerant ChillerRefrigerant Coolant valve — PT PumpRPM: — Battery PumpRPM: — PT Loop InletTemp: —Flow: — CoolantBottle BatteryLoop InletTemp: —Flow: — PCSDCDC——Charger Front Drive Inverter— Rear Drive Inverter— Autopilot——Infotainment HV BatteryMax——Min
Settings
Service mode
TLSSC Restore
This option can result in a ban
Restore TX OK / FAIL—
Loading…
TLSSC Restore is saved across power cycles. Service Mode entry is sent once and is never replayed automatically.
Settings
Auto Lane Change Enable
Allow auto lane change with blinker on standard AP.
Auto Lane Change Enable · EXPERIMENTAL
0x293 UI_chassisControl · UI_autoLaneChangeEnable bits 24–25 → raw 1 · AP active
0x293 TX Target
Independent from Confirm-Free 0x3F8 target · same-bus stock template only
AP GATE
OFF
STOCK A / B
— / —
CAN A stock / age / RX—
CAN B stock / age / RX—
0x293 TX A OK / FAIL—
0x293 TX B OK / FAIL—
Gate-blocked A / B—
Last forced TX—
Loading…
Settings
FSD Visualisation
Experimental, this settings will block AP Activation
Enable FSD injections
Suspend FSD during AP
Suspend FSD Visualisation during AP. Resume on confirmed AP exit.
Enable "FSD Visualisation"
Read on bus: —
TX OK / FAIL—
Loading…
This setting enable FSD visualisation in non approved region, (FSD subscription required)
Settings
TLSSC
Set the traffic-light and stop-sign control flag during AP. Highway and NOA options release the override when blocked.
Enabled
AP active only
Block on Highways
Pause TLSSC on confirmed controlled-access roads
Pause TLSSC During NOA
Keep TLSSC in Autosteer; release it when NOA starts
Road Context Monitor
0x238 UI_driverAssistMapData reference interpretation. Freshness limit 2 s.
0x238 status / age—
GPS Road Match—
Road Class—
Controlled Access—
Off Ramp L / R—
Highway confirmed—
TLSSC Highway Gate—
Blocked mux0 frames—
Highway transitions—
TLSSC ownership / clear—
Clear TX OK / FAIL0 / 0
SETTINGS
Lane Change
Configure confirmation, off-highway flags and the blind-spot setting. Controls share one CAN B output.
Confirm-Free Lane Change
Auto Blinker is inactive while Confirm-Free Lane Change is on.
Apply Before AP Starts
OFF · AP ACTIVE ONLY · current/default behavior
INJECTION GATE
—
STOCK / FORCED BIT1
—
TX CAN B OK / FAIL—
Total TX OK / FAIL—
Last forced TX / age—
Gate-blocked—
CAN B · CHASSIS · bit1 / Hz / age / RX—
CAN B · CHASSIS · raw—
Off-Highway ALC
Set the off-highway ALC flag while AP is active
ULC Off-Highway
Override the off-highway ULC flag during AP
ULC Blind Spot
Select the ULC blind-spot configuration during AP
COMPOSITOR GATE
—
0x3F8 TX OK / FAIL
—
Stock ULC Blind Spot—
0x3F8 RX age—
0x3F8 gate-blocked frames—
Off-Highway TX OK / FAIL—
Confirm-Free clears 0x3F8 bit 1. ULC Off-Highway controls bit 15, ULC Blind Spot controls bits 52–53, and Off-Highway ALC controls bit 56. One CAN B compositor applies the selected fields to each fresh stock frame.
SETTINGS
Pedal Response
Select the acceleration response for this drive. It clears in Park or after a controller restart.
Drive Response
Applies immediately · STOCK uses the vehicle setting
STOCK 0x334
—
SESSION TARGET
STOCK
SESSION ORIGIN
—
TOTAL TX OK / FAIL
0 / 0
Immediate one-shot TX OK / FAIL0 / 0
Stock-follow TX OK / FAIL0 / 0
0x334 age / blocked—
Pedal Response sends one immediate best-effort 0x334 one-shot from the freshest stock template when the selector changes, then remains a volatile drive-session override using the normal stock-follow overlay. Selecting STOCK releases it immediately. CHILL, SPORT and PERFORMANCE remain armed for the current drive and are cleared by a positively observed Park gear or by P4-CAN reboot. CAN recovery does not write or restore a PedalMap value. AP Accel / Regen is now configured under Settings. When it is active it temporarily owns outgoing 0x334; the manual session target remains in RAM and resumes after AP exits.
Settings
Continuous AP
Re-engage AP after a signaled lane change when the vehicle is ready.
Enabled
Use the selected AP input method.
Re-engage Method
Match your vehicle setting
StatusLoading…
Waiting / blocked—
Signal readinessLoading…
Last cancellation—
Attempts—
Inputs sent / failed—
RX signal details›
AP—
Turn signal—
Brake—
Gear—
Steering torque—
Selected input—
Available means the required signals are fresh and valid. It does not mean AP is ready to engage or that an input was accepted.
Loading vehicle capabilities…
Stalk Down pulls the stalk down twice. Choose the click or double click method that matches your vehicle's Autopilot activation setting.
Loading settings…
Settings
AP Accel / Regen
Use CHILL acceleration and your selected regen setting during Autosteer or NOA. The manual drive response resumes after AP exits.
AP Accel / Regen
Use CHILL acceleration and selected regen during AP.
Regenerative Braking
Applies with the next vehicle CAN frame
AP ownership—
Selected regen—
Production feature. A manual LAB PedalMap target remains RAM-only and resumes after AP Accel / Regen releases 0x334.
Settings
CAN GPIO
Set physical CAN pins. Changes apply after reboot. GPIO numbers are not connector pin numbers.
Open to load the active mapping.
CAN 1 · BODY
Active pins unavailable
CAN 2 · CHASSIS
Active pins unavailable
CAN 3 · PARTY
Active pins unavailable
GPIO0–54 are supported. In use: 6, 14–19, 24–25, 54 (C6 / USB). Each pin can be used only once. Check onboard wiring and I/O voltage; change wiring with power off. Feature and setup resets preserve this mapping; Factory Reset clears it.
Settings
Wireless
Manage Bluetooth, automatic S3XY reconnection and the dashboard Wi-Fi connection.
Bluetooth Master
Instant on/off · pairings saved.
—
S3XY Auto Connect
Reconnects saved buttons automatically.
Wi-Fi
Dashboard access point
ON · Dashboard AP
Registered Buttons
Saved S3XY registry
0
WI-FI ACCESS POINT
Wi-Fi settings are saved in NVS and preserved by Reset Feature Settings. Applying a change restarts only the access point, not CAN, BLE or the MCU. Reconnect to the new Wi-Fi if iPhone Auto-Join is disabled; the dashboard will resume automatically.
BLUETOOTH DATA
Reset Bluetooth Data
Remove all S3XY devices, action mappings, BLE bonds and cached discovery data, then restart P4-CAN.
›
Bluetooth Master and Global Auto Connect settings are preserved. Bluetooth must be ON to fully remove the controller's BLE bond database.
Settings
Firmware Update
Upload an Arduino application .bin. P4-CAN reboots automatically after a successful flash.
No file selected
Choose a firmware file to upload.
Settings
Diagnostics
Check controller health, Bluetooth and CAN communication. Recovery actions are listed below.
ESP32-P4 · ESP-Hosted C6 · 3 native CAN controllers. Open a category to refresh its live values.
ACTIONS
Reset Stats clears application counters and stored BUS OFF evidence; RX totals and driver counters remain. Reinitialize restarts all three CAN controllers and resets their driver counters.