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

Code tests for swell direction #9

Closed Privacywonk closed 6 years ago

Privacywonk commented 6 years ago

Add config array element for people input the best swell direction of their local spot. e.g

spotSwellHold = ["S", "SSE"] (optional, not required)

in MMM-Surf Test is the config element isn't null. Then test if the direction is the same and if it matches, pop the swell direction icon to green.

Privacywonk commented 6 years ago

closed. updated in current master branch