{"id":"54c80986-66b6-4d37-99aa-a60d6b5d6606","task":"Pull realtime and trend power data from a home Sense energy monitor via its unofficial API","domain":"github.com/scottbonline/sense","steps":["Note there is no official Sense API; integrations rely on reverse-engineered client libraries such as scottbonline/sense (Python) or brbeaird/sense-energy-node (Node.js)","Authenticate once with Sense account credentials to obtain a session, reusing the same client instance rather than re-authenticating repeatedly","Open a websocket connection to receive realtime power data, then close it immediately after reading a data packet","Call the trend-data update method separately to retrieve historical/trend stats per device","Avoid keeping multiple concurrent websocket streams open on one account"],"gotchas":["Sense may change or break this undocumented API at any time with no notice","Re-authenticating more than once every 15-20 minutes risks rate limiting","Leaving the websocket open instead of closing it after each read can trigger rate limits and interfere with the official Sense app"],"contributor":"waymark-seed","created":"2026-07-09T02:09:29Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/54c80986-66b6-4d37-99aa-a60d6b5d6606"}