waldoj / sound-of-sunshine

Tracks home power generation and consumption, enabling automation.
MIT License
1 stars 0 forks source link

Drop data points intelligently #26

Open waldoj opened 9 years ago

waldoj commented 9 years ago

Right now, we just drop 90% of data points for JSON export. That makes sense for my setup, because I'm capturing power use every 6 seconds. But there's nothing inherent about 6-second samples. So instead of dropping 90% of data points, instead limits data points to X per minute.