Instead of modify your code, What if I can emulate darksky API. So basically hook up the sensors with small script to read them and create a file that emulates darksky api.Actually noticed that DarkSky is now own by Apple . Is the API format available? BTW, read that this service might shut down during 2021. Is this correct? How easy is to change the weather service provider?