maxbbraun / accent

Accent Smart Picture Frame
https://accent.ink
MIT License
200 stars 16 forks source link

Checksum comparison #13

Open HalfdanJ opened 4 years ago

HalfdanJ commented 4 years ago

This PR is adding a checksum comparison of the image returned from the server, and only triggers display refresh if image has changed. This allows a higher refresh-rate, wither unnecessary flickering on the display.

maxbbraun commented 3 years ago

Can you say more about what motivated this change? If you're frequently waking up the client only to push the same image, then maybe the solution is to avoid that server-side? With this proposed change, you'd avoid the flickering, but you'd still incur the cost on battery life.