Open-source weather station for astronomy