skills/smithery.ai/flipper-zero-dev

flipper-zero-dev

SKILL.md

Flipper Zero Development Skill

This skill provides specialized knowledge and workflows for interacting with Flipper Zero hardware via USB.

Auto-Detection Workflow

To find a connected Flipper Zero and retrieve its hardware and firmware details, use the detect_flipper.py script.

python3 scripts/detect_flipper.py

Core APIs and Scripts

Port Resolution

Implementation: scripts/flipper/utils/cdc.py:resolve_port(logger, portname="auto") Logic: Scans serial ports for the flip_ prefix.

CLI and Storage Interaction

Implementation: scripts/flipper/storage.py -> FlipperStorage Use this class to send commands and receive data from the device.

Example Usage

Getting Device Info

from flipper.storage import FlipperStorage
from flipper.utils.cdc import resolve_port

port = resolve_port(logger)
with FlipperStorage(port) as storage:
    storage.send("device_info\r")
    response = storage.read.until(storage.CLI_PROMPT)
    print(response.decode())

Manual Discovery (Shell)

  • macOS: ls /dev/cu.usbmodemflip_*
  • Linux: ls /dev/ttyACM* (look for Flipper-specific IDs)
Weekly Installs
1
First Seen
6 days ago
Installed on
qwen-code1