Skip to main content
Stub — intended for contributors and technical readers.
PilotWatt uses Upstash Redis (not in-process memory) so serverless instances share cache.
Key patternTTLContents
foxess:state:{userId}5 minLive energy state
octopus:rates30 minAgile slots (shared)
solar:forecast:{userId}1 hHourly radiation + kWh
earnings:*:{userId}30 min – 7 dToday/month/slot aggregates
earnings:summary:v1:{userId}:{YYYY-MM}30 minHome hero monthly summary
settings:public:{userId}5 minNon-secret settings only
Never cached: decrypted FoxESS / Octopus credentials. Source of truth: lib/infrastructure/cache.ts.