Integrations › Agriculture
ThingSpeak (farm sensors)Live
Read soil moisture, temperature, water level or any sensor your ESP32/Arduino sends to a ThingSpeak channel, start a workflow on each new reading, and write values back.
Start a workflow when…
- New sensor reading: Nityaflow checks ThingSpeak (farm sensors) about every 5 minutes and runs once for each new item. The first check only notes what is already there.
Actions
- Latest reading (reads only)
- Recent readings (reads only)
- Send values to the channel (sends or changes data: test runs show what would happen without sending, unless you choose “Do it for real”)
How you connect it
Bot token or webhook address (stored encrypted).
Where to find it: ThingSpeak › Channels › your channel: the Channel ID is at the top; the keys are under 'API Keys'.
You will enter: Channel ID, Read API key (blank for a public channel), Write API key (only to send values).
Example workflows
- New sensor reading in ThingSpeak (farm sensors) → AI writes a short summary → WhatsApp message to the owner
- New sensor reading in ThingSpeak (farm sensors) → add a row to a Google Sheet → weekly email report
- New WhatsApp enquiry → check it → send values to the channel in ThingSpeak (farm sensors), with an approval step first
- Every morning at 9 → latest reading from ThingSpeak (farm sensors) → email a summary
Ready-made ThingSpeak (farm sensors) workflows
Every hour, copy the latest ThingSpeak reading into InfluxDB, for long-term history and Grafana dashboards.
Soil moisture sensor: irrigate alert (ThingSpeak)Every hour, read your soil moisture sensor's recent values on ThingSpeak; when the newest reading drops below 30%, you get one WhatsApp to irrigate (not one every hour).
Water tank low alert (ThingSpeak level sensor)Every hour, read the tank level sensor on ThingSpeak and alert you once when the farm or poultry-shed water tank drops below 20%.
Tank full: switch the pump off (ThingSpeak + Shelly)Every 15 minutes, read the tank level; when it reaches 95%, switch the borewell pump off through its Shelly relay and tell you, so water and power aren't wasted.
Cold room temperature alarm (ThingSpeak)Every 15 minutes, read your cold room's temperature on ThingSpeak and alert once when it rises above 8°C.
Hourly sensor log to Google Sheets (ThingSpeak)Every hour, copy the latest reading from your ThingSpeak channel into a Google Sheet, so you have a farm record you can chart and share.
Limits
- At most 20 reads or 50 sends per step in one run.
- ThingSpeak (farm sensors)'s own rate limits apply; Nityaflow waits and tries again on the next check.
Build a ThingSpeak (farm sensors) workflow free
ThingSpeak (farm sensors) is a trademark of its owner. Nityaflow is not affiliated with or endorsed by ThingSpeak (farm sensors).