![]() ![]() ![]() Now what I wanted is to be able to answer using SMS and run a script upon receiving a message. The project is a Nagios Monitoring sending SMS. ResponseLines = SerialComms.write(self, data + writeTerm, waitForResponse=waitForResponse, timeout=timeout, expectedResponseTermSeq=expectedResponseTermSeq)įile "/home/pi/.local/lib/python2.7/site-packages/gsmmodem/serial_comms.py", line 135, in write ![]() INFO: Connecting to modem on port /dev/ttyUSB0 at 115200bpsįile "/home/pi/.local/lib/python2.7/site-packages/gsmmodem/modem.py", line 201, in connectįile "/home/pi/.local/lib/python2.7/site-packages/gsmmodem/modem.py", line 490, in supportedCommandsįile "/home/pi/.local/lib/python2.7/site-packages/gsmmodem/modem.py", line 398, in write Yes, smsd is stopped and yes I use the same script, I justed renamed it to $ python sms.py I'm using ttyUSB0 since that one is also working with gammu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |