johnacharles93
New member
Hello! I'm building the Home Assistant integration for HYDROS and planning to migrate to the official API. I've got some specific questions about how this affects Home Assistant users and what we need to plan for.
QUESTIONS ABOUT LIMITATIONS
RATE LIMITS FOR HOME ASSISTANT USE
The 10 state updates/min per key...that's tight for a multi-device setup. Home Assistant users often run:
Questions:
The docs mention "polling sessions" (5/hour limit) For Home Assistant:
ERROR HANDLING & RESILIENCY
What are the edge cases?
Feature Requests:
Not blockers, but would make integration better:
@hydros team:
Appreciate the clarity on these. Building a great integration requires understanding the real constraints and roadmap. I know this was a little chaotic and skattered, but I needed to get my thoughts out.
Thanks!
QUESTIONS ABOUT LIMITATIONS
RATE LIMITS FOR HOME ASSISTANT USE
The 10 state updates/min per key...that's tight for a multi-device setup. Home Assistant users often run:
- Sensor polling every 30-60 seconds
- Multiple automations that read/write state simultaneously
- Cross-tank automations that chain requests
Questions:
- Can users request higher rate limit tiers?
- Is there a way to batch operations or will each update count separately?
- What happens at rate limit? (Error message? Backoff needed? Dropped request?)
The docs mention "polling sessions" (5/hour limit) For Home Assistant:
- Is WebSocket or Server-Sent Events on the roadmap?
- When would polling sessions launch? (Need to plan timeline)
- Will push notifications be included in the free tier or premium only?
ERROR HANDLING & RESILIENCY
What are the edge cases?
- If a key gets invalidated or revoked mid-automation, what does HA get back? Specific error code?
- Are there transient errors vs. permanent auth failures? (Need to retry vs. immediate fail)
- If the API is down, do failed requests queue or just error immediately?
- Any circuit breaker patterns recommended for integration reliability?
Feature Requests:
Not blockers, but would make integration better:
- Batch operations: Get/set multiple device states in one call instead of N calls
- Query filtering: "Give me all devices in feed mode" instead of polling all devices
- Webhook support: HA could expose a webhook to receive state change notifications
- Scope granularity: "Read-only on tank 1, read-write on tank 2" from one key (instead of separate keys)
@hydros team:
- What's the recommended polling interval for a single device? (30s? 60s? longer?)
- When should I tell users to expect the migration from account auth to API keys?
Appreciate the clarity on these. Building a great integration requires understanding the real constraints and roadmap. I know this was a little chaotic and skattered, but I needed to get my thoughts out.
Thanks!