2021-03-23 19:33:17 +03:00
2021-03-23 04:39:27 +03:00
2021-03-23 04:21:37 +03:00
2021-03-23 04:48:55 +03:00
2021-03-23 04:48:02 +03:00
2021-03-23 00:38:10 +03:00

e3372-sms-handler

E3372 SMS handler written in Python. Uses the hilink web interface API. Allows you to do something when SMS arrives.

Requirements

  • lxml (apt install python3-lxml or something like that)
  • see requirements.txt

Usage

You need at least Python 3.6 or so.

See main.py and adjust the sms_handler function to your needs.

The script should be launched periodically by cron. For example, put this to the crontab to launch it every 15 minutes:

*/15 * * * * python3 /path/to/e3372-sms-handler/main.py --trusted-phone +79001234567 > /dev/null

License

BSD-2c

Description
No description provided
Readme BSD-2-Clause 74 KiB
Languages
Python 100%