Limitation des SMS
This commit is contained in:
12
.env
12
.env
@@ -16,7 +16,7 @@ GYRO_CHECK_SEC=20
|
||||
GYRO_NORMAL_CONFIRM=2
|
||||
GYRO_MODE_CONTINUOUS=1
|
||||
GYRO_HYSTERESIS=0.3
|
||||
ALERT_OK_SMS_GYRO=1
|
||||
ALERT_OK_SMS_GYRO=0
|
||||
ALERT_OK_SMS=0
|
||||
GYRO_SMS_MIN_SEC=120
|
||||
GYRO_MQTT_TOPIC_SACLAY=Saclay/gyrophare
|
||||
@@ -48,12 +48,18 @@ OVH_CONSUMER_KEY=305f2e8611e58b83930de84ee65c99f9
|
||||
OVH_SMS_SERVICE=sms-jm164396-1
|
||||
OVH_SMS_SENDER=DOMO91FR
|
||||
SMS_RECEIVER=+33759600180
|
||||
ALERT_SMS_TO_SACLAY=Michel:+33635164680
|
||||
ALERT_SMS_TO_MEUDON=Michel:+33635164680
|
||||
ALERT_SMS_TO_SACLAY=Michel:+33759600180
|
||||
ALERT_SMS_TO_MEUDON=Michel:+33759600180
|
||||
|
||||
ALERT_SMS_CLIENT_TO_MEUDON=Sekou:+33625903364,Damien:+33680388259
|
||||
ALERT_SMS_CLIENT_TO_SACLAY=Nicolas:+33682069405,Sabrina:+33650270939,Mirceta:+33601162960
|
||||
# Activer/désactiver globalement l’envoi client
|
||||
ALERT_SMS_CLIENT_ENABLED=1
|
||||
# 1) couper les SMS internes
|
||||
ALERT_INTERNAL_SMS_ENABLED=0# 0 = coupe tous les SMS “internes” (déclenchement)
|
||||
|
||||
# 2) limiter le flux par cooldown (par sonde)
|
||||
ALERT_SMS_COOLDOWN_SEC=3600# 3600s = 1 SMS max / sonde / heure
|
||||
# (compatibilité: si non défini, on retombe sur GYRO_SMS_MIN_SEC ou 120s)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user