Wi-fi Desktop clock and weather forecast display
Description
###Raspberry Pi Based Desktop Weather Forecast Station And Clock With 3.2 Lcd Display. Latest Description See On Github: Https://Github.Com/Krokus57/Rpiwsi ###Hardware Setup: - Raspberry Pi Model B Https://Www.Raspberrypi.Org/Products/Model-B/ - 3.2" Lcd Display For Raspberry Pi Http://Www.Aliexpress.Com/Item/Free-Shipping-2014-New-Arrival-1Pcs-3-2-Inch-Lcd-Touch-Screen-Display-Monitor-Module-For/1975039117.Html - Usb Wi-Fi Dongle Http://Www.Tp-Linkru.Com/Products/Details/Cat-11_Tl-Wn725N.Html - Sd Card In Order To Get Smaller Box I Need To: - Unsolder Two Ports (Audio Jack And Composite Video Port) - Solder Power Wires Directly To A Usb Port The Idea Of Dock From Http://Www.Thingiverse.Com/Thing:525241 ###Software Setup: Python Source Code: Https://Github.Com/Krokus57/Rpiwsi You Need: - Some Experience In Linux And Programing - Working Internet Connection - Installed Python 2.7 - Installed Pygame Framework - Api Key From Api.Weatherunderground.Com - Weather Icons I Use Great Vclouds Icons From Http://Www.Deviantart.Com/Art/Vclouds-Weather-2-179058977 #####You Have To Get Permission From Author To Use Them In You Project! For The First Run Change Next Lines In File Globals.Py: #============================================================== #Interface Language. Uncomment One Of Them. You Can Create You Own Language File And Use It Here #From Lang_Ru Import * From Lang_En Import * #Weather Underground Api Key Need To Change Wu_Api_Key = 'B12345Abcd9Ffda0A51F' #Gps Coordinates Need To Change Wu_Gps_Coordinates = '55.6890593,37.2906527' #Weather Underground Api Language. Must Be Exactly As Declared In Weatherunderground Api #Wu_Language = 'Ru' Wu_Language = 'En' #Do Not Change! Wu_Icon_Set = 'K' #Choose You Temperature Units (C/F) Temperature_Inits="Celsius" #Temperature_Inits="Fahrenheit" #Enable Demo Data Without Internet Connection Debug=False #Debug=True #Web Server Port #After Successfull Setup You Can Get Current Screenshot From Raspberry Using Browser: #Http://Raspberry_Ip:8080 Web_Server_Port=8080 #Screen Resolution Screen_Width,Screen_Height = 240,320 #If You Want To Change Resolution You Need To Completely Rewrite Function #Draw_Data(Screen,Page,Data,Angle) In File Ws_Drawing.Py #============================================================== Change Lang_Xx.Py File If You Need: Xx=Ru Or En Or Yours New File: #============================================================== Next Arrays Are The Names Of Days And Months On You Language Days_Of_Week={1:U"Mon", 2:U"Tue", 3:U"Wed", 4:U"Thur", 5:U"Fri", 6:U"Sat", 0:U"Sun" } Months={ 1 :U"January", 2 :U"February", 3 :U"March", 4 :U"April", 5 :U"May", 6 :U"June", 7 :U"July", 8 :U"August", 9 :U"September", 10:U"October", 11:U"November", 12:U"December", } Short_Months={ 1 :U"Jan", 2 :U"Feb", 3 :U"Mar", 4 :U"Apr", 5 :U"May", 6 :U"Jun", 7 :U"Jul", 8 :U"Aug", 9 :U"Sep", 10:U"Oct", 11:U"Nov", 12:U"Dec", } #Other Localizing Strings: Str_Tomorrow=U"Tomorrow" Str_Pressure=U"Pressure" Str_Humidity=U"Humidity" Str_Wind=U"Wind" Str_Pressure_Units_Line_1=U"Mm" Str_Pressure_Units_Line_2=U"" Str_Pressure_Units_Line_3=U"Hg" Str_Wind_Speed=U"M/S" #============================================================== All Other Work For Drawing On The Screen See In File Ws_Drawing.Py Function Draw_Data(Screen,Page,Data,Angle) Run The Code From Console Inside Rpiwsi Folder With Command : Python Rpiwsi.Py After Successfull Setup You Can Get Current Screenshot From Raspberry Using Browser: Http://Raspberry_Ip:8080 ![](Https://Github.Com/Krokus57/Rpiwsi/Blob/Master/Rpiwsi/Rpiws_2016-01-17-19-23.Png?Raw=True).![](Https://Github.Com/Krokus57/Rpiwsi/Blob/Master/Rpiwsi/Rpiws_2015-12-07-05.Png?Raw=True)
Statistics
Likes
261
Downloads
0