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.

sayweather not working :(

Support & discussion of released scripts, and announcements of new releases.
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

sayweather not working :(

Post by roger »

Apixu is no longer, Dear Apixu User,

Great News: Apixu is now weatherstack

After months of preparation, Apixu is now officially relaunching as weatherstack - a new, faster, more capable and completely rebuilt weather API service.
got new keys from weatherstack but get this error,

Error: No Error and No Location Data??

gone as far as i can, waiting patiently, peaple are grumbling, they can't look out a window lol
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Need a New Weather Source!

Post by SpiKe^^ »

The new free api only does "Real-Time Weather".

I don't think it's worth trying to 'fix' the script to work with that new api.
The only default commands supported are !w and !wz

In Need of a Better Weather Source!!
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

ok

Post by roger »

ok thank you for the info, was sure a nice script :)
gonna miss it
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

weather

Post by roger »

have tried 4 or 5 weather scripts and none anywhere close to sayweather :(
User avatar
BLaCkShaDoW
Op
Posts: 117
Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:

api adapt

Post by BLaCkShaDoW »

I adapted my script to the current api, until we discover a new and better source :P
http://www.tclscripts.net/files/file/62 ... o=download
BLaCkShaDoW Production @ WwW.TclScripts.Net
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

Thank you sir

Post by roger »

:D Thank you BLaCkShaDoW
b
blameshift
Voice
Posts: 12
Joined: Mon Mar 27, 2017 4:24 am

Post by blameshift »

Hello BlackShadow

I get this error when trying to use your script

[15:14:22] Tcl error [weather:get]: invalid command name "::json::json2dict"
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

weather

Post by roger »

you have loaded the http package
and an api key from weatherstack.com ?

it's working fine on mine

check if you have json.tcl installed. if not install it in scripts
b
blameshift
Voice
Posts: 12
Joined: Mon Mar 27, 2017 4:24 am

Post by blameshift »

Yep i got it working now

seems i needed to add the json.tcl package :D

Thanks roger :)
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

wow

Post by roger »

First time i ever got something right on here :lol: :shock: :roll: lol your welcome and thanks for posting that it's fixed
B
BarGuy
Voice
Posts: 24
Joined: Tue Aug 20, 2019 3:27 pm

Post by BarGuy »

BLaCkShaDoW Thanks for the script... Just a quick question... When I do a !w command, the observation time is about 4 hrs out on a set weather (ie I checked the weather at 8:12am a couple mins ago, and says observation time is 12:09pm. But if I do a !time command, the time is correct.
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

help maybe

Post by roger »

was wondering if there is a way to get both "m" and "f" working together, otherwise script is working fine :)
B
BarGuy
Voice
Posts: 24
Joined: Tue Aug 20, 2019 3:27 pm

Post by BarGuy »

Hrmm, my BlackWeather stopped working today, says Error: Your API request failed. Please try again or contact support... was working fine yesterday
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

time stamp

Post by roger »

the reason for the diffrence is the weather is set to greenwich mean time. i got curious after your post.

i got the same error yesterday when i tried looking yo someone's weather who didn't have a default weather location set. tried my own weather location and it was fine.
B
BarGuy
Voice
Posts: 24
Joined: Tue Aug 20, 2019 3:27 pm

Re: time stamp

Post by BarGuy »

I solved (sorta) the api issue... I had mine set to an airport code, which was working until today, when I switched to my actual city name, it started working again
roger wrote:the reason for the diffrence is the weather is set to greenwich mean time. i got curious after your post.

i got the same error yesterday when i tried looking yo someone's weather who didn't have a default weather location set. tried my own weather location and it was fine.
Post Reply