| Author |
Message |
|
ynn
Joined: Fri Mar 17, 2006 3:30 am Posts: 148
|
 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 |
|
|
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
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 |
|
 |
|
martijn-plaat
Joined: Fri Jun 09, 2006 8:20 am Posts: 2
|
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 |
|
 |
|
ynn
Joined: Fri Mar 17, 2006 3:30 am Posts: 148
|
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 |
|
 |
|
jameswilson
Joined: Wed Jun 08, 2005 9:07 pm Posts: 5078 Location: Midlands UK
|
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 |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
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 |
|
 |
|
jameswilson
Joined: Wed Jun 08, 2005 9:07 pm Posts: 5078 Location: Midlands UK
|
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 |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
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 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. 
_________________ Best Regards
Tom Stage
|
| Sun Jun 18, 2006 12:04 am |
|
 |
|
jameswilson
Joined: Wed Jun 08, 2005 9:07 pm Posts: 5078 Location: Midlands UK
|
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 |
|
 |
|
voronwe
Joined: Tue Jan 18, 2005 1:40 am Posts: 193 Location: Copenhagen Denmark
|
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 |
|
 |
|
ynn
Joined: Fri Mar 17, 2006 3:30 am Posts: 148
|
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 |
|
 |
|
jameswilson
Joined: Wed Jun 08, 2005 9:07 pm Posts: 5078 Location: Midlands UK
|
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 |
|
 |
|
Acecare
Joined: Fri Jul 09, 2010 8:04 am Posts: 2
|
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.
|
| Fri Jul 09, 2010 8:14 am |
|
 |
|
diego.mens
Joined: Sat Jul 31, 2010 8:13 am Posts: 2
|
i want to know also , waitting for good suggestions . 
|
| Tue Aug 03, 2010 9:37 am |
|
 |
|
KevinT
Joined: Mon Aug 09, 2010 11:43 am Posts: 4
|
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 |
|
|