egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sayweather not working :(
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Tue Sep 10, 2019 9:54 am    Post subject: sayweather not working :( Reply with quote

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
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 614
Location: Tennessee, USA

PostPosted: Wed Sep 11, 2019 10:55 am    Post subject: Need a New Weather Source! Reply with quote

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
.
Back to top
View user's profile Send private message Visit poster's website
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Wed Sep 11, 2019 2:18 pm    Post subject: ok Reply with quote

ok thank you for the info, was sure a nice script Smile
gonna miss it
Back to top
View user's profile Send private message
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Thu Sep 12, 2019 12:26 pm    Post subject: weather Reply with quote

have tried 4 or 5 weather scripts and none anywhere close to sayweather Sad
Back to top
View user's profile Send private message
BLaCkShaDoW
Halfop


Joined: 11 Jan 2009
Posts: 98
Location: Romania

PostPosted: Fri Sep 13, 2019 8:25 am    Post subject: api adapt Reply with quote

I adapted my script to the current api, until we discover a new and better source Razz
http://www.tclscripts.net/files/file/62-blackweathertcl/?do=download
_________________
BLaCkShaDoW Productions @ WwW.TclScripts.Net
Back to top
View user's profile Send private message Send e-mail Visit poster's website
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Fri Sep 13, 2019 4:26 pm    Post subject: Thank you sir Reply with quote

Very Happy Thank you BLaCkShaDoW
Back to top
View user's profile Send private message
blameshift
Voice


Joined: 27 Mar 2017
Posts: 9

PostPosted: Sun Sep 22, 2019 9:20 am    Post subject: Reply with quote

Hello BlackShadow

I get this error when trying to use your script

[15:14:22] Tcl error [weather:get]: invalid command name "::json::json2dict"
Back to top
View user's profile Send private message
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Sun Sep 22, 2019 2:24 pm    Post subject: weather Reply with quote

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
Back to top
View user's profile Send private message
blameshift
Voice


Joined: 27 Mar 2017
Posts: 9

PostPosted: Mon Sep 23, 2019 2:23 am    Post subject: Reply with quote

Yep i got it working now

seems i needed to add the json.tcl package Very Happy

Thanks roger Smile
Back to top
View user's profile Send private message
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Mon Sep 23, 2019 5:10 am    Post subject: wow Reply with quote

First time i ever got something right on here Laughing Shocked Rolling Eyes lol your welcome and thanks for posting that it's fixed
Back to top
View user's profile Send private message
BarGuy
Voice


Joined: 20 Aug 2019
Posts: 16

PostPosted: Fri Oct 11, 2019 8:19 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Sun Oct 13, 2019 12:02 pm    Post subject: help maybe Reply with quote

was wondering if there is a way to get both "m" and "f" working together, otherwise script is working fine Smile
Back to top
View user's profile Send private message
BarGuy
Voice


Joined: 20 Aug 2019
Posts: 16

PostPosted: Mon Oct 14, 2019 12:55 pm    Post subject: Reply with quote

Hrmm, my BlackWeather stopped working today, says Error: Your API request failed. Please try again or contact support... was working fine yesterday
Back to top
View user's profile Send private message
roger
Halfop


Joined: 17 Jun 2018
Posts: 53

PostPosted: Mon Oct 14, 2019 1:48 pm    Post subject: time stamp Reply with quote

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.
Back to top
View user's profile Send private message
BarGuy
Voice


Joined: 20 Aug 2019
Posts: 16

PostPosted: Mon Oct 14, 2019 7:46 pm    Post subject: Re: time stamp Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber