Integrate YoLink water leak sensors and sump-pump alert accessories into a basement monitoring workflow via YoLink's public API

domain: doc.yosmart.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Review the API overview at https://doc.yosmart.com/docs/overall/intro/ to understand YoLink's cloud (HTTP/MQTT) and local API options
  2. For local-network control without depending on YoLink's cloud, follow the local API quick-start guide at https://doc.yosmart.com/docs/overall/qsg_local/
  3. For cloud integration, use Open API V2 (https://doc.yosmart.com/docs/protocol/openAPIV2/), authenticating with a UAC (User Access Credential) issued from the YoLink app's account settings
  4. Use the device-list and device-state calls to enumerate leak sensors and query current wet/dry status, then subscribe via MQTT for real-time alerts rather than polling
  5. Reference YoSmart's official GitHub client (YoSmart-Inc/yolink-api) for a working reference implementation before writing a custom client from scratch

Known gotchas

Related routes

Determine whether Govee's official developer API supports water leak sensors before proposing a Govee-based basement leak-monitoring integration
developer.govee.com · 5 steps · unrated
Determine whether popular sump pump monitoring brands (PumpSpy, Zoeller Z Control, Liberty NightEye, Wayne) expose a public developer API before building an integration
pumpspy.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans