DuinrahaicDuinrahaic
ConfigurationDebug

Console Commands

Console commands available in FitOSC for debugging and testing

Console commands directly override app functionality and bypass normal application logic. Do not use them while FitOSC is actively running a session. These are intended for advanced diagnostics only.

Press Ctrl+Shift+I to open the developer console, then use the Console tab to enter commands.

Treadmill Control

CommandDescription
FitOSC.scanTreadmills(5)Scan for treadmills. Optional: duration in seconds, default 5.
FitOSC.getDeviceInfo()Show services and characteristics of the connected device.
FitOSC.connectTreadmill('DeviceName', 'FTMS')Connect to a treadmill.
FitOSC.disconnectTreadmill()Disconnect from the current treadmill.
FitOSC.startTreadmill()Start workout.
FitOSC.stopTreadmill()Stop workout.
FitOSC.setSpeed(5.0)Set speed in km/h.
FitOSC.setIncline(2.5)Set incline percentage.

State Management

CommandDescription
FitOSC.setBluetoothStatus('Connected')Set BT status. Values: Disconnected, Connecting, Connected, Error.
FitOSC.setWalkingMode('Dynamic')Set walking mode. Values: Disabled, Dynamic, Override.
FitOSC.getAppState()Get current app state as JSON.

OSC

CommandDescription
FitOSC.sendOSC('/input/Vertical', '1.0')Send an OSC message.
FitOSC.restartOSC()Restart the OSC service and rediscover VRChat.
FitOSC.clearOSC()Reset all OSC endpoints to default 0.0.

VR

CommandDescription
FitOSC.reconnectVR()Reconnect to SteamVR.
FitOSC.disconnectVR()Disconnect from SteamVR.

Walking

CommandDescription
FitOSC.getWalkingInfo()Show walking mode, VR tracking, counter-steering, and output values.

Other

CommandDescription
FitOSC.help()Show the help reference.