WebSerial Test Interface

Available Commands

WiFi Commands

  • {"command": "wifi_scan"} - Scan for available WiFi networks
  • {"command": "wifi_saved"} - List saved WiFi networks
  • {"command": "wifi_current"} - Get current WiFi connection
  • {"command": "get_ip"} - Get local IP address
  • {"command": "wifi_connect", "ssid": "network_name", "password": "pass"} - Connect to a network
  • {"command": "wifi_forget", "uuid": "network_uuid"} - Forget a saved network

Configuration Commands

  • {"command": "config_read", "config_type": "display_env", "verbose": true} - Read config with examples
  • {"command": "config_read", "config_type": "display_env"} - Read config (simple)
  • {"command": "config_get", "config_type": "display_env", "key": "debug_port"} - Get single value
  • {"command": "config_set", "config_type": "display_env", "key": "debug_port", "value": "5002"} - Set value
  • {"command": "config_update", "config_type": "display_env", "content": "..."} - Update entire file

Available Config Types

  • display_env - Display program .env file
  • transit_env - Transit program .env file
  • transit_local - Transit program local.py config
Status: Disconnected