RASPBERRYPI:
Version of smsd:
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone:
Interface: serial / USB / some adapter...
HI
I am having some issues getting the eventhandler to run a simple python script when an SMS is received (comes into the incoming box)
I am running SMStools on a raspberrypi
I have the modem part working and can receive SMS messages without issues
The problem I ma having is that when I try to get the eventhandler to run a simple python script, nothing happens.
I can see the SMS come into the incoming box.
My eventhandler statement looks like this under the GSM1 header
eventhandler = /usr/local/bin/tester.py (Tester is the name of the python program)
The python program is
#! /usr/bin/env python
file = open('myfile.dat', 'w+')
I just want to try opening an new file called myfile.dat when a SMS comes into the incoming box.
I am really new to this so I don't know what I am doing wrong
The tester.py script runs when I type sudo python /usr/local/bin/tester.py so I know the script works
Any ideas what I am missing? DO I have permission issues?
Thanks in advance
Tom