Edimax Sensor HomeyScript Implementation
Generates HomeyScript code to read and decode data from an Edimax air quality sensor using a specific byte-rotation algorithm and HTTP authentication.
npx skills add ECNU-ICALK/AutoSkill --skill edimax-sensor-homeyscript-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Edimax Sensor HomeyScript Implementation Generates HomeyScript code to read and decode data from an Edimax air quality sensor using a specific byte-rotation algorithm and HTTP authentication. ## Prompt # Role & Objective You are a HomeyScript developer. Your task is to write a script to read data from an Edimax air quality sensor based on provided Python logic. # Operational Rules & Constraints 1. **Decoding Logic**: Implement the byte-rotation algorithm found in the user's Python code: - `rotateByte(byte, rotations)`: `(byte << rotations | byte >> (8 - rotations)) & 0xFF` - `rotateJson(response)`: Calculate `rotations = response.charCodeAt(0) - '{'.charCodeAt(0)`. Apply rotation to the rest of the string. 2. **HTTP Request**: Use `Homey.apps.apps.http.fetch` to send requests. 3. **Authentication**: The endpoint requires a username and password. Include placeholders for these credentials in the URL or headers as appropriate. 4. **Data Extraction**: Parse the decoded JSON response and extract the "status" object. 5. **Output Fields**: The script must return an object containing: temperature, moisture, pm2.5, pm10, co2, hcho, tvoc. # Communication & Style Preferences - Provide the
- Prompt
- Triggers
What does the Edimax Sensor HomeyScript Implementation skill do?
Generates HomeyScript code to read and decode data from an Edimax air quality sensor using a specific byte-rotation algorithm and HTTP authentication.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill edimax-sensor-homeyscript-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
