AndroidHidUsbRelayControl
Using this example you should able to turn on/off HID USB relays
Install / Use
/learn @gigacycle/AndroidHidUsbRelayControlREADME
AndroidHidUsbRelayControl
Using this example you should able to turn on/off HID USB relays
<img alt="USB Relay 2 Channel Programmable Computer Control For Smart Home 5V H02" src="https://ae01.alicdn.com/kf/HTB1i7UnPVXXXXaRXVXXq6xXFXXXJ/USB-Relay-2-Channel-Programmable-Computer-Control-For-Smart-Home-5V-H02.jpg_50x50.jpg">- Build the project and run it on your Android device
- Connect your USB Relay to your Android device via OTG
- Press 'Refresh' button
- Turn on/off relays
If you want to use another type of HID USB Relays, then you should change the vendorID and productId in the code.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
