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 

incith:weather (2.8p) (Dec. 18th, 2008)
Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 19, 20, 21  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Hellster
Voice


Joined: 10 Aug 2006
Posts: 22

PostPosted: Mon May 04, 2015 6:45 pm    Post subject: Reply with quote

Bugger, so will need a rewritten script for the new page i guess.
Back to top
View user's profile Send private message
JJTX
Voice


Joined: 05 May 2015
Posts: 10
Location: United States

PostPosted: Tue May 05, 2015 4:46 pm    Post subject: Reply with quote

play4free2 wrote:
Weather Underground has shutdown Classic Wunderground. Classic Wunderground will no longer be available after May 4, 2015.



GAH! That explains why my weather BOT just quit working.

Is the script going to be updated, or changed ?

If not, is there a good alternative that we can install?
Back to top
View user's profile Send private message
inittab
Voice


Joined: 11 Jan 2012
Posts: 5

PostPosted: Tue May 05, 2015 6:22 pm    Post subject: Reply with quote

removed

Last edited by inittab on Sat May 09, 2015 1:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hellster
Voice


Joined: 10 Aug 2006
Posts: 22

PostPosted: Tue May 05, 2015 10:45 pm    Post subject: Reply with quote

JJTX wrote:
play4free2 wrote:
Weather Underground has shutdown Classic Wunderground. Classic Wunderground will no longer be available after May 4, 2015.

If not, is there a good alternative that we can install?

Apparently lilyweather works (for now) as it gets info from the mobile site/page, but for how long who knows
Back to top
View user's profile Send private message
JJTX
Voice


Joined: 05 May 2015
Posts: 10
Location: United States

PostPosted: Wed May 06, 2015 6:26 am    Post subject: Reply with quote

Hellster wrote:
JJTX wrote:
play4free2 wrote:
Weather Underground has shutdown Classic Wunderground. Classic Wunderground will no longer be available after May 4, 2015.

If not, is there a good alternative that we can install?

Apparently lilyweather works (for now) as it gets info from the mobile site/page, but for how long who knows


I guess I'll wait and see what happens here with this.

I dont really want to keep re scripting the bot.
Back to top
View user's profile Send private message
DrJinglesMD
Voice


Joined: 06 May 2015
Posts: 3

PostPosted: Wed May 06, 2015 2:03 pm    Post subject: Reply with quote

removed as requested

Last edited by DrJinglesMD on Sat May 09, 2015 7:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
Anahel
Halfop


Joined: 03 Jul 2009
Posts: 48
Location: Dom!

PostPosted: Thu May 07, 2015 3:58 pm    Post subject: Reply with quote

DrJinglesMD wrote:
New script utilizing some of inittab's code. Basically using OpenWeatherMap's API to get weather information and using Google's GeoLocation API to get accurate state + country names. Also is able to pull in the old saved locations via "-set ZIPCODE/CITY"

This script doesn't do everything that the old one did, but it;s a good start and it works for the time being.

Support is limited, feel free to fork and improve.

Instructions

# Required steps in short:
# 1. Go to the Google developers console https://console.developers.google.com
# 2. Create a new project. Give it a name like 'eggdrop', doesn't matter much.
# 3. When the project is loaded, select menu "APIs" under "APIs & auth"
# 4. In the list of APIs, enable the "YouTube Data API v3".
# 5. Select menu "Credentials" and click "Create new key".
# 6. Select key type "server".
# 7. Fill in the IP(s) or IP range from which the eggdrop bot will send
# requests to google's servers. This is a whitelist, if the request
# comes from a different IP, it will be rejected.
# Note: If my-ip or my-hostname is configured in eggdrop.conf, they should
# be entered here.
# 8. You now have an API KEY; copy it to the googleapikey variable in CONFIG SECTION
# OpenWeather configuration
# Goto http://openweathermap.org/
# Click Sign Up
# Fill in required boxes
# After sign op, login, and goto http://openweathermap.org/my
# Paate API KEy into apikey variable in CONFIG SECTION

https://github.com/patrick-hudson/EggDrop-Scripts/blob/master/hackpat-weather.tcl


i set everything up but when i want to check weather i get this:

Code:
[21:51:00] Tcl error [hackpatweather::getweather]: can't read "location": no such variable


i'm using eggdrop1.8 (compiled from source) and tcl8.6
Back to top
View user's profile Send private message
DrJinglesMD
Voice


Joined: 06 May 2015
Posts: 3

PostPosted: Fri May 08, 2015 10:48 pm    Post subject: Reply with quote

removed as requested

Last edited by DrJinglesMD on Sat May 09, 2015 7:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
t4uch0r
Voice


Joined: 09 May 2015
Posts: 2

PostPosted: Sat May 09, 2015 6:42 am    Post subject: Reply with quote

i got the same prob than Anahel and i used the Geocoding API.

[12:32:40] Tcl error [hackpatweather::getweather]: can't read "location": no such variable



Also i got before that:

[12:29:45] Tcl error [hackpatweather::getweather]: Unsupported URL type "https"

For this i removed the "s" in the config (https) urls to work. But still this "location" error.
Back to top
View user's profile Send private message
inittab
Voice


Joined: 11 Jan 2012
Posts: 5

PostPosted: Sat May 09, 2015 1:26 pm    Post subject: Reply with quote

removed

Last edited by inittab on Sat May 09, 2015 1:45 pm; edited 2 times in total
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sat May 09, 2015 1:39 pm    Post subject: Reply with quote

This thread is for incith-weather. Why is there other code here?

This thread isn't for randoms to post code, the place for that code would be the "Script HELP" or "Script REQUESTS" forum, or even YOUR OWN THREAD within "Script RELEASES". Such poor form show by people in this thread. Those (inittab & DrJinglesMD) who posted this stuff, please edit your posts and remove this code. The internet thanks you.


Btw...
Quote:
<speechles> !wz uki
<sp33chy> speechles's weather request; Ukiah Municipal, California (39.12583160/-123.20083618); Local Time: 7:45 PM (May 07, 2015); Updated: 49 minutes ago; Conditions: clr; Temperature: 69°F (20.6°C); Feels-like: 69°F (20.6°C); High/Low: Unavailable; UV: 1/12; Humidity: 30%; Wind: Variable at 4 MPH (6 KPH)


There are people working on fixing this script. But Wunderground is not allowing exposed access to all their data. They are forcing javascript snippets which must be executed to expose the high/low and forecasts, as well as the "long conditions". Working on fixing it, without leaving anything out. This is just a drawn out process. Expect an update in the future very soon.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
inittab
Voice


Joined: 11 Jan 2012
Posts: 5

PostPosted: Sat May 09, 2015 1:53 pm    Post subject: Reply with quote

I had originally posted as I didn't see anyone else posting about getting incith fixed and posted another option to get data from with a simple example. Hoping someone with more tcl experience could possibly modify incith to pull data from openweatherapi. Seeing as this apparently isn't appreciated, I removed my code.
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sat May 09, 2015 2:16 pm    Post subject: Reply with quote

New Version: Incith-weather 2.9d
Http://ereader.kiczek.com/incith-weather.tcl

Now before you get too excited. This is an interim broken release. !fc and !sky do not function yet. You have !time and !wz only. !wz is also partially broken. This is because of the variables not exposed in javascript having data we need to complete our weather calls. Trying several sneaky ways to get them to expose the data. There is also no support for multiple locations, yet... There will be, this is just the early advance copy for people watching this thread right now. Expect more updates soon.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
DrJinglesMD
Voice


Joined: 06 May 2015
Posts: 3

PostPosted: Sat May 09, 2015 7:40 pm    Post subject: Reply with quote

speechles wrote:
This thread is for incith-weather. Why is there other code here?

This thread isn't for randoms to post code, the place for that code would be the "Script HELP" or "Script REQUESTS" forum, or even YOUR OWN THREAD within "Script RELEASES". Such poor form show by people in this thread. Those (inittab & DrJinglesMD) who posted this stuff, please edit your posts and remove this code. The internet thanks you.


Btw...
Quote:
<speechles> !wz uki
<sp33chy> speechles's weather request; Ukiah Municipal, California (39.12583160/-123.20083618); Local Time: 7:45 PM (May 07, 2015); Updated: 49 minutes ago; Conditions: clr; Temperature: 69°F (20.6°C); Feels-like: 69°F (20.6°C); High/Low: Unavailable; UV: 1/12; Humidity: 30%; Wind: Variable at 4 MPH (6 KPH)


There are people working on fixing this script. But Wunderground is not allowing exposed access to all their data. They are forcing javascript snippets which must be executed to expose the high/low and forecasts, as well as the "long conditions". Working on fixing it, without leaving anything out. This is just a drawn out process. Expect an update in the future very soon.


No need to get testy here. We're all here to help. Since the main code in this thread has been updated I removed my code. You could have let those of us know you don't appreciate our help and I'm sure we would have gladly removed it without issue. Secondly maybe stop abusing Wunderground by scraping AKA stealing their data and instead use a real API that is made specifically for that? Don't blame WG because they are trying to protect their assets from people utilizing their service in a way they don't want. If you did that, then none of us would have come in here offering our help.

Either way, I'm glad the script is being updated and look forward to those updates.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat May 09, 2015 8:12 pm    Post subject: Reply with quote

speechles wrote:

New Version: Incith-weather 2.9d
...


Thank you.

And thanks for your time in it.
_________________
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
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 Previous  1, 2, 3 ... 15, 16, 17 ... 19, 20, 21  Next
Page 16 of 21

 
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