chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.77k stars 1.12k forks source link

kiosk mode #672

Open test2a opened 3 years ago

test2a commented 3 years ago

hi. i am interested in setting up wttr.in as an alternative to https://github.com/n0bel/PiClock which happens to have a lot of moving parts. if we see this image we can see it has just a few ingredients, time, current weather and a forecast. the map is not relevant. (i want to use it in kisok mode on a monitor full time as a digital clock) i suppose wttr.in can do it in a much simpler way but i am not sure how to to format curl. the default curl is full page but does not have a big clock. wttr does have "%T" but how to format it

my questions.

  1. current weather
  2. time current weather can be from the system so no need to query wttr and weather can be hourly or 2 hourly but i do not know how to format the query to combine these two.

also, any pointers in using cron to display it in terminal and use the hourly or two hourly to refresh the weather? ,

chubin commented 3 years ago

Several questions:

That's a couple of questions to start with

test2a commented 3 years ago

my idea is a simple curl in a full screen terminal that is refreshed after a specified time. the current implementation simply shows the weather which is fine but i would like a clock and some arrangement of current weather. forecast can be shown or not according to taste

the current weather would be side by side to a digital clock. Screenshot_20211031_120530

chubin commented 3 years ago

Digital clock in the ASCII mode? Yes, I think it would be possible. By the way, have you seen https://v2.wttr.in/Munich ?