call mobile phone if alarmed
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.
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.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 2
- Joined: Fri Jun 09, 2006 7:20 am
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
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
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.
Thanks.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- 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
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
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.
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
Tom Stage
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
voronwe please eleborate, im intrigued, you change run states from your mobile? and get what status etc?
Cheers
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
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
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.
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: Select all
perl -wT $ZMDIR/zmdc.pl check
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
Tom Stage
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- 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
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
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.
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
Tom Stage
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
http://www.zoneminder.com/forums/viewto ... hlight=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
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
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
-
- Posts: 2
- Joined: Sat Jul 31, 2010 7:13 am
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
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