You are not logged in.

#4521 2024-05-31 13:14:19

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

loutch wrote:

with accuweather -f2015 no error in konsole

with -h2015 i confirm this

Yes indeed.
The error is somewhere in the hourly forecast that I don't use.
Now the script works in a different way and I can probably fix the error, but I didn't want to delete anything in the script.

I only wanted this:

marens wrote:

I will try to help those who use the hourly forecast.

From what I've seen, most users only need basic data: time, icons(images),
temperature, realfeel and phrase in the next few hours.

I think I did it well.

loutch wrote:

For the main thing is that my conkys work correctly & that I no longer have a limit on the number of calls

That's exactly what I wanted.


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

Offline

#4522 2024-05-31 14:43:59

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

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

RE

it's really nice to have the original conkys back up and running again

thanks again .

Capture-d-cran-2024-05-31-16-43-22.png

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#4523 2024-05-31 16:04:50

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

^ Yes indeed.

The script I'm using has been changed and adapted because I'm trying to reduce the dependency on the curr_cond file.
That's why my conkies are different.

I have many, but these two are my favorites:

accuweather.png    accu-moon.png


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

Offline

#4524 2024-05-31 18:07:46

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

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

Re

GREAT


@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#4525 2024-06-01 01:08:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

loutch wrote:

I permice me to delete the altogether completly & uncomment the del. raws files.

We can try to fix the error in the terminal if you have all the necessary data (hourly).

Please make a copy of the script first.

Find the end of my hourly script plugin:

				if [[ $hourly2016 == 1 ]]; then
					cp $HOME/Accuweather_conky_script/Forecast_Images_2016/$(sed -n ${i}p $HOME/Accuweather_conky_script/marens_hourly/icons).png $HOME/Accuweather_conky_script/marens_hourly/hourly_images/hourly_$j.png
				fi
		    	((j++))
			  done

Replace with (add below):

				if [[ $hourly2016 == 1 ]]; then
					cp $HOME/Accuweather_conky_script/Forecast_Images_2016/$(sed -n ${i}p $HOME/Accuweather_conky_script/marens_hourly/icons).png $HOME/Accuweather_conky_script/marens_hourly/hourly_images/hourly_$j.png
				fi
		    	((j++))
			  done
			  
  fi
  
fi


#### del. temp files

#
  if [[ -f $HOME/Accuweather_conky_script/curr_cond_temp ]]; then
#
	rm $HOME/Accuweather_conky_script/curr_cond_temp
#
  fi
#
  if [[ -f $HOME/Accuweather_conky_script/curr_cond_temp1 ]]; then
#
	rm $HOME/Accuweather_conky_script/curr_cond_temp1
#
  fi
#  if [[ -f $HOME/Accuweather_conky_script/curr_cond_control_point ]]; then
#	rm $HOME/Accuweather_conky_script/curr_cond_control_point
#  fi

#
  if [[ -f $HOME/Accuweather_conky_script/hourly_raw_temp ]]; then
#
	rm $HOME/Accuweather_conky_script/hourly_raw_temp
#
  fi


#Resume weather conky
pkill -CONT -xf "$weather_conky_launch_command"			  

Delete all lines after that until the end.

Open terminal:

$ bash $HOME/Accuweather_conky_script/accuweather -f2015 -h2015

Are there any errors in the terminal?
Are all the necessary data (hourly) for conky available?


P.S.
I don't use the hourly forecast and can't test it.

Last edited by marens (2024-06-01 03:20:40)


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

Offline

#4526 2024-06-01 06:48:12

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

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

Hello GREAT CONKYSTADOR


Now there are no errors in konsole.


you are the BEST.

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#4527 2024-06-01 12:32:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

^ No need for titles.
There are many (including you) excellent conky connoisseurs here.

marens wrote:

Now the script works in a different way and I can probably fix the error, but I didn't want to delete anything in the script.

I (like you) never use the altogether24  part, but there are people who love it, that's why I didn't delete it earlier.


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

Offline

#4528 2024-06-02 14:22:42

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

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

Hello

Another oldest conky (conkymeteo Dark_sky) changed to accuweather ,& no errors in konsole.

Capture-d-cran-2024-06-02-16-19-29.png

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#4529 2024-06-02 17:46:44

ploukop
Member
Registered: 2023-03-13
Posts: 13

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

Hello @marens again. Can you share your conky scripts from #4523?

Offline

#4530 2024-06-03 00:04:20

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

ploukop wrote:

Hello @marens again. Can you share your conky scripts from #4523?

I'm sorry, but I can't do that for two reasons.

1) I have already explained to you before:
https://forums.bunsenlabs.org/viewtopic … 33#p129533

2) In the meantime (you weren't here) my support for the accuweather script has ended.

For @loutch (and others) I've posted an updated base version of the script with all the changes I've made over the past 16 months:
https://forums.bunsenlabs.org/viewtopic … 16#p134916

When (if) someone replaces me, he'll have a good starting point if he needs it.
This thread is one of the most visited on the BL forums and I hope you won't have to wait long.

If you haven't followed, you should update the script you have.


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

Offline

#4531 2024-06-03 07:33:33

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

@marens: Thanks for your reworked accuweather script.
Tested it on some of my older weather conky's (none hourly) - all running well and without errors. Great work!

Offline

#4532 2024-06-03 12:10:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

ceeslans wrote:

@marens: Thanks for your reworked accuweather script.
Tested it on some of my older weather conky's (none hourly) - all running well and without errors. Great work!

Thanks for the feedback.

Like you, I don't use the hourly forecast.
I tried to help earlier and my hourly script plugin works (for now).
Got confirmation from @loutch.

If you are interested, you will easily find everything you need.


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

Offline

#4533 2024-06-04 16:55:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

@loutch

I know you (unlike me) will use the hourly forecast.
If you want, you can make the marens_hourly  folder a little easier to use.
We can remove the temporary file icons  that we no longer need.

The end of the script should look like this:

## Remove temp file icons (marens_hourly)

#
  if [[ -f $HOME/Accuweather_conky_script/marens_hourly/icons ]]; then
#
	rm $HOME/Accuweather_conky_script/marens_hourly/icons
#
  fi
  

#Resume weather conky
pkill -CONT -xf "$weather_conky_launch_command"

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

Offline

#4534 2024-06-05 01:10:19

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

Gis Weather

If you remember, I fixed Gis Weather  at the beginning of January:
https://forums.bunsenlabs.org/viewtopic … 28#p131228

My fix still works great.

Finally, 5 days ago author @RingOV (GitHub) released a new version:
https://github.com/RingOV/gis-weather

He did it a little differently and let's use the official version again.

Notes *
If you use my settings, you will need to update Gis Weather  manually.
This way you will save all the settings I have posted here.       
Otherwise, you may have to go back to the beginning and do everything again.

Open ~/Downloads/gis-weather-master/services/gismeteo.py  file.

This part now looks like this:

    # day of week, date
    day = re.findall('<day.*? date="(.*?)"', source)[1:]
    # day.pop(0)
    for i in range(len(day)):
        dt1 = datetime.strptime(day[i], '%Y-%m-%d')
        day[i] = dt1.strftime('%a')
    date = re.findall('<day.*? date=".*?-(.*?)"', source)[1:]
    # date.pop(0)
    for i in range(len(date)):
        s = date[i].split('-')

Open ~/Downloads/gis-weather-master/gis-weather.py file (line 4) and replace to:

v = '0.8.4.22'

Done.


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

Offline

#4535 2024-06-05 09:03:39

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

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

Thanks, it works.  smile

sCMP3Xvt.png

Offline

#4536 2024-06-05 12:22:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

^ Your screenshot confirms what I've known for a long time.

Although the gismeteo server is updated much less often than accuweather, the results are very similar.
The differences are very small, almost negligible.

Now I have a new weather conky that displays data from an automated weather station located very close to me in a city park.
The fresh data I get every hour confirms that accuweather and gismeteo are working great.

Unfortunately, I can't say the same for openweathermap.


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

Offline

#4537 2024-06-10 13:52:00

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

Just info.

The moongiant  server issues seem to have been resolved and everything is working again.


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

Offline

#4538 2024-06-16 13:36:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

I'm not sure what the weather forecast is for my location.

Hazy or crazy:

accuweather.png

We all know that the original low/high temperature icons are ugly (I wrote about this before) and you can easily replace them:
https://forums.bunsenlabs.org/viewtopic … 57#p126357
https://forums.bunsenlabs.org/viewtopic … 62#p126362

If anyone has better icons (low/high temperature - .png, .svg, .jpg), please post them here.
We will easily edit them to be in the same format as the original.


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

Offline

#4539 2024-06-26 14:26:52

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

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

OK.
I played a little with Inkscape.

This is a simulation:

weather-now.png  weather-info.png


If you like them these are the new icons 30.png and 31.png:

30.png  31.png

Note *
Right click on the icon > Open Image in New Tab.


EDIT
Slightly enlarged icons and better positioned content.
The size, of course, remained the same (250x150).

accuweather.png

Last edited by marens (2024-06-28 23:16:20)


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

Offline

#4540 2024-07-31 08:17:05

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

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

Hello

Mix from Accuweather_conky_script , moongiant , saison.sh (from localhost587) & marens

Capture-d-cran-2024-07-31-10-43-52.png

@+

Last edited by loutch (2024-07-31 09:05:57)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

Board footer

Powered by FluxBB