You are not logged in.
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:
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.
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
Offline
^ 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:
If people would know how little brain is ruling the world, they would die of fear.
Offline
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
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
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
^ No need for titles.
There are many (including you) excellent conky connoisseurs here.
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
Offline
Hello @marens again. Can you share your conky scripts from #4523?
Offline
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
@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
@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
@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
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
^ 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
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
I'm not sure what the weather forecast is for my location.
Hazy or crazy:
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
OK.
I played a little with Inkscape.
This is a simulation:
If you like them these are the new icons 30.png and 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).
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
Hello
Mix from Accuweather_conky_script , moongiant , saison.sh (from localhost587) & marens
@+
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