跳到正文

正在自动登录…

← 返回项目列表

a-funk/open-appleremote

遥控器使用手势识别语音录制

在Linux上使用初代Apple Siri Remote(A1513/A1962)的工具,可解锁、解码触摸和按键、识别tvOS风格手势,并可选提供虚拟键盘功能。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/17 09:31:09 · 查看原文

值得看Python应用与服务
累计 Stars
239
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/17 09:31:09

使用方式

通过命令行使用,提供list、monitor、gestures、lab、keys、voice等子命令。

查看 README 依据
[bluetooth]# scan on [bluetooth]# pair AA:BB:CC:DD:EE:FF [bluetooth]# trust AA:BB:CC:DD:EE:FF [bluetooth]# connect AA:BB:CC:DD:EE:FF [bluetooth]# scan off ``` **2. Let your user read it** (once), instead of running everything as root: ```sh sudo cp udev/71-appleremote.rules /etc/udev/rules.d/ sudo udevadm control --reload && sudo udevadm trigger ``` Then press a button on the remote. The rules file explains the options for `/dev/uinput` and for headless machines. **3. Watch it:** ```sh python3 -m appleremote list # finds the remote's hidraw node
python3 -m appleremote monitor # decoded events, one JSON object per line python3 -m appleremote gestures # tvOS-style moves, tilts and buttons python3 -m appleremote lab # live web lab: open http://127.0.0.1:8791 sudo python3 -B -m appleremote voice --out voice/ # each Siri press as a WAV file: see Voice ``` The lab listens on 127.0.0.1 only. On a headless machine, forward it with `ssh -L 8791:127.0.0.1:8791 <host>` and open the same address on your computer. **4. Use it as a keyboard:** ```sh python3 -m appleremote keys ```
部署要求

需要Linux系统,BlueZ(默认启用hog插件),Python 3.8或更高版本。语音功能需要libopus解码器。

查看 README 依据
project's recorded gen-1 frames. Reports are welcome (see [CHANGELOG.md](CHANGELOG.md)). ## Quick start You need Linux with BlueZ (its `hog` plugin is on by default) and Python 3.8 or newer. There is nothing to install: clone the repository and run the commands below from its top directory. **1. Pair the remote** (once). Hold **Menu + Volume Up** for about 5 seconds next to the computer, then pair it in `bluetoothctl`. After `scan on`, the remote shows up named after its serial number; use its address: ```text $ bluetoothctl [bluetooth]# agent NoInputNoOutput [bluetooth]# default-agent
recognizer, and prints a line per press. A quick try, on Linux, with the udev rule of Quick start in place: ```sh sudo apt install libopus0 # the decoder (Debian, Ubuntu); nothing else needs it sudo python3 -B -m appleremote voice --out voice/ # Ctrl-C to stop; -B: no root-owned __pycache__ in your clone ``` ```json {"kind": "press", "wav": "voice/siri-20261011-201500-01.wav", "frames": 213, "lost": 0, "held": 163, "seconds": 4.26, "level": 21034, "ended": true} ```
已知限制

仅支持初代Siri Remote(A1513/A1962),不支持第二代和第三代。语音功能尚未正式发布,虚拟键盘未经过硬件测试。

查看 README 依据
0.1.0 code passed there: `list`, `monitor` and `lab` as a normal user through the udev rule, and the reconnect after sleep once LE privacy is off. The virtual keyboard (`keys`) isn't hardware-tested yet. - **Should work, untested**: the A1513 (the original gen-1 remote, which the A1962 is a variant of) and other Linux machines with a recent BlueZ. Reports welcome. - **Not supported yet**: Siri Remote gen 2 and gen 3. Per the prior art they use other report IDs and another unlock ([sources](docs/PROTOCOL.md#other-remotes)). `list` shows them as another Apple device.
- **Voice** (`voice`, not released yet): tested on synthetic frames, and its decoding on the recorded gen-1 frames of [Jack-R1/SiriRemoteVoiceDecoder](https://github.com/Jack-R1/SiriRemoteVoiceDecoder), replayed. It hasn't run live in this package yet. It ports code from the private project this package came from, which picked exactly the remote's whole voice frames out of a btmon capture of an A1962. - Live use is Linux-only (hidraw, uinput, the HCI monitor); `--replay` and the tests run anywhere. ## Limitations

README

正在加载 README…

收录信息

仓库创建时间
2026/10/9 17:16:53
首次达标收录
2026/10/10 09:27:33
统计更新时间
2026/10/22 19:05:58

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.9 / 5

新颖度
3.9
实用价值
3.9
成熟度
4.0
实质含量
4.0

由 Jev 模型根据仓库描述与 README 评估,2026/10/17 09:31:18 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/12 12:16:24
许可证标识
MIT
Fork 数
11
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目