Privacywonk / MMM-Surf

MagicMirror module that pulls in tide, water temp, and Magicseaweed data to show an at-a-glance surf report for your favorite spot.
Other
5 stars 2 forks source link

fetchNOAA - clean up #13

Closed Privacywonk closed 6 years ago

Privacywonk commented 6 years ago

I suspect the way fetchNOAAData is designed is leading to unnecessary traffic and refreshes outside of the update timer.

Need to break apart fetchNOAAData into two functions: fetchNOAAtides fetchNOAAtemp

Privacywonk commented 6 years ago

Kept fetchNOAA the same but removed duplicate setTimeout(function()