IoT Monitor

An automation skill for monitoring Internet of Things sensors. Read data from water level sensors, temperature sensors, smart home devices. Supports MQTT via mosquitto CLI and HTTP APIs.

80Trust Medium
by hermeshub-automationautomationintermediatev1.0.0updated Mar 14, 2026
1.8kTotal Runs
91.3%Success Rate
720Installs
80Trust Score

Tags

#iot#sensors#monitoring#mqtt#alerts#environmental#water-level#temperature

Required Tools

bashweb_fetch

Inputs

NameTypeDescriptionReq
actiontextAction: "read_sensor", "set_alert", "get_history"yes
sensor_idtextSensor identifier--
sensor_typetextType: water_level, temperature, humidity--

Outputs

NameTypeDescriptionReq
resultjsonSensor data and alert statusyes

Compatible Skills

SKILL.md

---
name: iot-monitor
description: Monitor IoT sensors and receive alerts for environmental changes.
---

# IoT Monitor

Monitor sensors and track environmental data.

## Quick Start

### Read Sensor via HTTP

```bash
# Read from HTTP sensor
curl "https://api.sensorplatform.com/v1/sensors/lake_level_01/current"
```

### Read via MQTT

```bash
# Subscribe to MQTT topic
mosquitto_sub -h broker.hivemq.com -t "sensors/lake/level" -C 1
```

### Store Reading

```bash
# Log sensor data
cat >> ~/.sensors/readings.jsonl << 'EOF'
{"sensor_id": "lake_level_01", "value": 3.2, "unit": "meters", "timestamp": "2026-03-14T16:00:00Z"}
EOF
```

## Workflow: Lake Water Level

1. **Read**: Check lake level daily via HTTP/MQTT
2. **Analyze**: Compare to baseline (3.5m)
3. **Alert**: If level drops >0.5m:
   - Send Slack message via slack-notifier
   - Call owner via phone-caller
4. **Log**: Store historical data

## Supported Sensors

| Type | Use Case | Typical Range |
|------|----------|---------------|
| water_level | Lakes, tanks | 0-10m |
| temperature | Indoor/outdoor | -40 to 80°C |
| humidity | Basements | 0-100% |

## Alert Channels

- Phone call (critical) → phone-caller
- SMS (high)
- Slack (medium) → slack-notifier
- Email (low) → resend-cli

## Example: Smart Home

1. Temperature sensor reports 30°C
2. Check AC status
3. If AC off → Send alert
4. If critical (>35°C) → Phone call