diff --git a/csv/crypto.csv b/csv/crypto.csv index 02c1990..7208ed6 100644 --- a/csv/crypto.csv +++ b/csv/crypto.csv @@ -1,4 +1,4 @@ symbol,name,base,current,24hr change -BTC,bitcoin,usd,40840,7.470469950373753 -ETH,ethereum,gbp,1688.85,4.84874662401072 -DOGE,dogecoin,usd,0.210276,5.072216331731451 +BTC,bitcoin,usd,40481,6.539539468799979 +ETH,ethereum,gbp,1673.43,3.6836171276675143 +DOGE,dogecoin,usd,0.208859,3.8108243554073558 diff --git a/csv/current_weather.json b/csv/current_weather.json index 2962008..ceb76f0 100644 --- a/csv/current_weather.json +++ b/csv/current_weather.json @@ -1 +1 @@ -[{"main_weather": "Clouds", "description": "overcast clouds", "temp": 28.87, "min_temp": 27.96, "max_temp": 28.94, "feels_like": 35.87, "humidity": 87, "clouds": 100, "wind_speed": 0.45, "wind_direction": 315, "visibility": 10000, "uv": 0, "rain_chance": 1}, {"main_weather": "Clouds", "description": "scattered clouds", "temp": 16.25, "min_temp": 15, "max_temp": 20.22, "feels_like": 16.23, "humidity": 88, "clouds": 40, "wind_speed": 5.14, "wind_direction": 270, "visibility": 3600, "uv": 0.11, "rain_chance": 0.9}] \ No newline at end of file +[{"main_weather": "Clouds", "description": "overcast clouds", "temp": 28.86, "min_temp": 27.95, "max_temp": 28.93, "feels_like": 35.43, "humidity": 85, "clouds": 100, "wind_speed": 1.79, "wind_direction": 250, "visibility": 10000, "uv": 0, "rain_chance": 1}, {"main_weather": "Clouds", "description": "broken clouds", "temp": 15.9, "min_temp": 14.99, "max_temp": 20.24, "feels_like": 15.84, "humidity": 88, "clouds": 75, "wind_speed": 5.66, "wind_direction": 230, "visibility": 10000, "uv": 0.11, "rain_chance": 0.36}] \ No newline at end of file diff --git a/csv/daily_weather.json b/csv/daily_weather.json index c2ca5a6..11dfaf3 100644 --- a/csv/daily_weather.json +++ b/csv/daily_weather.json @@ -1 +1 @@ -[[{"main_weather": "Rain", "description": "moderate rain", "min_temp": 27.96, "max_temp": 28.94}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.31, "max_temp": 30.17}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.75, "max_temp": 30.23}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 27.19, "max_temp": 29.81}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 27.92, "max_temp": 30.34}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.29, "max_temp": 32.23}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.76, "max_temp": 31.19}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.3, "max_temp": 30.35}], [{"main_weather": "Rain", "description": "light rain", "min_temp": 15, "max_temp": 20.22}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 12.48, "max_temp": 21.93}, {"main_weather": "Rain", "description": "light rain", "min_temp": 14.51, "max_temp": 18.16}, {"main_weather": "Rain", "description": "light rain", "min_temp": 13.8, "max_temp": 20.63}, {"main_weather": "Clouds", "description": "overcast clouds", "min_temp": 14.26, "max_temp": 21.27}, {"main_weather": "Rain", "description": "light rain", "min_temp": 14.12, "max_temp": 18.72}, {"main_weather": "Rain", "description": "light rain", "min_temp": 12.05, "max_temp": 20.55}, {"main_weather": "Clouds", "description": "overcast clouds", "min_temp": 13.71, "max_temp": 18.38}]] \ No newline at end of file +[[{"main_weather": "Rain", "description": "moderate rain", "min_temp": 27.95, "max_temp": 28.93}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.31, "max_temp": 30.17}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.75, "max_temp": 30.23}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 27.19, "max_temp": 29.81}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 27.92, "max_temp": 30.34}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.29, "max_temp": 32.23}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.76, "max_temp": 31.19}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 28.3, "max_temp": 30.35}], [{"main_weather": "Rain", "description": "moderate rain", "min_temp": 14.99, "max_temp": 20.24}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 12.5, "max_temp": 21.96}, {"main_weather": "Rain", "description": "light rain", "min_temp": 14.53, "max_temp": 18.18}, {"main_weather": "Rain", "description": "light rain", "min_temp": 13.82, "max_temp": 20.65}, {"main_weather": "Clouds", "description": "overcast clouds", "min_temp": 14.28, "max_temp": 21.29}, {"main_weather": "Rain", "description": "light rain", "min_temp": 14.14, "max_temp": 18.75}, {"main_weather": "Rain", "description": "light rain", "min_temp": 12.07, "max_temp": 20.58}, {"main_weather": "Clouds", "description": "overcast clouds", "min_temp": 13.73, "max_temp": 18.4}]] \ No newline at end of file diff --git a/csv/last_updates.json b/csv/last_updates.json index 18e1a44..e69de29 100644 --- a/csv/last_updates.json +++ b/csv/last_updates.json @@ -1 +0,0 @@ -{"stocks": "28/07/2021 14:55:08", "crypto": "28/07/2021 14:55:14", "news": "28/07/2021 14:55:15", "weather": "28/07/2021 14:55:14", "forex": "28/07/2021 20:55:18", "sports": "28/07/2021 14:55:15"} \ No newline at end of file diff --git a/csv/multiple.csv b/csv/multiple.csv index 45daa66..3acf889 100644 --- a/csv/multiple.csv +++ b/csv/multiple.csv @@ -1,6 +1,6 @@ type,content,pause(secs) text,hello world!,3 -image,./logos/crypto/BTC.png,3 +image,./logos/startup_logo.png,3 gif,./gifs/close.gif,3 text,hello world!,3 gif,./gifs/close.gif,3 diff --git a/csv/news.csv b/csv/news.csv index 214f971..30b773d 100644 --- a/csv/news.csv +++ b/csv/news.csv @@ -1,21 +1,21 @@ headline,source,date,time -Cornea test can help identify if patients are suffering from long Covid^ claims new study - Hindustan Times,Hindustan Times,2021-07-28,16:38:50Z -NYC to Offer $100 Incentive for Vaccination Starting Friday - NBC New York,NBC New York,2021-07-28,16:34:31Z -El-Zakzaky: Kaduna court free leader of Islamic Movement Sheikh Ibrahim El-Zakzaky and im wife Zeenat - BBC News,BBC News,2021-07-28,16:31:20Z -India vs Sri Lanka Live Cricket Score^ 2nd T20I^ Today’s Match: Chahar Stunner Ends Fernando’s Stay as SL L - News18,News18,2021-07-28,16:24:58Z -Light behind black hole seen by scientists for the first time - The Irish News,The Irish News,2021-07-28,16:20:47Z -Lacson to run under Reporma - The Manila Times,The Manila Times,2021-07-28,16:19:20Z -130 new locally transmitted COVID-19 cases in Singapore; 5 new clusters - CNA,CNA,2021-07-28,16:18:45Z -Iowa Gov. Kim Reynolds blames unvaccinated migrants for recent Covid spike - NBC News,NBC News,2021-07-28,16:13:12Z -Canada not among countries exempt from quarantine for travel into England - CBC.ca,CBC News,2021-07-28,16:09:03Z -Co Kerry mains rupture leaves 50^000 people without water - The Irish Times,The Irish Times,2021-07-28,15:56:15Z -Brother in 'disbelief' after remains found 22 years after N.S. woman disappeared - CBC.ca,CBC News,2021-07-28,15:49:40Z -10 of the best deals in PlayStation's summer sale - JOE.ie,Www.joe.ie,2021-07-28,15:47:31Z -New York State Workers Must Get Vaccine or Weekly Tests^ Cuomo Says - The New York Times,New York Times,2021-07-28,15:44:41Z -Want a Vaccine Reservation in South Korea? Try Waiting 111 Hours. - The New York Times,New York Times,2021-07-28,15:44:41Z -Bipartisan infrastructure deal could advance within hours^ Schumer says - POLITICO,Politico,2021-07-28,15:38:56Z -Feds^ N.L. government announce Muskrat Falls deal^ with few details - CBC.ca,CBC News,2021-07-28,15:37:04Z -Hubble discovers water vapour around Jupiter`s Ganymede^ largest moon in our solar system - WION,WION,2021-07-28,15:35:36Z -Naira sees biggest plunge ever after CBN forex ban - Premium Times,Premium Times,2021-07-28,15:35:20Z -Bob Odenkirk Co-Stars Bryan Cranston^ Aaron Paul^ David Cross & Michael McKean Among ‘Better Call Saul’ Star’s Hollywood Well-Wishers - Deadline,Deadline,2021-07-28,15:33:00Z -Animals Emerged 350 Million Years Earlier Than Previously Thought^ Fossil Discovery Suggests - Gizmodo Australia,Gizmodo Australia,2021-07-28,15:31:00Z +Stock Market Highlights: Sensex falls 135 points^ Nifty ends below 15^750 dragged by financials - CNBCTV18,CNBCTV18,2021-07-28,18:26:00Z +Duterte not worried about persons already vaccinated against COVID-19 going out - INQUIRER.net,Inquirer.net,2021-07-28,18:19:00Z +‘890 million-year-old sponge fossils’ could be earliest animal life - thejournal.ie,TheJournal.ie,2021-07-28,18:14:00Z +Efficacy of Pfizer/BioNTech Covid vaccine slips to 84% after six months^ data show - STAT,STAT,2021-07-28,18:03:22Z +Midtjylland 0 Celtic 0 LIVE score as Liel Abada once again shows his class - Scottish Daily Record,Daily Record,2021-07-28,17:57:13Z +'We failed': Molson apologizes to fans^ but Habs stick by Mailloux - Montreal Gazette,Montreal Gazette,2021-07-28,17:48:45Z +Blood clots in severe COVID-19 patients may be related to abnormal antibody response: Study - Times Now,Zoom,2021-07-28,17:40:00Z +WATCH | EFF in tense stand-off with Pretoria residents^ Afrikaner group at old age home - News24,News24,2021-07-28,17:32:38Z +Further easing of Covid-19 measures ‘may not be far away’^ says Holohan - The Irish Times,The Irish Times,2021-07-28,17:30:29Z +Physical Activity^ Less TV Watching Associated With Lower Risk of Obstructive Sleep Apnea - AJMC.com Managed Markets Network,Ajmc.com,2021-07-28,17:29:51Z +890-million-year-old sponge structures found in Canada may be Earth's oldest animal life - News24,News24,2021-07-28,17:27:52Z +Metro Manila^ nearby provinces remain under GCQ with heightened restrictions - ABS-CBN News,Abs-cbn.com,2021-07-28,17:23:00Z +Former high-ranking Nxivm member who testified against Keith Raniere will not go to prison - CNN,CNN,2021-07-28,17:23:00Z +Elise Stefanik Calls Liz Cheney a 'Pelosi Pawn' - Fox News,Fox News,2021-07-28,17:19:36Z +Teacher in Camarines Sur invents disinfecting machine for school papers - GMA News Online,GMA News,2021-07-28,17:18:33Z +Bryan Cranston says Bob Odenkirk is 'receiving the medical attention he needs' after collapsing on set - Fox News,Fox News,2021-07-28,17:17:12Z +Coronavirus Delta variant pushing Tokyo's health system to the brink as city hosts Olympics - ABC News,ABC News (AU),2021-07-28,17:10:44Z +UPDATED: Court frees El-Zakzaky^ wife Zeenat - Punch Newspapers,The Punch,2021-07-28,17:01:17Z +NZ Post buys a share of parcel processing firm^ putting another 130 jobs on the line - Stuff.co.nz,Stuff.co.nz,2021-07-28,17:00:00Z +Tokyo Olympics: It's 'payback' for Black Ferns sevens after Rio heartbreak against Australia - Stuff.co.nz,Stuff.co.nz,2021-07-28,17:00:00Z diff --git a/csv/tickers.csv b/csv/tickers.csv index e96edc8..3560a2c 100644 --- a/csv/tickers.csv +++ b/csv/tickers.csv @@ -1,4 +1,4 @@ name,current,opening -MSFT,286.21,288.915 -NFLX,519.94,522.08 -GOOG,2738.62,2771.88 +MSFT,286.705,288.915 +NFLX,520.09,522.08 +GOOG,2740.95,2771.88 diff --git a/display_images/crypto.ppm b/display_images/crypto.ppm index e9979f8..a58a97c 100755 Binary files a/display_images/crypto.ppm and b/display_images/crypto.ppm differ diff --git a/display_images/daily_weather.ppm b/display_images/daily_weather.ppm index 82c5f7c..9192a41 100755 Binary files a/display_images/daily_weather.ppm and b/display_images/daily_weather.ppm differ diff --git a/display_images/forex.ppm b/display_images/forex.ppm index 166b8ad..80dd1a3 100755 Binary files a/display_images/forex.ppm and b/display_images/forex.ppm differ diff --git a/display_images/stocks.ppm b/display_images/stocks.ppm index 136a9a8..fb3f490 100755 Binary files a/display_images/stocks.ppm and b/display_images/stocks.ppm differ diff --git a/display_images/today_weather.ppm b/display_images/today_weather.ppm index c1e1cd3..4f91bee 100755 Binary files a/display_images/today_weather.ppm and b/display_images/today_weather.ppm differ diff --git a/logos/startup_logo.png b/logos/startup_logo.png new file mode 100644 index 0000000..a6b16ad Binary files /dev/null and b/logos/startup_logo.png differ diff --git a/stockTicker.py b/stockTicker.py index 782c6e9..a80f94f 100644 --- a/stockTicker.py +++ b/stockTicker.py @@ -1857,6 +1857,8 @@ class StockTicker(): if kill: break + + def process_msg(self, msg): @@ -1957,6 +1959,11 @@ if __name__ == '__main__': try: stock_ticker = StockTicker() + start_image = Image.open('./logos/startup_logo.png') + stock_ticker.setImage(start_image) + time.sleep(10) + stock_ticker.resetMatrix() + # #stock_ticker.process_msg('b') diff --git a/user_image.ppm b/user_image.ppm old mode 100644 new mode 100755