Demonstration Python Scripts

Closed Posted Jul 9, 2009 Paid on delivery
Closed Paid on delivery

Some demonstration Python scripts to send Text messages and Email messages when receiving a message from the RS232 interface on Telit GSM/GPRS modems.

## Deliverables

I am looking for a few simple demo Python scripts to send messages using a Telit GSM/GPRS module.

The Telit module will receive data periodically in the form n"n/nn/nn" where nn is a ASCII 2 digit number 00, 0, 1 .. 29 + 99 The leading zero may sometimes be replaced by a “>?? character which should be tranmitted but otherwise can be ignored. I want to send these messages without any translation ??" i.e. as straight ASCII strings, the SMS and Email messages should ideally be time stamped.

I would like scripts to do the following :-

1 ) send a SMS text message each time a message is received.

2) send an Email each time a message is received.

3) send message via GPRS to a website each time a message is received. *(optional)*

The message should contain the message string recived.

I would also like more advanced scripts that reads a limit value by sending a command “RLT??, that will have a response “RLT = nn, nn, nn??, on start and then uses this value to determine if the message should be sent or not. The “>?? symbol can be ignored for the purpose of comparison but should still be transmitted in the message.

Each received value should be compared with the received limit value and if any of the three values exceeds the limit the text/email message should be sent. Please make sure the SMS text message or email is only sent the first time the value is exceeded, and reset when the value received is below the value received. Please also send an “Alarm condition over?? message when all three values are below the limit values for the first time.

Obviously the SMS phone number, the Email address, SMTP server and login details need to be configurable, so the code should make this easy, e.g. by having labelled assignments near the top of the code.

I would ideally like instructions of how to load and test the Python Scripts on a Telit module. I am currently using a Telit GE863 module but also want to use a GM862-GPS module.

**Future enhancements**

??" more advanced and configurable scripts, with additional information read from the device and sent as part of the messages.

- The storage of results and periodic email messages giving say a day’s result in one go.

- Web site page logging of GPRS messages of the values as they are sent, with text and graphical display.

PHP

Project ID: #2798792

About the project

4 proposals Remote project Active Jul 31, 2009

4 freelancers are bidding on average $244 for this job

fbehemot

See private message.

$170 USD in 14 days
(45 Reviews)
5.1
techdante

See private message.

$170 USD in 14 days
(6 Reviews)
3.2
vk1369

See private message.

$425 USD in 14 days
(1 Review)
2.8
pratdam

See private message.

$212.5 USD in 14 days
(1 Review)
2.7