Commit Graph

24 Commits

Author SHA1 Message Date
Pavel Valach
000bb0561b new get_modem_pin function, which reads from multiple sources 2021-10-15 09:39:16 +02:00
Pavel Valach
ec4236c58f sms_functions: Fixed modem not being set in the send_sms 2021-09-03 01:05:34 +02:00
Pavel Valach
800cf62d04
modem.State does not work :/ 2021-02-02 11:58:22 +01:00
Pavel Valach
dd587d830a
check_modem: check if registered and/or connected, and if there is signal 2021-02-02 11:54:51 +01:00
Pavel Valach
b532bd621d
chmod +x send_sms 2021-02-02 11:47:35 +01:00
Pavel Valach
901f596d0b
sms_functions: debug the modem status during unlock 2021-02-02 11:47:24 +01:00
Pavel Valach
8c37fe23d0
added test of check_modem 2021-02-02 11:41:05 +01:00
Pavel Valach
e7e855049a
sms_functions: added unlock_and_enable_modem 2021-02-02 11:39:40 +01:00
Pavel Valach
fa27b99970
larger timeout for ModemManager to find the modem 2021-02-02 11:33:39 +01:00
Pavel Valach
2ddf0a626f
add send_sms file (for testing) 2021-02-02 11:32:13 +01:00
Pavel Valach
cae36c789c
import subprocess 2020-08-25 12:08:43 +02:00
Pavel Valach
ca88faaaa2
import shlex 2020-08-25 12:08:17 +02:00
Pavel Valach
ba85e27177
unnecessary import 2020-08-25 12:07:33 +02:00
Pavel Valach
177df6bd10
observium SMS - detach to another thing 2020-08-25 12:07:02 +02:00
Pavel Valach
30dd3f9f3b
Observium SMS sender - remote version 2020-08-25 12:02:55 +02:00
0a97ea78ce remote icinga: do not log (for now) + fix sending unquoted string 2020-08-01 15:16:02 +00:00
4c3b7612e0 Fix SMS signal quality getting; new remote host notifications for Icinga 2020-08-01 14:57:54 +00:00
SIN admins
6cdfa96267 sms_functions: improved PIN input handling 2020-07-28 21:30:21 +01:00
333eb0578c sms_functions.unlock_sim: read PIN from modem_pin.txt 2020-07-28 11:37:25 +00:00
root
ee8e997dff Do not repeat if a SMS error; other fixes 2019-05-12 23:50:00 +02:00
root
d7f9b7ae71 Add retries to the key functions 2019-05-12 23:26:50 +02:00
root
6334bbda32 Separated function for assembling SMS and the main program 2017-02-04 12:30:34 +01:00
root
1745ad0be4 New scripts for Icinga and Observium 2017-02-04 11:34:47 +01:00
root
1feabffe2b First commit with working implementation 2017-02-02 14:41:18 +01:00