chengding-level-sensor
读取橙丁物联液位传感器设备状态。使用场景:(1)查询液位传感器在线状态 (2)获取设备开关状态 (3)定时监控液位设备。需要提前配置 key、tel、imei 参数。
Why use this skill?
Integrate Chengding IoT liquid level sensors into OpenClaw. Monitor online status and switch states in real-time with this automated agent skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/devingonggz/chengding-level-sensorWhat This Skill Does
The chengding-level-sensor skill enables OpenClaw AI agents to interface directly with the Chengding IoT ecosystem to retrieve real-time data from liquid level sensors. By leveraging this integration, users can move beyond manual monitoring and empower their agents to autonomously check the status of remote hardware. The skill specifically abstracts the complexities of the official API, allowing the agent to query device online/offline status, identify current relay switch states, and interpret mechanical operational modes (such as closing, opening, or pulsing states). It acts as a bridge between the physical hardware and the agent’s logic, enabling proactive monitoring and automated environment management.
Installation
To add this capability to your agent, execute the following command in your terminal:
clawhub install openclaw/skills/skills/devingonggz/chengding-level-sensor
Once installed, ensure you have your Chengding account credentials ready. You will need to provide the key, tel (associated phone number), and the specific imei of your hardware device to the configuration file or environment variables to allow the agent to authorize and target the correct sensor unit.
Use Cases
- Automated Industrial Monitoring: Set up a background task where the agent polls the sensor every hour. If the status shifts to 'offline' or a unexpected switch state, the agent can trigger an alert or attempt a remote reset.
- Smart Fluid Management: Integrate with irrigation or water tank systems to monitor levels. If the status indicates a 'closed' state when fluid levels are critical, the agent can notify the user or initiate an override.
- Hardware Health Checks: For technicians managing multiple sensors, use the agent to generate summary reports of all online/offline statuses to ensure all remote equipment is responsive.
Example Prompts
- "Check the status of my liquid level sensor (IMEI 12345678) and tell me if it is currently online."
- "Monitor the relay switch status of my sensor; if it reports as closed, let me know immediately."
- "Give me a summary report of my Chengding level sensor's current operation mode."
Tips & Limitations
- Security: Since this skill requires your API key and personal phone number, ensure your environment variables are stored securely and never hardcode them into public scripts.
- Rate Limiting: Be mindful of polling frequencies. Frequent requests to the Chengding API may result in temporary IP blocks. Implement reasonable delays between checks if using the skill in a loop.
- Data Interpretation: The
statusfield is complex and supports multiple states (0-5). Ensure your agent logic handles the 'pulsing' (点动) state carefully, as it represents a transitional phase in the hardware mechanism.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-devingonggz-chengding-level-sensor": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api