KosherDev | Blog about kosher programming

23 Teves 5730 - Dec/09

11

Zmanim Bot for XMPP

Do you like to talk with artificial intellect (not that Pinocchio-reminding boy from Spielberg’s movie)?
If yes, then you should try to speak with a robot about everyday zmanim.
I want to give a credit to KosherJava for this wonderful link.
So, here it comes – Zmanim Bot by mkopinsky.

I use Pidgin for instant messaging. So, will describe step-by-step setup and usage of Zmanim bot in Pidgin.
1. First Add Buddy to your gmail.com (XMPP) account – ZmanimBot@gmail.com
2. Open the conversation window and start chatting with it.
That’s it for setup. Really simple, yeah?

My first chat looked as following:

Pidgin conversation window with Zmanim Bot

Pidgin conversation window with Zmanim Bot

What is it able to talk about?
According to command ‘help’ Zmanim Bot responds:

Here are instructions for using ZmanimBot.
To get a default list of zmanim for your location, just type the location.
To get specific zmanim, type the location, a colon, and the zmanim separated by commas.
To get zmanim for a specific date, put a colon and the date (or the words “today”, “tomorrow” or “yesterday” after the location or zmanim list.
Example: new york: hanetz: tomorrow
To see a list of available zmanim, type “list”.
To see a map of a location with bearing to Yerushalayim, type “map” and the location.
To leave a comment/bug report for us, type “comment” and then your comment.To get information about a particular location, type “location” and then the location.

I tried all the commands, mentioned by Zmanim bot:
Default zmanim

(09:29:59 AM) Beshkin: tallinn, estonia
(09:30:00 AM) Zmanim Bot: Zmanim for Tallinn, Estonia
December 10, 2009
Alos Hashachar: 6:42:49
Sunrise: 9:07:28
Shema GRA: 10:40:41
Tefilla GRA: 11:11:45
Chatzos: 12:13:53
Mincha Gedola: 12:29:25
Sunset: 3:20:17
Tzeis: 4:39:04

I verified zmanim and see that they are in general pretty accurate. Although, there is a small issue – default timezone is not Tallinn’s (UTC+2), but somewhere in United States, because it is already 11th of December here.

Specific zmanim

(10:01:31 AM) Beshkin: tallinn, estonia : Alos Hashachar
(10:01:31 AM) Zmanim Bot: Zmanim for Tallinn, Estonia
December 10, 2009
Alos Hashachar: 6:42:49

Also a very interesting feature. You can get information for a specific type of zmanim or even several, separated by commas. To get full list of supported zmanim type ‘list’

What are zmanim tomorrow?

(10:04:57 AM) Beshkin: tallinn, estonia : Alos Hashachar: tomorrow
(10:04:58 AM) Zmanim Bot: Zmanim for Tallinn, Estonia
December 11, 2009
Chanukah: 1 Candle
Alos Hashachar: 6:42:49

You can specify date (MM-DD-YYYY) or just words (“today”, “tomorrow” or “yesterday”). To get default list of zmanim just type ‘tallinn, estonia : 12-11-2009′

Map your zmanim

(09:29:25 AM) Beshkin: map Tallinn, Estonia
(09:29:26 AM) Zmanim Bot: Click here (courtesy of KosherJava): http://www.kosherjava.com/maps/zmanim.html?lat=59.4388619&lng=24.7544715&zoom=13

Nice feature. You can get zmanim data and direction to Jerusalem from your location.

Verify that you geographic location is determined correctly

(09:51:02 AM) Beshkin: location tallinn, estonia
(09:51:02 AM) Zmanim Bot: Location: Tallinn, Estonia
Latitude: 59.4388619°
Longitude: 24.7544715°
Timezone: Eastern European Time
(GMT +2, +1 hour for DST when applicable)

Leave a comment to developers.

(10:11:00 AM) Beshkin: comment thank you for a nice program (kosherdev.com)
(10:11:00 AM) Zmanim Bot: Thanks for your feedback.

I know they will be pleased.

Popularity: 9% [?]

RSS Feed

2 Comments

  • Michael Kopinsky | 24 Kislev 5770 - Dec 11, 2009 at 1:37 am

    Thanks for the nice review, and for letting me know about that issue with the timezones! I will look into getting that fixed.

    Thanks,
    Michael

    • bahaltener | 8 Teves 5770 - Dec 24, 2009 at 6:08 pm

      Nice feature!

      Can you please add an option for 24h system? AM PM is too confusing.

    (Required)
    (Required, will not be published)

    <<

    >>

    Find it!

    Theme Design by devolux.org