Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Sending SMS with EventGhost?

If you have a question or need help, this is the place to be.
Post Reply
speedreeder
Posts: 10
Joined: Fri Dec 09, 2011 8:23 pm

Sending SMS with EventGhost?

Post by speedreeder »

Is it possible to send an SMS with EventGhost? I have an automated HTPC set up with this guide and I would love to add a 'Send SMS' action at the end of my macros. Specifically, I would be sending to a Palm Pre (running WebOS) and a Droid X (running Android GB), just in case that matters.

It looks like someone tried to do this using GoogleVoice: http://www.eventghost.org/forum/viewtop ... f=2&t=3378
But that plugin doesn't work for me, i keep getting a "Number is not valid" and "You must login before using this page" error, even though I'm entering a standard 10 digit number, and I've entered my GV email and password on the plugin set up screen.

Any ideas? suggestions?
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: Sending SMS with EventGhost?

Post by zian »

I think Pako is/has been working on/with a plugin for Snarl or Growl. I think those will do SMSs.
Search for those.
eventghost.net
Be there or be square.
speedreeder
Posts: 10
Joined: Fri Dec 09, 2011 8:23 pm

Re: Sending SMS with EventGhost?

Post by speedreeder »

Neither appears to do SMS notifications (It looks like the Mac version of Growl might, but the Windows version does not)
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Sending SMS with EventGhost?

Post by krambriw »

Could you consider email? If you have a push mail account, normally you could get that into your phone

BestR
speedreeder
Posts: 10
Joined: Fri Dec 09, 2011 8:23 pm

Re: Sending SMS with EventGhost?

Post by speedreeder »

For what I'm trying to do SMS is really the only solution.
maurilloh
Posts: 7
Joined: Wed Nov 02, 2011 2:07 pm

Re: Sending SMS with EventGhost?

Post by maurilloh »

speedreeder wrote:For what I'm trying to do SMS is really the only solution.
Maybe a way could be Skype. I didn't see any plugin about it but eventually by skype it's possible to send sms...

Byebye
mickelin
Experienced User
Posts: 85
Joined: Sun Jan 04, 2009 5:54 pm

Re: Sending SMS with EventGhost?

Post by mickelin »

Two options:

First is to use my Dovado UMR plugin, look in the plugin support forum. Drawback - requires a Dovado 3G router with a sim card dongle

Second is to sign up for an email to SMS gateway service. Some operators offer this service as part of their normal plan, where an email sent to [email protected] or similar gets forwarded as an SMS (only works if you are sending to yourself though). Others have it as an extra service and there are also specialised providers offering this service for a fee per SMS. Google SMS gateway. Drawback - costs money.
eatmeimadanish
Experienced User
Posts: 118
Joined: Thu Oct 01, 2009 5:11 pm

Re: Sending SMS with EventGhost?

Post by eatmeimadanish »

In my project doggo (about to be released as soon as some bugs and the win7 install is completed) I use my own SSL SMTP service via stunnel and blat to send directly to GMAIL or YAHOO or HOTMAIL. This is convenient in the sense that I can use google voice than as well and sms people via that. This requires you to have a gmail voice account of course. And no, its not an open relay.

look forward to www.doggohouse.com

Maybe this week if I can get the code finalized.
User avatar
Elizebtht
Posts: 1
Joined: Fri Nov 11, 2011 11:11 am

Re: Sending SMS with EventGhost?

Post by Elizebtht »

I haven't tried such diversity with EventGhost but have heard about its possibility.One platform for sending sms for which i have surety is Skype.You can use this platform for your needs until the solution of query is found.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Sending SMS with EventGhost?

Post by krambriw »

In my project doggo
You have been nagging about this for ages now. Wouldn't it be just simpler and better to announce it when it is really ready. Looking at your site gives nothing, just crap or empty space. You better shape up!

Best regards, Walter
eatmeimadanish
Experienced User
Posts: 118
Joined: Thu Oct 01, 2009 5:11 pm

Re: Sending SMS with EventGhost?

Post by eatmeimadanish »

@Walter. No.


P.S. I offer a ton of help and resources in this project, I don't just promote an open source, completely free project that will be released when I deem it to be. If doing that while balancing the raising of 5 adopted teenagers from foster care, countless other teenagers and young adults I give my life to, a full time job and coaching basketball, and various other open source projects I am involved with, isn't going fast enough for you, feel free to step in at anytime with assistance. There are plenty of teens who need people with the overwhelming desire to give unsolicited advice to guide them on how to "shape up".

Derek Bartron

http://www.ongo.com/v/842312/-1/CB1C069 ... homes-hope
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Sending SMS with EventGhost?

Post by krambriw »

Dear Derek,
Sounds pretty much like my life too. But I guess is a matter of attitude & personality, myself I wouldn't make to much noise before things are really ready anyway, I looked at your site and there was really nothing substantially there.

I did however not mean to make you upset, I know you are doing a lot for this community (as I am), I was just a bit sarcastic that you where bragging about something that looks so unfinished.

My best regards, Walter
eatmeimadanish
Experienced User
Posts: 118
Joined: Thu Oct 01, 2009 5:11 pm

Re: Sending SMS with EventGhost?

Post by eatmeimadanish »

The website is just a place holder until I am ready to launch. Doggo isn't just a program. Its a philosophy behind making the integration of Home Automation, Home Security, and Multimedia into a single system that is both elegant to use, and easy to configure. A way of thinking about problem solving that takes minutes instead of weeks (or in some cases months) to do simple things. Its delay is simply a redesign on how we will deliver it. Instead of a massive 700mb install we found a much easier, and elegant way to make doggo completely modular. So I decided to delay the release until this was fully tested on all platforms. You will fall in love with the project when its released, and realize how effective it will be in changing everything we do in our homes.

I think you will agree, there are many users who have to recreate the wheel everytime they want a cool system that does these things. Doggo makes it so everyone can have a phenomenal system, and the question will no longer be how to do it, and evolve into what else can we do with it. That's the beauty of free software.

At the heart is EG, used as more than just a remote controller, but a logic controller that is doggo's heart beat. I promise its coming very soon, and you will enjoy it, and I hope it will bring EG a ton of new followers and innovators.

No hard feelings, just wanted to put it into perspective.

As far as this post is concerned, I will release my code tonight for making blat and stunnel work together to use google, yahoo, or hotmail as a very convenient way to communicate via email or google voice's SMS. This method works great since it only runs when called, so it isn't an open relay, but allows users to unlock the potential of the features of these systems.
eatmeimadanish
Experienced User
Posts: 118
Joined: Thu Oct 01, 2009 5:11 pm

Re: Sending SMS with EventGhost?

Post by eatmeimadanish »

Download Blat http://sourceforge.net/projects/blat/files/
and Stunnel ftp://ftp.stunnel.org/stunnel/

Use the attached stunnel.conf file for gmail. Or edit for either Hotmail or Yahoo configuration.
Install stunnel by typing stunnel -install then stunnel -start

Copy blat to c:\email

Copy the below code into your eventghost config.

Code: Select all

 
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1544">
    <Folder Name="EmailNotification" Expanded="True">
        <Macro Name="Setup Blat">
            <Action>
                EventGhost.PythonScript(u'import bz2\nprint "You will need to change the path in this script to point" \nprint "to the location of your blat.exe, the default is C:\\Email"\nprint "this configures blat for your personal email"\neg.globals.password = "password"\neg.globals.username = "username"\neg.globals.useremail = "[email protected]"\neg.plugins.System.Execute(u\'c:\\\\email\\\\blat.exe\', u\'-install smtp.gmail.com {eg.globals.useremail} -u {eg.globals.username} -pw {eg.globals.password} - - gmailsmtp\', 0, False, 2, u\'\', False)\n')
            </Action>
        </Macro>
        <Macro Name="EventEmail">
            <Action Name="Just place events to email in this macro">
                EventGhost.PythonScript(u'import bz2\neg.globals.lastmessagetxt = str(eg.event.string) + "." + str(eg.event.payload)\nprint eg.globals.lastmessagetxt\neg.globals.password = "password"\neg.globals.username = "username"\neg.globals.useremail = "[email protected]"\neg.plugins.System.Execute(u\'c:\\\\email\\\\blat.exe\', u\'-p gmailsmtp -to {eg.globals.useremail} -subject "Message from system: " -body "{eg.globals.lastmessagetxt}" -server 127.0.0.1:25\', 3, False, 2, u\'\', False)\n')
            </Action>
        </Macro>
    </Folder>
</EventGhost> 
Once done, you will see a setup blat macro. Provide blat with your login info inside the python script. Once you do, run the Setup Blat macro which will setup blat for your email. Now you can just drop events into the EventEmail macro and it auto email you everytime an event fires.

In gmail setup a forwarding address for anything with the subject line contained in the EventEmail macro to your cell phone. The following web site will help you setup your forwarding address.

http://www.makeuseof.com/tag/email-to-sms/

Thats it, now your EG will email anything you want, and send you an SMS if you want as well.
Attachments
stunnel.zip
Unzip and store in the same folder as stunnel.exe
(1.15 KiB) Downloaded 171 times
Post Reply