You are not logged in.

#2776 2019-09-11 15:32:48

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

TeoBigusGeekus wrote:

An eclipse maybe? tongue

lol  lol  lol  lol  lol  lol  lol  lol  lol  lol  lol  lol

OMG!  Love it!

BTW: I got the same - obviously: website OOPSIES! get handed down.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#2777 2019-09-11 15:37:52

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

saltasatelites wrote:

Thanks!!  You're the best!

And that is a sentiment of most people here.

TeoBigusGeekus FOR PRESIDENT!!!

Greece of course!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#2778 2019-09-11 16:33:15

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

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

#2779 2019-09-11 20:59:26

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

ANNOUNCEMENT
I pushed the final release for the 2_Wunderground script.
No changes to the script, I just moved the folder to a different location, added a gitignore file and a bit of documentation.


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

#2780 2019-09-12 04:30:32

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

I modified the conkyrc files of the Wunderground script to make them use a color variable. Script re-pushed.


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

#2781 2019-09-12 07:14:28

Rosscuro
New Member
Registered: 2019-09-12
Posts: 2

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

So, I'm using the simple RSS version

Kj0tP.jpg

The thing is that nothing shows up but the "LOCAL WEATHER------" label of the top. The icons and information are missing.

2019-09-12-045429-1366x768-scrot.png


The log doesn't show any errors.


--2019-09-12 04:50:50--  https://rss.accuweather.com/rss/liveweather_rss.asp?locCod=SAM%7CAR%7CAR007%7CBUENOSAIRES
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving rss.accuweather.com (rss.accuweather.com)... 23.55.65.21
Connecting to rss.accuweather.com (rss.accuweather.com)|23.55.65.21|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 801 [text/xml]
Saving to: ‘/home/leon/1_accuweather/weather_raw’

/home/leon/1_accuweather/weather_raw  100%[========================================================================>]     801  --.-KB/s    in 0s      

2019-09-12 04:50:50 (7.98 MB/s) - ‘/home/leon/1_accuweather/weather_raw’ saved [801/801]

I made sure to double-check each script for paths to files and such

Edit.

Managed to set it up correctly, looks so damn awesome...

2019-09-12-065343-1366x768-scrot.png

Now if anyone could point me to a script that monitors currency exchange would be much preciated. monkey

Last edited by Rosscuro (2019-09-12 09:57:41)


Studied psychology, has no clue about programming. My aunt inspired me to use Linux Mint... I took the Manjaro i3 rout instead.

Offline

#2782 2019-09-12 09:16:32

loutch
Member
Registered: 2015-12-12
Posts: 378

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

Hello

Theo is that possible to have the flux in french ??


if no i have begened to make french translate.


1568290547.png

Last edited by loutch (2019-09-12 12:15:13)


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2783 2019-09-13 18:00:40

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

Rosscuro wrote:

Now if anyone could point me to a script that monitors currency exchange would be much preciated. monkey

Any site you had in mind?

loutch wrote:

Hello
Theo is that possible to have the flux in french ??

What is flux?

I think there's something wrong with the Accuweather RSS hmm


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

#2784 2019-09-13 19:52:36

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

Rosscuro wrote:

Now if anyone could point me to a script that monitors currency exchange would be much preciated. monkey

I had one that used http://themoneyconverter.com but they squashed wget/curl and text based browsers.

Probably because their "spy 1x1pixel images" are not detected therefore not activated etc etc.

These places want your "soul" to use their sites!
2019-09-13_165108_S11.md.jpg

results in:
2019-09-13_164912_S11.md.jpg


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#2785 2019-09-13 19:58:30

loutch
Member
Registered: 2015-12-12
Posts: 378

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

TeoBigusGeekus wrote:
loutch wrote:

Hello
Theo is that possible to have the flux in french ??

What is flux?

I think there's something wrong with the Accuweather RSS hmm

here i use this adress in the script

http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|FR|FR631|SARREGUEMINES

here weather

Maintenant: Dégagé: 16C 
A
9/13/2019 Forecast
Maxi: 22 C Mini: 12 C Peu nuageux; agréable 
d
9/14/2019 Forecast
Maxi: 24 C Mini: 10 C Partiellement ensoleillé; bon 
c

Last edited by loutch (2019-09-13 20:07:22)


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2786 2019-09-13 20:08:13

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

@S11
Have you tried with w3m?

@loutch
The script works when you know your RSS address, but how do you find that?


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

#2787 2019-09-13 20:15:19

loutch
Member
Registered: 2015-12-12
Posts: 378

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

i found this

https://pastebin.com/dbtemx5F

I look at Metz & i try the code from Sarreguemines & it work


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2788 2019-09-13 20:16:56

loutch
Member
Registered: 2015-12-12
Posts: 378

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

your adress  in the read file don't work "error 404"

Last edited by loutch (2019-09-13 20:17:41)


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2789 2019-09-13 20:19:39

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

I know this list, but it's not a serious solution, it can't possibly have all the places in the world.

This

http://netweather.accuweather.com/signup-page1.asp?partner=&traveler=0

used to work but not anymore...


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

#2790 2019-09-13 20:23:26

loutch
Member
Registered: 2015-12-12
Posts: 378

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

yes, that is why i try that list


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2791 2019-09-13 20:43:32

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

I might have found it, pretty simple actually.
Just use

http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=kastoria

Change kastoria with your town/city.
It works for US and international locations as well.

Calling people for some testing.


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

#2792 2019-09-13 20:55:55

loutch
Member
Registered: 2015-12-12
Posts: 378

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

ok

http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=sarreguemines

&

http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|FR|FR631|SARREGUEMINES

give same html page in navigator

<rss version="2.0">
<channel>
<title>Sarreguemines, FR - AccuWeather.com Forecast</title>
<link>
http://www.accuweather.com/get/weather?page=extended&locationid=135050
</link>
<description>AccuWeather.com Forecast & Current Conditions</description>
<ttl>60</ttl>
<copyright>
Copyright 2019, AccuWeather, Inc., All rights reserved. For personal use only.
</copyright>
<pubDate>Fri, 13 Sep 2019 20:51:56 GMT</pubDate>
<language>en-us</language>
<image>
<title>Sarreguemines, FR - AccuWeather.com Forecast</title>
<link/>
<description>AccuWeather.com The Best Weather on the Web!</description>
<url>
http://vortex.accuweather.com/adc2004/pub/images/logos/adc_logo_187.gif
</url>
<width>144</width>
<height>19</height>
</image>
<item>
<title>Currently: Clear: 17C</title>
<link>http://www.accuweather.com</link>
<guid isPermaLink="false">http://www.accuweather.com</guid>
<description>
Currently in Sarreguemines, FR: 17 °C and Clear <img src="http://vortex.accuweather.com/phoenix2/images/common/icons/33_31x31.gif">
</description>
<pubDate>Fri, 13 Sep 2019 20:51:56 GMT</pubDate>
</item>
<item>
<title>9/13/2019 Forecast</title>
<link>
http://www.accuweather.com/get/weather?locationid=135050&day=1
</link>
<guid isPermaLink="false">
http://www.accuweather.com/get/weather?locationid=135050&day=1
</guid>
<description>
High: 22 C Low: 12 C Mostly cloudy; comfortable <img src="https://vortex.accuweather.com/phoenix2/images/common/icons/06_31x31.gif" >
</description>
<pubDate>Fri, 13 Sep 2019 20:51:56 GMT</pubDate>
</item>
<item>
<title>9/14/2019 Forecast</title>
<link>
http://www.accuweather.com/get/weather?locationid=135050&day=2
</link>
<guid isPermaLink="false">
http://www.accuweather.com/get/weather?locationid=135050&day=2
</guid>
<description>
High: 24 C Low: 10 C Partly sunny; nice <img src="https://vortex.accuweather.com/phoenix2/images/common/icons/03_31x31.gif" >
</description>
<pubDate>Fri, 13 Sep 2019 20:51:56 GMT</pubDate>
</item>
<item>
<title>The AccuWeather.com RSS Center</title>
<description>
To discover additional weather feeds, visit the AccuWeather.com RSS Center at http://www.accuweather.com/en/downloads
</description>
<link>http://www.accuweather.com/en/downloads</link>
<guid isPermaLink="false">http://www.accuweather.com/en/downloads</guid>
<pubDate>Fri, 13 Sep 2019 20:51:56 GMT</pubDate>
</item>
</channel>
</rss>

the same language is english possible to have it in french ??


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2793 2019-09-13 21:01:48

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

I can't find a way loutch, sorry.


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

#2794 2019-09-13 21:05:02

loutch
Member
Registered: 2015-12-12
Posts: 378

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

ok no problem i continu with my french translate

### traduction anglais vers français ###
sed -i -e 's/High/Maxi/g' -e 's/Low/Mini/g' -e 's/Currently/Maintenant/g'  $HOME/1_accuweather_RSS/weather
sed -i -e 's/Cloudy/Nuageux/g' -e 's/Partly/Partiellement/g' -e 's/mostly/Peu/g' -e 's/sunny/ensoleillé/g' -e 's/cloudy/nuageux/g' -e 's/comfortable/agréable/g' -e 's/Mostly/Peu/g' -e 's/pleasant/agréable/g' $HOME/1_accuweather_RSS/weather
sed -i -e 's/nice/bon/g' -e 's/Clear/Dégagé/g' $HOME/1_accuweather_RSS/weather
sed -i -e 's/Clouds giving way to some sun/Légèrement nuageux/g' $HOME/1_accuweather_RSS/weather 
sed -i -e 's/Partial sunshine/Légèrement ensoleillé/g' $HOME/1_accuweather_RSS/weather

more tanks for helping


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2795 2019-09-13 21:07:02

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

You're welcome, good luck with the translation.


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

#2796 2019-09-13 21:29:51

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

ANNOUNCEMENT

Corrected the instructions of the 1_Accuweather_RSS script and moved it to git.


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

#2797 2019-09-13 23:28:34

Rosscuro
New Member
Registered: 2019-09-12
Posts: 2

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

TeoBigusGeekus wrote:

I think there's something wrong with the Accuweather RSS

It was the conky config file, I totally forgot to fix "sed -n" pointers, so it was pulling the temperature of the same day and displaying it every day. Plus, it's a pain in the tush to get a working rss feed from accuweather if you leave outside the US.

This is Buenos Aires if anyone is interested:https://rss.accuweather.com/rss/livewea … UENOSAIRES

Note.

I did not notice this. That pastebin is a gold mine of info

loutch wrote:

i found this

https://pastebin.com/dbtemx5F

I look at Metz & i try the code from Sarreguemines & it work

Last edited by Rosscuro (2019-09-13 23:32:28)


Studied psychology, has no clue about programming. My aunt inspired me to use Linux Mint... I took the Manjaro i3 rout instead.

Offline

#2798 2019-09-14 05:07:42

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

Better try with this

 http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=buenosaires

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

#2799 2019-09-14 19:58:18

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

ANNOUNCEMENT

- I corrected the README file of the 2_Wunderground script to include info about the pkill command. I also added a CHANGELOG.
- Moved the 3_NWS_XML script to git, after I corrected a couple of things in it.
- Script 4_Moon moved to git as well.


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

#2800 2019-10-01 12:45:03

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

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

Now that the mud seems to have settled, I must confess that I was a bit scared when the two most downloaded scripts (Accuweather and WUnderground) stopped working.
So I decided to create a new script as a backup using weather.com.
Now, I know that weather.com has been a pain in the ass in the past, but nowadays their pages are not (completely) infested with javascript. I managed to come up with some code that produces some results.
You're gonna need to have convert in order for the script to work properly, therefore you'll have to install imagemagick on your system (it's probably been installed anyway, it's a very useful package).
I've created a couple of conkyrcs for you to test (WARNING: They were created on a 163dpi monitor configuration. They will look monstrous when other values are used). The first one is a shameless copy of one of the WUnderground's conkyrcs (cause I'm a lazy Greek) and the other one is a feeble attempt at creating a horizontal configuration - I'm tired of the vertical ones.

THE BAD: I've tested the script on my brother in law's pc (Ubuntu Mate 18.04) and it doesn't work properly. The svgs are not shown as they should and they are not converted to png at the end.
The whole thing works on my Arch installation flawlessly.
I'm waiting for your testimony.

THE GOOD: This one seems to be mutlilingual. I've tested in English, Greek, German and French and it works. Waiting for your experiences.

As with all new scripts, treat it kindly and report everything back so that I can correct it.

Git repository

ztOlzztt.png

Last edited by TeoBigusGeekus (2019-10-13 16:18:11)


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