បង្កើតតេឡេបញ្ជាម៉ាស៊ីនត្រជាក់សាមញ្ញដោយខ្លួនឯង សម្រាប់ប្រើជំនួស app ដែលដើរយឺត
Claude Code ពិនិត្យរកការបញ្ជាម៉ាស៊ីនត្រជាក់ផ្លូវការជាមុន មុនពេលវាសិក្សាម៉ាស៊ីនរបស់អ្នក។
របៀបប្រើ
- ចម្លង prompt។
- បិទភ្ជាប់ prompt ចូលក្នុង Claude Code។
- ប្តូរអក្សរក្នុងតង្កៀប ដោយម៉ាក និងម៉ូដែលឧបករណ៍។
- ឈប់ បើម៉ាស៊ីនគ្មាន Wi-Fi ហើយដើរតែជាមួយរីម៉ូត។
I want to control my own [device brand and model] from my Mac. 1. First ask me whether it has Wi-Fi and can be controlled from a phone app. If it only works with an infrared remote, stop and tell me. 2. Check whether the vendor offers an official API, or a ready-made integration for a smart home platform like Home Assistant or Matter. If one exists, use it and stop there. 3. If none exists, use REA to analyze this device's official app. Look only at how the app talks to the device, and work out what it sends for power, temperature, fan speed and mode. If you need tools like an Android emulator or Ghidra, tell me where to get them, and don't install them yourself. Don't touch anyone else's account, and don't bypass any login or encryption. 4. Back every conclusion with evidence, and keep what you saw separate from what you're guessing. 5. Once it's clear, wrap it in an MCP first, then build a Mac menu bar app on top of it. Show me the plan first, and only write code after I approve.
អានបន្ថែម
សង្ខេប
Vox (@Voxyz_ai នៅលើ X) បានចែករំលែក prompt នេះសម្រាប់អ្នកដែលមានម៉ាស៊ីនត្រជាក់ដែលដំណើរការបានតែតាមរយៈកម្មវិធីទូរសព្ទមិនសូវល្អ។ ដំបូង Claude Code នឹងពិនិត្យមើលថាតើមាន API ផ្លូវការ ឬការតភ្ជាប់ជាមួយ Home Assistant ឬ Matter ដែរឬទេ។ លុះត្រាតែគ្មានជម្រើសទាំងនេះទេ ទើបវាប្រើប្រាស់ឧបករណ៍ REA ដើម្បីសិក្សាពីរបៀបដែលកម្មវិធីផ្លូវការនោះទាក់ទងទៅកាន់ម៉ាស៊ីនត្រជាក់របស់អ្នក។
វាស្វែងរកពាក្យបញ្ជាសម្រាប់ថាមពល សីតុណ្ហភាព ល្បឿនកង្ហារ និងមុខងារផ្សេងៗ ដោយមានភស្តុតាងបញ្ជាក់ច្បាស់លាស់ រួចរៀបចំវាទៅក្នុង MCP និងបង្កើតប៊ូតុងបញ្ជានៅលើ menu bar របស់ Mac ដោយបង្ហាញគម្រោងឱ្យអ្នកមើលមុននឹងចាប់ផ្តើមសរសេរ code។ សូមប្រើប្រាស់វាចំពោះតែឧបករណ៍ដែលជារបស់អ្នកផ្ទាល់ និងពិនិត្យមើលលក្ខខណ្ឌរបស់ក្រុមហ៊ុនផលិតជាមុនសិន។
សម្រាប់កម្ពុជា
នៅកម្ពុជាអាកាសធាតុក្តៅ ម៉ាស៊ីនត្រជាក់ត្រូវបើកពេញមួយថ្ងៃទាំងនៅផ្ទះ និងកន្លែងធ្វើការ ប៉ុន្តែ app របស់ម៉ាស៊ីនត្រជាក់ខ្លះគឺពិបាកប្រើ។ ការមានប៊ូតុងបញ្ជាលើកុំព្យូទ័រដែលអ្នកកំពុងប្រើស្រាប់ ជួយសន្សំសំចៃពេលវេលាបានច្រើន។
កំណត់ចំណាំ
កំណត់សម្គាល់
Original prompt by Vox (@Voxyz_ai on X), posted 13 Oct 2026: https://x.com/Voxyz_ai/status/2110113349857943747 (read via a public mirror). He credits the idea to people who had already turned their AC into an MCP, such as @the_mcnaveen. The prompt uses REA (https://github.com/morluto/rea) and is quoted verbatim. Found via Nick Saraev's Maker Zero lesson 1 (https://www.youtube.com/watch?v=KDyPHt4lW60). Title, summary and why are in our words.
ប្រភព
បើកប្រភពដើម។
https://x.com/Voxyz_ai/status/2110113349857943747 (បើកផ្ទាំងថ្មី)
កំណត់សម្គាល់ពីប្រយោគបញ្ជា
សូមដាក់ម៉ាក និងម៉ូដែលម៉ាស៊ីនត្រជាក់របស់អ្នកនៅក្នុងវង់ក្រចក។ prompt នេះគឺសម្រាប់ Mac ហើយតម្រូវឱ្យដំឡើងឧបករណ៍ REA នៅក្នុង Claude Code ជាមុនសិន (ដំណើរការ npx rea-agents setup)។ សូមប្រើប្រាស់វាចំពោះតែលើឧបករណ៍ផ្ទាល់ខ្លួនរបស់អ្នកប៉ុណ្ណោះ ហើយរក្សាទុក prompt ជាភាសាអង់គ្លេស។
ប្រភេទដំបូងលើករណីមួយ គឺជាគោលបំណងចម្បង។ ប្រភេទបន្ទាប់ គឺជាស្លាកបន្ទាប់បន្សំ។