Thank you guys so much! using sudo python3 in the command worked, I did run into the issue you talked about, Buran. I pip3 installed both applications which fixed that, I also had to add () to parts of the code to make it work in 3, which it does now! code is posted below., (which is all yours Buran, thanks very much again) I had one last question, would it be hard to implement two line text on this sign? Here is documentation on it using the same sign I have, with git info in there as well. https://medium.com/@mikemetral/a-homemad...75c73a5339
again, thank you so much for your help! I know my understanding is frustrating, just trying to learn a little bit about how this works!
again, thank you so much for your help! I know my understanding is frustrating, just trying to learn a little bit about how this works!
#!/usr/bin/python import datetime import forecastio from pyledsign.minisign import MiniSign def main(): """ Run load_forecast() with the given lat, lng, and time arguments. """ api_key = 'YOUR API KEY' lat = 42.3314 lng = -83.0458 forecast = forecastio.load_forecast(api_key, lat, lng,) mysign = MiniSign(devicetype='sign') print ("===========Currently Data=========") current_weather = forecast.currently() print (current_weather.summary) print (current_weather.temperature) mysign.queuemsg(data=current_weather.summary) mysign.sendqueue(device='/dev/ttyUSB0') print ("===========Daily Data=========") by_day = forecast.daily() print ("Daily Summary: %s" %(by_day.summary)) mysign.queuemsg(data=by_day.summary) mysign.sendqueue(device='/dev/ttyUSB0') if __name__ == "__main__": main()