360 Secure SkillHub
360 安全技能中心

Fing Local API

该 Skill 提供 Python 辅助脚本,通过环境变量连接 Fing Desktop、Fing Agent 或 Fingbox 的本地 API,输出设备摘要、设备清单和人员/存在信息,并支持原始响应调试。适合家庭网络的只读可达性、在线状态和异常设备检查;不包含写操作或持续监控。

naamah75
naamah75
热度 29.76
最近更新 2026-05-11 17:46:58
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add fing
Metadata
name
fing
description
Query and troubleshoot Fing Local API monitoring agents for local network device inventory, presence, online/offline state, people/presence where supported, and read-only homelab network checks. Use when Fing Desktop, Fing Agent, or Fingbox local API data is needed.

Fing Local API

Use this skill for read-only Fing local monitoring data. Prefer summaries because device lists reveal private network inventory.

Helper

Use the bundled helper:

python3 skills/fing/scripts/fing_helper.py --help

Environment defaults:

  • FING_API_HOST — Fing agent host/IP, default localhost.
  • FING_API_PORT — default 49090.
  • FING_API_SCHEME — default http.
  • FING_API_KEY — API key.

The helper also loads .env from the current workspace directory.

Examples:

# Compact health/device summary
python3 skills/fing/scripts/fing_helper.py summary

# Device inventory summary
python3 skills/fing/scripts/fing_helper.py devices

# Raw API wrapper for debugging
python3 skills/fing/scripts/fing_helper.py devices --raw

# People/presence, Fing Desktop only
python3 skills/fing/scripts/fing_helper.py people

Workflow

  1. Start with summary to verify API reachability and device counts.
  2. Use devices for inventory, online/offline checks, or finding unknown devices.
  3. Use people only when Fing Desktop is expected; Fing Agent/Fingbox may return 503 for this endpoint.
  4. For proactive checks, alert only on actionable changes: API unreachable, auth failure, unexpectedly low/no visible devices, or important device state changes if Igor has defined watch targets.

API reference

Read references/api-summary.md when endpoint details, response fields, or error meanings matter.

Safety notes

  • Do not expose full MAC/IP/name inventories outside Igor's direct context.
  • Do not send detailed device lists proactively unless they indicate a real issue.
  • The documented API is local HTTP with API key in query string; avoid logging command lines or URLs containing the real key.