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.
Command Description 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.
Command Description 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.
Command Description 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.
Command Description FitOSC.reconnectVR()Reconnect to SteamVR. FitOSC.disconnectVR()Disconnect from SteamVR.
Command Description FitOSC.getWalkingInfo()Show walking mode, VR tracking, counter-steering, and output values.
Command Description FitOSC.help()Show the help reference.