Take a look at this thread, it can give you some clues on how to go further. There’s also an integration, but it doesn’t take the wind speed into account. But you can find a blueprint in this thread, that you might use as a starting point. The blueprint grew into an integration, but is still available and maintained!