Created an App for something similar a while back called smartScreens.
it can connect to several Weather providers: WeatherUnderground (including or excluding PWS data), OpenWeatherMap, DarkSky. Or get data from Netatmo, which might be local (your own) or favorites you have in Netatmo (use community Netatmo for that one to work). It will calculate the position of the sun towards your blinds based on the location of your Hub.
You can select the type of blind (shutter/screen) and then define the attributes for the blind, its orientation, when it has to protect against sun or wind, or when there is too much wind and the screen has be opened (or closed). You can define open/stop/close, when supported by the device.
The blinds in the end are controlled either by 433 (rfxcom/raspberry/domoticz) or some other protocol supported.
Might give you a nice headstart, if you can use asis, and have ideas for improvement, please tell, i will implement if it makes sense :-).