View unanswered posts | View active topics It is currently Fri May 24, 2013 8:30 pm



Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
call mobile phone if alarmed 
Author Message

Joined: Fri Mar 17, 2006 3:30 am
Posts: 148
Post call mobile phone if alarmed
Hi,
I would like to ask everyone if someone already done this?
can ZM does call my cell phone using the serial modem if there is alarm triggered? or send me sms using my nokia cable attached to usb?

thanks.


Mon Jun 12, 2006 1:57 pm
Profile
Site Admin
User avatar

Joined: Wed Jul 09, 2003 3:07 pm
Posts: 5221
Location: Bristol, UK
Post 
There is no solution built in. However if you can find code to generate SMS's then you can integrate it into ZM by using zmtrigger or using it as a filter script.

_________________
Phil


Tue Jun 13, 2006 10:28 am
Profile ICQ YIM WWW

Joined: Fri Jun 09, 2006 8:20 am
Posts: 2
Post 
you can use a sms-gateway. when an alarm is triggered zoneminder sends an email to 06123456789@sms-gateway.com where 06123456789 is your mobile number. When the email is send to that mailadres you receive a sms-message.

or

Combine Astrisk (OpenSource PBX) with Zoneminder and Asterisk will call you up when an alarm is triggered. You hear a computer voice saying "alarm detected!" or something like that. search this forum about Asterisk.

Greets Martijn


Thu Jun 15, 2006 8:42 am
Profile

Joined: Fri Mar 17, 2006 3:30 am
Posts: 148
Post 
In my warehouse, I don't have internet yet, so the only solution is only through serial port with modem or nokia cell phone attached with DKU5 cable. and if there is alarm, I would like the modem or the cellphone to call me at my cell phone. Phil, can it be done with simple ATDT command? if yes, do you know what file I should modify?
Thanks.


Sat Jun 17, 2006 6:02 am
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
I have read things about cell phones craking when left for extended periods. I have looked at the possibilty of using a normal modem and phoning the cell phone text number and passing the test message like this. You will find another thread on this subject. Im not sure Phil is expert in this area, you need another member with comms skills. See my other message its around somewhere

_________________
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk


Sat Jun 17, 2006 11:25 am
Profile WWW
User avatar

Joined: Tue Jan 18, 2005 1:40 am
Posts: 193
Location: Copenhagen Denmark
Post 
Hi All

Iam using a wavecom 1306B(http://www.wavecom.com) GSM modem with my ZM installation, but note that i have not set up any alarm function with ZM as of yet, the software that iam using is SMS Server Tools found at http://www.meinemullemaus.de/ and i woul think that such an integration would be farely easy since you can send sms thru a shell script. What iam using this GSM modem for is to change states and get info from my ZM box.

_________________
Best Regards
Tom Stage


Sat Jun 17, 2006 7:29 pm
Profile WWW

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
voronwe please eleborate, im intrigued, you change run states from your mobile? and get what status etc?

Cheers

_________________
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk


Sat Jun 17, 2006 8:00 pm
Profile WWW
User avatar

Joined: Tue Jan 18, 2005 1:40 am
Posts: 193
Location: Copenhagen Denmark
Post 
Hi James

I can see now that i read my post once more that it can be a bit tricky to onderstand what i was trying to say so here goes.

The setup i have atm. with my gsm modem is this.:

1. I can send an sms to the gsm modem, that is then recived by the SMS Server tool, and that in turn can call a shell script in witch you can define what can happen, for instance if i want to know if ZM is running i send an sms containing a request for a status, the shell script then read the sms and see that iam requesting a status, it then excecutes
Code:
perl -wT $ZMDIR/zmdc.pl check
witch will telle me if ZM is running or not (i havent worked with the what state ZM is in yet, but that is next), and it allso tells me how much space is used on my data disk.

2. I can send a sms to the gsm modem with a message to turn ZM to my active state, witch in turn is equal to my cams bieng in Modect mode.

3. I can send a sms that then tells ZM to change state so my cams go into Monitor mode.


So in all i can do pretty much anything within my shell script, since sms tools will call that script, and execute what you want it to based on the info inside the sms.

And if you would want an sms to be sent when an alarm happens in zm, you could call that same or another shell script and have that make an sms and put into the outgoing que with the info you want it to contain.

I hope that i have explained it in a way that is more understandeble than the last one hehe. 8)

_________________
Best Regards
Tom Stage


Sun Jun 18, 2006 12:04 am
Profile WWW

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
i like that thanks. I suppose you have a sim and a contract in your modem

_________________
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk


Sun Jun 18, 2006 12:21 am
Profile WWW
User avatar

Joined: Tue Jan 18, 2005 1:40 am
Posts: 193
Location: Copenhagen Denmark
Post 
Hi James

Yes i have a Sim and a cheap contract, and that works just fine for the purpuse that i have.

And since SMS tools and the wavecom GSM modem dont care what kind of contract you have that option is open to your choice, and with the shell script option to sms tools only your emagination set's the limit.

_________________
Best Regards
Tom Stage


Sun Jun 18, 2006 1:21 am
Profile WWW

Joined: Fri Mar 17, 2006 3:30 am
Posts: 148
Post 
Hi James,

I could not find the thread.
Can it be done actually by just doing AT-command to serial modem if thereis motion detected?

thanks.


Mon Jun 19, 2006 7:55 am
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
http://www.zoneminder.com/forums/viewtopic.php?t=6285&highlight=sms
Not sure. I would assume so but it would depend on your phone. You would need a different command per phone by the looks of things

_________________
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk


Mon Jun 19, 2006 8:01 am
Profile WWW

Joined: Fri Jul 09, 2010 8:04 am
Posts: 2
Post 
I definitely agree with you. If you follow the instructions provided by tech_fixer, you could probably fix your problem. So you should do it properly by merely following the instructions.

_________________
voip phone systems


Fri Jul 09, 2010 8:14 am
Profile

Joined: Sat Jul 31, 2010 8:13 am
Posts: 2
Post 
i want to know also , waitting for good suggestions . 8)


Tue Aug 03, 2010 9:37 am
Profile

Joined: Mon Aug 09, 2010 11:43 am
Posts: 4
Post 
Hi,
Im using Linux, Fedora and found that sending SMS messages is very easy. I have made my machine send and receive messages and control actions both inside ZM and outside.

I bought a Nokia and a USB data cable configured SMS with GNOKII
Using http://www.gnokii.org/

I did pay as you go with this Nokia. Using the GNOKII tools you can send messages using your phone (no gateway is needed as the GSM modem is all in the phone). And using some scripting and the GNOKII command line i am able to read messages from the phone and take actions on them.

Hope that helps.
Kevin


Mon Aug 09, 2010 11:47 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group