/major-ai-skills:omada-controllerfrom major-ai-skills
Manage TP-Link Omada controller workflows with the REST OpenAPI, device adoption, and VLAN or VPN configuration.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
TP-Link Omada SDN Controller is a centralized software-defined networking platform managing Omada EAP wireless access points, JetStream managed switches, and SafeStream/Omada multi-WAN VPN gateways. Powered by a Java OpenJDK daemon and an embedded MongoDB database, Omada exposes an authenticated HTTPS REST OpenAPI (/api/v2) and maintains southbound device control via dedicated UDP/TCP ports (UDP 29810 Discovery, TCP 29811 Management, TCP 29812 Adoption, TCP 29813 Heartbeat, TCP 29814 Upgrade). Claude operates as a Principal Network Systems Architect and SDN Automation Engineer, specializing in REST OpenAPI automation, Layer 3 remote adoption (set-inform), 802.1Q VLAN trunking, and MongoDB database recovery.
┌─────────────────────────────────────────────────────────────┐
│ Omada SDN Controller Stack │
│ │
│ Northbound Management & API Ingress │
│ ├── HTTPS Web Management Console (Port 8043) │
│ ├── REST OpenAPI v2/v3 (`/api/v2/login`, Site Operations) │
│ └── Cloud Portal Gateway (Omada Cloud Management Bridge) │
│ │
│ SDN Controller Core & Persistence │
│ ├── Java Application Daemon (`/opt/tplink/EAPController`) │
│ ├── MongoDB Database Backend (Device State, Client Logs) │
│ └── 802.11k/v/r Fast Roaming & AI WLAN Mesh Coordinator │
│ │
│ Southbound Device Communication Layer │
│ ├── UDP 29810 (Device Discovery Broadcasts) │
│ ├── TCP 29811/29813 (Device Management & Heartbeat Keepalive│
│ └── TCP 29812/29814 (Device Adoption, Firmware Upgrade) │
└─────────────────────────────────────────────────────────────┘
omada_token), and programmatically retrieve device inventories, client connection stats, and switch port configurations.set-inform http://<controller_ip>:29812/inform).mongod.lock) and execute database compaction.Save this script as omada_api_client.py (requires pip install requests urllib3):
"""
TP-Link Omada SDN Controller REST API Client
Authenticates with controller, extracts active site ID, device states, and connected clients.
"""
import sys
import requests
import json
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
CONTROLLER_URL = "https://192.168.1.50:8043"
USERNAME = "admin"
PASSWORD = "SecurePassword123"
class OmadaController:
def __init__(self, base_url: str = CONTROLLER_URL):
self.base_url = base_url.rstrip("/")
self.session = requests.Session()
self.session.verify = False
self.token = None
self.omada_id = None
def login(self, username: str = USERNAME, password: str = PASSWORD):
print(f"--- [AUTHENTICATING WITH OMADA CONTROLLER: {self.base_url}] ---")
# 1. Obtain Controller ID / Info
info_res = self.session.get(f"{self.base_url}/api/v2/info")
if info_res.status_code == 200:
self.omada_id = info_res.json().get("result", {}).get("omadacId")
login_url = f"{self.base_url}/api/v2/login"
payload = {"name": username, "password": password}
res = self.session.post(login_url, json=payload)
if res.status_code == 200 and res.json().get("errorCode") == 0:
result = res.json().get("result", {})
self.token = result.get("token")
self.session.headers.update({"Csrf-Token": self.token})
print("✅ Authentication successful!")
else:
print(f"🚨 Login failed: {res.text}")
sys.exit(1)
def get_devices(self, site_id: str = "Default"):
url = f"{self.base_url}/api/v2/sites/{site_id}/devices"
res = self.session.get(url)
if res.status_code == 200:
devices = res.json().get("result", [])
print(f"\n--- [OMADA MANAGED DEVICES: ({len(devices)})] ---")
for d in devices:
name = d.get("name", "Unnamed")
model = d.get("model", "Unknown")
mac = d.get("mac", "")
ip = d.get("ip", "")
status = "CONNECTED" if d.get("status") == 1 else "OFFLINE"
print(f"• [{status:<9}] {name:<20} | Model: {model:<12} | IP: {ip:<15} | MAC: {mac}")
else:
print(f"Failed to fetch devices: {res.text}")
if __name__ == "__main__":
controller = OmadaController()
controller.login()
controller.get_devices()
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
Device Stuck in Adopting or Pending State | Southbound TCP ports 29811-29814 blocked by host firewall or device is on a different L3 subnet without Inform URL. | 1. SSH into AP/Switch (default admin/admin).2. Run: set-inform http://<Controller_IP>:29812/inform.3. In host OS, open ports: sudo ufw allow 29810:29814/tcp && sudo ufw allow 29810/udp. |
Controller Service Fails to Start: MongoDB Error | Improper shutdown left lock file mongod.lock intact or database journal corrupted. | 1. Stop service: sudo tesseract stop or systemctl stop omada.2. Remove lock: sudo rm -f /opt/tplink/EAPController/data/db/mongod.lock.3. Repair: mongod --dbpath /opt/tplink/EAPController/data/db --repair.4. Restart service. |
| Wi-Fi Clients Experience Roaming Drops | Fast Roaming (802.11k/v/r) disabled or 2.4GHz/5GHz transmit power set too high, preventing handoff. | In Controller Settings $\rightarrow$ Wireless Networks $\rightarrow$ Advanced, enable 802.11r Fast Roaming and reduce 2.4GHz Tx power to Medium/Low. |
| SSL / HTTPS Security Warning on Port 8043 | Controller using default self-signed SSL certificate. | In Controller Settings $\rightarrow$ Maintenance $\rightarrow$ SSL Certificate, import custom Let's Encrypt / Enterprise PKCS#12 certificate. |
# 1. Inspect Omada Controller Daemon Logs (Linux)
tail -f /opt/tplink/EAPController/logs/server.log
# 2. SSH into EAP / Switch and Set L3 Adoption Inform URL
ssh [email protected] "set-inform http://192.168.1.50:29812/inform"
# 3. Restart Omada Controller Service on Linux
sudo systemctl restart tpeap.service
/opt/tplink/EAPController/ (Linux) or C:\Program Files (x86)\TP-LINK\Omada Controller\ (Windows)/opt/tplink/EAPController/logs/server.log/opt/tplink/EAPController/data/db/MANDATORY: For Layer 3 remote site deployments, verify that TCP ports 29811-29814 and UDP port 29810 are forwarded through the edge firewall before troubleshooting adoption timeouts.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job