View previous topic :: View next topic |
Author |
Message |
shadrach Halfop
Joined: 14 Dec 2007 Posts: 74
|
Posted: Wed Jul 04, 2018 12:40 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
mondino Voice
Joined: 09 Jul 2018 Posts: 1 Location: Lebanon
|
Posted: Mon Jul 09, 2018 8:31 am Post subject: TCL Weather is not working |
|
|
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 |
|
Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 588 Location: Tennessee, USA
|
Posted: Mon Jul 16, 2018 7:54 pm Post subject: |
|
|
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
. |
|
Back to top |
|
 |
skeletor1969 Voice
Joined: 25 Jul 2018 Posts: 8
|
Posted: Wed Jul 25, 2018 2:25 pm Post subject: |
|
|
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? |
|
Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 588 Location: Tennessee, USA
|
|
Back to top |
|
 |
skeletor1969 Voice
Joined: 25 Jul 2018 Posts: 8
|
Posted: Wed Jul 25, 2018 8:05 pm Post subject: |
|
|
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? |
|
Back to top |
|
 |
shadrach Halfop
Joined: 14 Dec 2007 Posts: 74
|
Posted: Fri Jul 27, 2018 10:52 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
skeletor1969 Voice
Joined: 25 Jul 2018 Posts: 8
|
Posted: Sat Jul 28, 2018 4:03 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
shadrach Halfop
Joined: 14 Dec 2007 Posts: 74
|
Posted: Sun Jul 29, 2018 2:27 am Post subject: |
|
|
Quote: | 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: | ###
# 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. |
|
Back to top |
|
 |
skeletor1969 Voice
Joined: 25 Jul 2018 Posts: 8
|
Posted: Mon Jul 30, 2018 8:30 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
skeletor1969 Voice
Joined: 25 Jul 2018 Posts: 8
|
Posted: Sat Aug 25, 2018 2:07 pm Post subject: |
|
|
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/openweathermap-script-for-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. |
|
Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 588 Location: Tennessee, USA
|
Posted: Mon Aug 27, 2018 5:29 pm Post subject: SayWeather versions 6+ |
|
|
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: |
###############################################################
# 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
. |
|
Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 588 Location: Tennessee, USA
|
Posted: Mon Dec 31, 2018 12:32 am Post subject: The mobile feed at wunderground.com is active once again. |
|
|
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: |
###############################################################
## 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
. |
|
Back to top |
|
 |
willyw Owner
Joined: 15 Jan 2009 Posts: 990
|
Posted: Tue Feb 05, 2019 11:27 am Post subject: |
|
|
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 ! |
|
Back to top |
|
 |
|