You are not logged in.

#2101 2018-09-09 18:00:06

chepioq
Member
Registered: 2015-11-29
Posts: 35

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

He all
I use Weather Underground API for my conky-weather, and I see this notification : https://apicommunity.wunderground.com/w … ground-api
The wunderground api stop the 12/31/2018.

I have 4 months left to find another one.

Offline

#2102 2018-09-09 19:20:38

unklar
Member
Registered: 2015-10-31
Posts: 710

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thanks @chepioq

They already did that with intellicast.com and it was only a matter of time,
until they also apply their "boundless friendliness" to WU.
I haven't believed those lying bags for a long time!  sad

With that mrpeachy's WUN dies with me, which I very much regret and it remains only Teo's accuweather. devil
Then you can be curious how long They resist the "friendliness".

Offline

#2103 2018-09-09 19:50:10

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Just keep using the latest script; we'll see what'll happen after 31/12/18


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#2104 2018-09-11 18:17:59

garpu
Member
Registered: 2018-06-19
Posts: 10

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Well...bummer.

Anyone got a script that has satellite? I like seeing where/how a storm is coming.

Offline

#2105 2018-09-11 18:42:15

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Maybe a weather page with storm alerts?


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#2106 2018-09-11 22:22:45

garpu
Member
Registered: 2018-06-19
Posts: 10

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

If there's simple image downloading/embedding I could rig something up. The examples I've seen take more sed/scripting that I'm really good at though.

Offline

#2107 2018-09-11 22:25:30

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

If you find me a site maybe I could make something up.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#2108 2018-09-12 13:13:00

ragamatrix
Member
Registered: 2015-10-04
Posts: 294

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hi all,
I tried something there May be it can helps...
I don't know where you live and which map you need?
There is also a really good one source which download worlds sat maps and generate one flat for xplanet, I'm using it actually with xplanet:
https://github.com/jmozmoz/cloudmap
And there is a free registration here to use it:
https://www.sat.dundee.ac.uk/
Blog Illustration:
https://apollo.open-resource.org/missio … ce-xplanet

Last edited by ragamatrix (2018-09-12 13:20:29)

Offline

#2109 2018-09-16 12:50:44

garpu
Member
Registered: 2018-06-19
Posts: 10

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I was trying these images here: https://www.star.nesdis.noaa.gov/GOES/s … &sector=ne with the NWS script. Seems like it would take a lot of rewriting, though.

Offline

#2110 2018-09-16 14:56:02

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You just need some wget commands to download the images, ie. something like

wget -O /path/to/save/the/image/imagename.jpg https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/ne/GEOCOLOR/20182591442_GOES16-ABI-ne-GEOCOLOR-1200x1200.jpg

After you've save the image just use conky to show it

${image /path/to/save/the/image/imagename.jpg -p 0,0 -s 200x200

where -p 0,0 is the position inside conky to place the image and -s 200x200 is the size to which the image will be scaled.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#2111 2018-09-16 18:21:15

garpu
Member
Registered: 2018-06-19
Posts: 10

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I was totally overthinking it. Hrm, I'd need a static link to an image with that method. The one given has a timestamp in it, so it changes every 5 minutes. Does give me something to work with, though. thanks! smile

Offline

#2112 2018-09-16 18:34:38

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Here's a quick one to save a list with all images in your page

#!/bin/bash
wget -O raw "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G16&sector=ne"
sed -i '/https/!d' raw
sed -i -e 's/^.*https/https/g' -e 's/jpg.*$/jpg/g' -e '/jpg/!d' raw

Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#2113 2018-09-16 20:37:53

garpu
Member
Registered: 2018-06-19
Posts: 10

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

On the NWS scripts, what's governing the length? I've got the image at the bottom of the output, but it's getting cut off.  I was using .conkyrc_nws_S11_2 as a basis. (I realize I'm probably doing something really dumb.)

Here's a pastebin to my conkyrc: https://pastebin.com/9BdJwgCF

Offline

#2114 2018-09-16 20:54:29

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Add some empty lines at the end of your conkyrc, ie.

...
${goto 100}${template2}${execpi 600 sed -n '26p' $HOME/3_conky_forecast_nws/period-names_temps}${color}\
${goto 135}${execpi 600 sed -n '13p' $HOME/3_conky_forecast_nws/precipitation}%
${alignc}${template0}${execpi 600 sed -n '13p' $HOME/3_conky_forecast_nws/messages}${color}
${color3}${hr 2}
${image /home/me/3_conky_forecast_nws/sat.jpg -p 0,420 -s 250x250}




]];

Add or remove as many empty lines as you need.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#2115 2018-09-16 22:19:00

garpu
Member
Registered: 2018-06-19
Posts: 10

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

LOL.  That totally did it.  Thanks!

Offline

#2116 2018-09-17 11:17:13

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 690

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Good to know wink


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

Board footer

Powered by FluxBB