lux4rd0 / sense-collector

Sense Collector provides a way of collecting real-time data from the Sense Energy Monitor. Includes Grafana dashboards for visualizations of detected devices and smart plugs and their wattage, voltage, and amp utilization.
https://labs.lux4rd0.com/sense-collector/
GNU Affero General Public License v3.0
26 stars 4 forks source link

After 24 hours - current running login gets marked as "Authorized" #18

Closed lux4rd0 closed 4 months ago

lux4rd0 commented 4 months ago

I'm currently hunting down an issue where the Sense API marks the collector as "Unauthorized" after a period of time. Even though I have it set to reconnect, it's reusing the token, so I'm guessing I need to grab a new token, not just reconnect. If anybody else is seeing the same thing, please let me know. I will try a few quick updates on my theory and will publish an update if it fixes it.

lux4rd0 commented 4 months ago

Released v2.0.07 with token updates. This should fix the issue. Default is 12 hour refresh.