This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

WunderWeather : Support & Updates

Support & discussion of released scripts, and announcements of new releases.
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

Broken. Response to every query is currently:

Conditions not available for LOCATION (try adding state, country, province, etc)

Wunderweather appear to have change search code. Anyone able to rectify this? TIA.
User avatar
mondino
Voice
Posts: 12
Joined: Mon Jul 09, 2018 8:11 am
Location: Lebanon
Contact:

TCL Weather is not working

Post by mondino »

Hello there.

WunderWeather version 5.03 04/12/2017 ##
## Original Script by (lily@disorg.net) ##
## Version 5.0+ updates by SpiKe^^


This weather TCL is still broken. It is not working. Whenever I try to look for any country's weather, it gives out this message:

Example: !w Beirut, Lebanon

Conditions not available for beirut, lebanon (try adding state, country, province, etc)

I hope to get that solved soon.

Thank you in advance.

Regards,


mondino
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

The old mobile feed seems to no longer be available.

That is very sad.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
s
skeletor1969
Voice
Posts: 8
Joined: Wed Jul 25, 2018 2:20 pm

Post by skeletor1969 »

Is there anyway to work around this or re-work the script?

I don't know about anyone else but I am having trouble finding a weather script that still works.

Any suggestions?
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

Maybe someone could check out this script and report back:)

Weather eggdrop script for wunderground.com API
https://www.m00nie.com/2015/06/weather- ... d-com-api/
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
s
skeletor1969
Voice
Posts: 8
Joined: Wed Jul 25, 2018 2:20 pm

Post by skeletor1969 »

SpiKe^^ wrote:Maybe someone could check out this script and report back:)

Weather eggdrop script for wunderground.com API
https://www.m00nie.com/2015/06/weather- ... d-com-api/

I tried it and the script doesn't crash my bot however, you need your own api key from wunderground.

Wunderground no longer gives out free api keys apparently so that leaves this script no good.

lol so any thoughts guys?
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

This script by Blackshdow is good. It uses the french meteo weather service but displays extensive info in english and is customisaable:

http://www.tclscripts.net/files/file/6-blackmeteotcl/

DESCRIPTION:
Displays real-time weather conditions, days forecast and local time from any city in the world.

Supports US Zipcode, UK Postcode, Canada Postalcode or worldwide city name.

Few of the available variable: max./min. and 'feels like' temperatures, wind speed, sun rise/set, astronomy, local time, etc.
s
skeletor1969
Voice
Posts: 8
Joined: Wed Jul 25, 2018 2:20 pm

Post by skeletor1969 »

Thank you shadrach for posting the script.

I can confirm the script works perfectly. However, most of it is in romanian but for all intensive purposes it displays what you need. Thank you again.

Also, SpiKe^^

I have left a comment for the m00nie script and he has replied. m00nie didnt know about wudnerground taking away their free api so he is going to see if he can get his script to work with the openweather api. I will keep this thread posted if I hear anything more.

Unless Spike^^ can reconfigure the wunderground script to work with a different api.

Thanks everyone.
Last edited by skeletor1969 on Mon Jul 30, 2018 8:51 pm, edited 1 time in total.
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

Thank you shadrach for posting the script.

I can confirm the script works perfectly. However, most of it is in french but for all intensive purposes it displays what you need. Thank you again.
Did you select Engish as language in the script?

Code: Select all

###
# Language setting
# - set here the default language of the script
# - supports different languages for every channel
#   ( RO / EN )
###
set meteo(lang_def) "EN"
My bot displays 100% english language.
s
skeletor1969
Voice
Posts: 8
Joined: Wed Jul 25, 2018 2:20 pm

Post by skeletor1969 »

lol damn i truly did miss that i should have looked it over a bit more. I guess i was so excited to try it lol

Thank you

I made the changes and even changed forecast to 5 days instead of 3. Script works perfectly. You can also change the language from the command line if you don't feel like editing the file.

Thanks again
s
skeletor1969
Voice
Posts: 8
Joined: Wed Jul 25, 2018 2:20 pm

Post by skeletor1969 »

I am still using the blackmeteo script that shadrach posted as it works perfectly.

However, I would like to mention that m00nie has written an openweather api script if anyone is interested.

https://www.m00nie.com/2018/08/openweat ... r-eggdrop/

I have put it on another bot and it runs perfectly. You have to sign up for and openweather api key and a timezone key. Other than that its another great script.
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

SayWeather versions 6+

Post by SpiKe^^ »

The next working version of The Script Formerly Known as WunderWeather is now available at the tcl archive:
https://tclarchive.org/view.php?id=1793

Code: Select all

###############################################################
#  Important Notice about SayWeather ver. 6.01                #
#                                                             #
#  This is the next great version of:                         #
#  The Script Formerly Known as WunderWeather                 #
#                                                             #
#  www.wunderground.com is now the Weather Corporation and    #
#  is no longer providing free weather data to anyone!!       #
#  This version changes our weather provider to www.apixu.com #
###############################################################


###############################################################
## SayWeather  version 6.01                       25/08/2018 ##
## Original Script by (lily@disorg.net)                      ##
## Version 5.0+ updates by SpiKe^^      www.mytclscripts.com ##
##                                                           ##
## -> NEW IN VERSION 6.01 <-                                 ##
## - Changed the weather source page to www.apixu.com        ##
## - Changed script name from WunderWeather to SayWeather    ##
## - Script now requires a Free API Key from www.apixu.com   ##
## - Temporarily removed the forecast part of the reply.     ##
##     Recoded forecast will be available in next version    ##
##                                                           ##
################## - Version 5.0+ History - ###################
## VERSION 5.03  -  04/12/2017                               ##
## - Users can now set/save their default weather location.  ##
##     example:  !w set miami, fl                            ##
##     To use that saved weather location, just type:  !w    ##
##     Does Not use the Eggdrop user file (saves to a file)  ##
## - Added metric conversion of most forecast strings.       ##
## - Script now allows multiple public weather triggers.     ##
## VERSION 5.01  -  28/10/2017                               ##
## - All processes and globals are now in a namespace        ##
## - Replaced weather forecast (removed by Kiely Allen)      ##
## - Replaced metric setting (removed by Kiely &/or David)   ##
## - Added 3 new settings for removing colors and/or bolds   ##
## - Added Throttle Users - Thanks to user & speechles       ##
###############################################################

# International Weather script for Eggdrop.
# Displays in both F/C and MPH/KPH
# Will return weather from www.apixu.com
# Requires TCL8.5 or greater
# Has been tested on Eggdrop 1.8.3

# You must ".chanset #channel +weather" for each chan
# you wish to use this in.

# Usage: !w  :or: !w <input>
# Input can be <zip> <city, st> <city, country> <airport code>

See also this forum thread about SayWeather versions 6+
http://forum.egghelp.org/viewtopic.php?t=20499
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

The mobile feed at wunderground.com is active once again.

Post by SpiKe^^ »

The mobile feed at wunderground.com is active once again (Thanks Wunderground).

The last released version of WunderWeather should be back working.
This is a nice simple weather script, that requires no api key, and no tls

Get WunderWeather ver. 5.03 at: https://tclarchive.org/view.php?id=1804
or just get a copy from page 1 of this forum thread.

Code: Select all

###############################################################
## WunderWeather  version 5.03                    04/12/2017 ##
## Original Script by (lily@disorg.net)                      ##
## Version 5.0+ updates by SpiKe^^      www.mytclscripts.com ##
##                                                           ##
## -> NEW IN VERSION 5.03 <-                                 ##
## - Users can now set/save their default weather location.  ##
##     example:  !w set miami, fl                            ##
##     To use that saved weather location, just type:  !w    ##
##     Does Not use the Eggdrop user file (saves to a file)  ##
## - Added metric conversion of most forecast strings.       ##
## - Script now allows multiple public weather triggers.     ##
##                                                           ##
################## - Version 5.0+ History - ###################
## VERSION 5.01  -  28/10/2017                               ##
## - All processes and globals are now in a namespace        ##
## - Replaced weather forecast (removed by Kiely Allen)      ##
## - Replaced metric setting (removed by Kiely &/or David)   ##
## - Added 3 new settings for removing colors and/or bolds   ##
## - Added Throttle Users - Thanks to user & speechles       ##
###############################################################

# Lilys Simple Weather (lily@disorg.net)
# International Weather script for Eggdrop.
# Displays in both F/C and MPH/KPH
# Will return weather from www.wunderground.com
# Requires TCL8.0 or greater
# Has been tested on Eggdrop 1.8.0 and 1.6.21

# You must ".chanset #channel +weather" for each chan
# you wish to use this in.

# Usage: !w <input>
# Input can be <zip> <city, st> <city, country> <airport code> <pws>
# To use PWS: !w pws:yourwundergroundpws

# VERSION 4.0 - output string rewrite
# VERSION 4.2 - http::cleanup, agent string update
# VERSION 4.3 - Single tag change in mobile.wunderground source
#               (first in 4-ish years).
# VERSION 4.4 - fixed no windm var bug.
# VERSION 4.5 - Single tag change in mobile.wunderground source
#               for forecast.
# VERSION 4.6 - Made default scale configurable

# VERSION 4.6+ - Edits/Updates by Kiely Allen and David Moore
# Edited Feb 01, 2014 - Kiely Allen:
#  - Removed Forecast (may tidy up output later and add it again)
#  - Added Barometer/Pressure (Rising & Falling)
#  - Added Windchill & Fixed Output Tidyness
# Edited Feb 04, 2014 - David Moore:
#  - Color Changing Temperature & Aliases
#  - Don't Show Windchill If There Is None
# Edited Feb 09, 2014 - Kiely Allen/David Moore
#  - Added Wind Gust, Cleaned Up Code, Fixed Multiple Choices Bug
# Edited Feb 10, 2014 - David Moore
#  - Don't show windchill if $windcf/$windcc is <0.5F than $tempf
#    Wind would often be 'calm' and windchill would show 0.1-0.5F±
# Edited Feb 13, 2014 - Kiely Allen/David Moore
#  - Remove metric related config checks, all output includes
#    both imperial and metric.
#  - Don't show windchill if windchill is higher than $tempf,
#    windchills under 1F of $tempf are insignificant
# Edited Feb 14, 2014 - Kiely Allen
#  - Removed custom !ws as it didn't work as exoected,
#    (need to fix missing $windgm error)
# Edited Jun 12, 2014 - Kiely Allen
#  - Fixed $color extending to all text after $tempf with \003

# VERSION 4.7 - Edits/Updates made by SpiKe^^ - Oct 12, 2017
#  Fixed two display issues with "Wind: ...gusting to..."
#  - Added code to hide wind gusting string if have none.
#    ( hides this: gusting to 0.0MPH (0.0KPH) )
#  - Fixed a color-code issue in the display string used
#    when showing "Wind: ...gusting to..."

####################################################################

package require http
setudef flag weather

SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Spike^^ :

I finally got around to grabbing a copy of your Wunderweather script and trying it.

I like it! Nice. :)

Thank you.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
s
spuniun
Voice
Posts: 10
Joined: Wed Oct 12, 2005 1:03 pm

Post by spuniun »

Seems that the mobile page was removed (again?).
These requests get redirected to https://www.wunderground.com/cgi-bin/fi ... ile&query= now.
Simply updating the URL does not seem to work unfortunately.
Post Reply