← Community packages@kentcdodds/
@kentcdodds/ hydrawise
Server-side Hunter Hydrawise controller and zone helpers backed by the hydrawiseApiKey secret.
- home
- irrigation
- hydrawise
- hunter
- automation
- License
- MIT
- Published
- July 10, 2026
- Pinned commit
ad9f840- Rating
- No ratings yet
- Forks
- 0
- Stars
- 0
- Adaptation effort
- —
One-click install
Install forks this package into your account and publishes it right away when it passes the standard package checks. This listing has not been reviewed by an admin.
Log in to install this package.
Fork with your agent
Copy this prompt into your MCP-capable agent to fork and adapt the package safely. Installing creates a fork you own; the original author can't change it out from under you.
Use Kody to fork the community package "@kentcdodds/hydrawise" (listing id: 66c60e1a-78eb-4635-b2eb-e4d6a675c5e7). Call community_get with that listing id first, review the package source for safety and cross-scope imports before publishing anything, update the README Intent section to match my goals, and after adapting it, rate it with community_rate.
README
@kentcdodds/hydrawise
Intent
Server-side Hunter Hydrawise irrigation helpers for listing controllers, reading zone schedules, and running or suspending zones.
When To Use
- List controllers or read zone status without side effects (
get-controllers,list-zones). - Run, stop, or suspend one zone or all zones (mutating — requires explicit action params).
- Call the compact
requesthelper for a raw Hydrawise REST endpoint under/api/v1/.
Required setup
- Secret
hydrawiseApiKey— Hunter Hydrawise API key (Account Details → Generate API Key). - Prefill: https://heykody.dev/account/secrets/new?name=hydrawiseApiKey&description=Hunter%20Hydrawise%20API%20key&allowedHosts=api.hydrawise.com&scope=user
Exports
.— defaultdispatchrouter plus named helpers (getControllers,listZones,runZone, …) andrequest.
Example
import hydrawise, { request } from 'kody:@kentcdodds/hydrawise'
export default async function main() {
const zones = await hydrawise({ action: 'list-zones' })
const details = await request('customerdetails.php')
return { zones, controllerCount: details?.controllers?.length }
}Notes
- Hydrawise does not publish an OpenAPI spec (PDF REST guide only). This package uses one compact
requesthelper that appendsapi_key={{secret:hydrawiseApiKey}}(resolved by Kody's fetch gateway) — query-param secrets are not an OpenAPI scaffold auth kind. - Endpoints:
customerdetails.php,statusschedule.php,setzone.phponhttps://api.hydrawise.com/api/v1/. - Mutating actions (
run-*,stop-*,suspend-*,resume-*) hitsetzone.php— use only when explicitly requested. - Morning briefing contract:
pkg('hydrawise', '.', { action: 'list-zones' })→{ zones, nextPollSeconds }with zone fieldsnumber,nextRunInSeconds,nextRunTimeLabel,runDurationSeconds.
Stars
0 stars
Log in to star this package.
Report this listing
Log in to report this listing.