You are not logged in.

#1 Today 00:54:20

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,163

MyForecast Script

The TAD script works great.
However, there is a problem with locations.

Some locations are redirected to the nearest airport even though it is usually far from the city.
Some locations are updated very rarely on the website (every three hours at my place).

I did a little research and found the source that is used.
Updates are regular here and there is a lot more data for conky.

You can download MyForecast here:
https://www.mediafire.com/file/c9qquyyo … ar.xz/file

1) Extract  MyForecast.tar.xz  and get the  MyForecast  folder

2) Copy/Paste  MyForecast  folder in HOME

3) Open the folder and you will see the  myforecast  script (file)

4) Open it with a text editor

5) At the beginning of the script you will see that it is set to  ## Paris, France  as an example and you need to change the addresses (daily and hourly)

HOW?

1) Visit https://www.myforecast.com website

2) Type your location in the search field

3) Once you find your location (not the airport), click  More Forecasts  >  Hourly

4) Right-click in the  URL bar  >  Copy

5) Paste in address_hourly (it must be in the same format as for Paris, FR)

6) Click on the  'hamburger menu' (top right)  >  Current conditions

7) Right-click in the  URL bar  >  Copy

8) Paste in address_daily (it must be in the same format as for Paris, FR)

Done.

Finally, open a terminal and run the  myforecast  script once:

bash $HOME/MyForecast/myforecast

Open the  MyForecat  folder and check if you get this:

myforecast1.png  myforecast2.png

Beautiful weather icons and lots of data for conky.
There is also information about the sun and moon.

It will take time for the new weather conky, but once you have it, share screenshots and code with others.

Enjoy.  smile

Last edited by marens (Today 01:00:40)


If people would know how little brain is ruling the world, they would die of fear.

Offline

Board footer

Powered by FluxBB