Deliver button release events for the Smatek S9E function keys
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start by tracing the S9E accessibility onKeyEvent path and EvdevStreamSession, which the issue identifies as dropping release events. Check how the button event entity defines its fixed event-type list and how per-panel hardware profiles scope button handling. Done means F1–F4 release events reach Home Assistant for the S9E without duplicate reports, while existing press events remain compatible; the event naming and scoping decisions are open.
索引モデルが issue の本文から書いたものです。
説明
What problem would this solve?
On the Smatek S9E, the four function keys (F1–F4) currently report to Home Assistant only on press - event.<panel>_button fires keycode_fN on the down edge, and the release is dropped. I'd like release reported too, so automations can do press-and-hold / momentary actions with these keys.
Confirmed feasible on hardware: the S9E's adc-keys device emits both edges - getevent -l /dev/input/event3 shows a DOWN then UP for each of F1–F4. The release just isn't surfaced: EvdevStreamSession emits only value==1 for keys, and the accessibility onKeyEvent path forwards only DOWN.
Proposed solution
I drafted the code changes locally but decided against a PR since there are two decisions which i would like leave to you:
-
Event shape - the button channel is an HA event entity with a fixed, descriptor-driven event-type list (flat string, no attributes), so a distinct type per edge seems to fit: keep
keycode_f1on press (backward-compatible) and add e.g.keycode_f1_released. Your call on the convention. -
Scope - I only want this for the S9E's F1–F4, not fleet-wide. The S9E currently surfaces these via the generic accessibility path (
evdev_buttons: []), which has no per-panel scoping; declaring them asevdev_buttonswould scope it per-profile but may double-report against the a11y path. I'd rather you pick the cleanest approach.
Panel hardware (if hardware-specific)
Smatek S9E
Hardware control path (for hardware features)
EV_KEY KEY_F1 DOWN
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F1 UP
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F2 DOWN
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F2 UP
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F3 DOWN
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F3 UP
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F4 DOWN
EV_SYN SYN_REPORT 00000000
EV_KEY KEY_F4 UP
EV_SYN SYN_REPORT 00000000
- 主要言語
- Kotlin
- スター
- 63
- フォーク
- 5
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
panel-assistant/android のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
panel-assistant/android#224 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
panel-assistant/android#223 ·
メンテナーはふだん 1 日以内に返信
-
NSPanel Pro 86P - unknown zigbee gateway対応中かも @maxlyth が 2 日前に担当しました。 オープンbug in progress
panel-assistant/android#222 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Feature Request: Local relay control in offline mode対応中かも @maxlyth が 4 日前に担当しました。 オープンbacklog enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
panel-assistant/android#220 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Smatek S9E PoE issues再び着手できるかも @maxlyth が 34 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement in progress
panel-assistant/android#197 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
panel-assistant/android の issue をすべて見る
似ている issue
-
F-Droid FOSS question
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
d4rken-org/butler#365 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
maxrave-dev/SimpMusic#2992 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MetrolistGroup/Metrolist#5484 ·
メンテナーはふだん 1 日以内に返信
-
Streaming repair closes ~~ with strikethrough off (streamingRepairOptions never sets strikethrough)オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
software-mansion/enriched-markdown#1265 ·
メンテナーはふだん 1 日以内に返信