Skip to content
Back to skills

Edimax Sensor Homeyscript Implementation

ASecurity

Generates HomeyScript code to read and decode data from an Edimax air quality sensor using a specific byte-rotation algorithm and HTTP authentication.

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
developmentjavascriptpythongojavaapi

Works with

  • api

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill edimax-sensor-homeyscript-implementation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Edimax Sensor Homeyscript Implementation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Edimax Sensor Homeyscript Implementation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-edimax-sensor-homeyscript-implementation/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-edimax-sensor-homeyscript-implementation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "8a0b006f-a4d2-44bf-86c1-a7c70e892fc7"
name: "Edimax Sensor HomeyScript Implementation"
description: "Generates HomeyScript code to read and decode data from an Edimax air quality sensor using a specific byte-rotation algorithm and HTTP authentication."
version: "0.1.0"
tags:
  - "homeyscript"
  - "edimax"
  - "sensor"
  - "javascript"
  - "iot"
triggers:
  - "homeyscript example for edimax"
  - "edimax sensor homey"
  - "convert edimax python to homeyscript"
  - "read edimax sensor data"
---

# 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 code in a code block.
- Ensure standard single/double quotes are used (avoid smart quotes).

# Anti-Patterns
- Do not invent API endpoints not implied by the user's context.
- Do not omit the byte-rotation logic.

## Triggers

- homeyscript example for edimax
- edimax sensor homey
- convert edimax python to homeyscript
- read edimax sensor data

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.