Démarrage SMS impossible depuis MAJ du 18/10/22 - modem lixee

La version du core n’a aucun impact.

Vérifiez que votre clé est toujours dans le mode « modem » (voir FAQ)
Je ne sais pas si votre cas est le même mais ici le symptôme était le même (log semblable) et cela a solutionné le problème: Arret brusque de fonctionner - #11 par leon-99

Bien le bonjour!

J’ai l’impression que ce n’est pas vraiment le même symptôme. Ni même le même matériel que le sujet mis en lien.

Et malgré la lecture de la FAQ je ne vois pas comment passer en mode modem.
https://doc.jeedom.com/fr_FR/plugins/communication/sms/beta/

Dans mes différents essais chronologiquement j’étais en:

  • 4.3 et SMS plugin stable: Ne fonctionne pas

  • 4.3 et SMS plugin beta; Ne fonctionne pas

  • Restauration en 4.2 et ancien plugin SMS (2020-11-18 01:05:29): fonctionne

  • Mise à jour en 4.3 en cochant la case « ne pas mettre à jour » sur le plugin SMS: fonctionne

Merci et bonne journée!

L’unique symptôme et l’unique message d’erreur qu’on a jusqu’ici c’est:

ERROR : Exception: None

et c’est pas grand chose pour pouvoir chercher…

d’où mon message précédent.

Effectivement, la documentation n’est pas un mode d’emploi de votre modem et mea culpa, ce n’était pas spécifié dans la FAQ mais au début de la doc:

Attention certaines clefs 3G sont en mode modem par défaut et non GSM. Il faut, à l’aide du logiciel de votre fabricant de clef, changer le mode de la clef sur GSM (ou texte, ou série).

J’insiste, je n’en sais rien si c’est la cause, j’essaie de vous donner des pistes après vous les essayées ou pas c’est comme vous voulez :slight_smile:

Et on te remercie grandement @Mips de te pencher sur le sujet :slight_smile:

[1609219.816279] usb 1-1.1: new full-speed USB device number 104 using dwc_otg
[1609219.923711] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
[1609219.954058] usb 1-1.1: FTDI USB Serial Device converter now attached to tty    USB0

Je vais essayer de rajouter du log pour voir exactement où ca bloque.
Est-ce que par hasard vous avez un code pin sur le sim? si oui, pouvez-vous essayer de le désactiver?

Je pensais en avoir un, mais après test dans un téléphone, on ne me le demande pas :upside_down_face:

je cherche du coté du driver aussi dwc_otg histoire de voir la conf actuelle

1 « J'aime »

Oui mais… dans la config il est mis (1234) , peux-tu essayer sans du coup?

edit: et si ca n’a pas encore été fait, essayer avec ou sans le « text mode » activé
je veux bien les logs à chaque fois pour voir s’il y a des différences dans les erreurs rencontrées

Malheureusement aucun changement dans les logs
toujours la même ‹ erreur ›

Test avec ou sans PIN
Test avec ou sans text mode

J’ai continué les tests.

Via le debian (et minicom)
Je n’ai aucun probleme pour l’envoi de SMS via le modem lixee

AT
OK

AT+CPIN=1234
ERROR

**AT+CMGF=1**
OK

AT+CMGS="+336*******"
> test message
> 

+CMGS: 147
OK

Donc à priori pas de problème de modem ni d’alimentation.
Que fait la MAJ du plugin SMS qui bloque la com la je sais pas du tout comment investiguer

VERSION PLUGIN SMS 3.3.39 EDIT 2022-10-19

Ce n’est pas la version du plugin ca :wink:

Il y a une nouvelle beta ajd normalement, je veux bien le nouveau log

Oups lol.

Au passage, j’aime pas du tout l’affichage des versions depuis quelques temps ou au lieu de nous donner un numéros de version on à la date … bof bof

image

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_sms
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:3 http://www.deb-multimedia.org buster InRelease [17.8 kB]
Hit:4 http://ftp.uk.debian.org/debian buster InRelease
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Get:6 https://deb.nodesource.com/node_16.x buster InRelease [4584 B]
Get:2 https://repo.jeedom.com/odroid stable InRelease [1640 B]
Hit:7 https://oph.mdrjr.net/meveric all InRelease
Get:8 http://security.debian.org/debian-security buster/updates/main Sources [274 kB]
Get:9 http://security.debian.org/debian-security buster/updates/main arm64 Packages [383 kB]
Get:10 https://oph.mdrjr.net/meveric buster InRelease [4131 B]
Get:11 http://security.debian.org/debian-security buster/updates/main Translation-en [209 kB]
Get:12 http://www.deb-multimedia.org buster/main Sources [101 kB]
Get:13 http://www.deb-multimedia.org buster/main arm64 Packages [112 kB]
Get:14 https://deb.nodesource.com/node_16.x buster/main arm64 Packages [772 B]
Err:2 https://repo.jeedom.com/odroid stable InRelease
The following signatures were invalid: EXPKEYSIG F9EB92D05446446C Jeedom
Get:15 https://oph.mdrjr.net/meveric buster/main arm64 Packages [47.8 kB]
Reading package lists...
W: GPG error: https://repo.jeedom.com/odroid stable InRelease: The following signatures were invalid: EXPKEYSIG F9EB92D05446446C Jeedom
E: The repository 'http://repo.jeedom.com/odroid stable InRelease' is not signed.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-serial
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
python3-wxgtk3.0 | python3-wxgtk
The following NEW packages will be installed:
python3-serial
0 upgraded, 1 newly installed, 0 to remove and 240 not upgraded.
Need to get 67.6 kB of archives.
After this operation, 379 kB of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian buster/main arm64 python3-serial all 3.4-4 [67.6 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 67.6 kB in 0s (516 kB/s)
Selecting previously unselected package python3-serial.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 85078 files and directories currently installed.)
Preparing to unpack .../python3-serial_3.4-4_all.deb ...
Unpacking python3-serial (3.4-4) ...
Setting up python3-serial (3.4-4) ...
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end sms
+ rm /tmp/jeedom_install_in_progress_sms
+ echo '*******************End of package installation******************'
*******************End of package installation******************
[2022-11-09 12:49:50]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=sms function=pre_update callInstallFunction=1
[2022-11-09 12:49:51]INFO : Début d'activation du plugin
[2022-11-09 12:49:52]INFO : Info sur le démon : {"log":"sms","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2022-11-09 11:45:28"}
[2022-11-09 12:49:52]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=sms function=update callInstallFunction=1
[2022-11-09 12:51:49]ERROR : Attention je pense qu\'il y a un soucis avec le démon que j\'ai relancé plus de 3 fois consécutivement
[2022-11-09 12:51:50]INFO : Lancement démon sms : /usr/bin/python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyUSB0 --loglevel debug --socketport 55002 --serialrate 9600 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey ********* --pid /tmp/jeedom/sms/deamon.pid
[2022-11-09 11:51:51]INFO : Start smsd
[2022-11-09 11:51:51]INFO : Log level : debug
[2022-11-09 11:51:51]INFO : Socket port : 55002
[2022-11-09 11:51:51]INFO : Socket host : 127.0.0.1
[2022-11-09 11:51:51]INFO : PID file : /tmp/jeedom/sms/deamon.pid
[2022-11-09 11:51:51]INFO : Device : /dev/ttyUSB0
[2022-11-09 11:51:51]INFO : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2022-11-09 11:51:51]INFO : Cycle : 30.0
[2022-11-09 11:51:51]INFO : Serial rate : 9600
[2022-11-09 11:51:51]INFO : Pin : None
[2022-11-09 11:51:51]INFO : Text mode : no
[2022-11-09 11:51:51]INFO : SMSC : None
[2022-11-09 11:51:51]DEBUG : Writing PID 6046 to /tmp/jeedom/sms/deamon.pid
[2022-11-09 11:51:51]DEBUG : Init request module v2.28.1
[2022-11-09 11:51:51]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-11-09 11:51:51]DEBUG : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=*** HTTP/1.1" 200 0
[2022-11-09 11:51:51]DEBUG : Socket interface started
[2022-11-09 11:51:51]DEBUG : LoopNetServer Thread started
[2022-11-09 11:51:51]DEBUG : Start listening...
[2022-11-09 11:51:51]DEBUG : Listening on: [127.0.0.1:55002]
[2022-11-09 11:51:51]DEBUG : Connecting to GSM Modem...
[2022-11-09 11:51:51]DEBUG : Text mode false
[2022-11-09 11:51:51]INFO : Connecting to modem on port /dev/ttyUSB0 at 9600bps
[2022-11-09 11:51:51]DEBUG : write: AT
[2022-11-09 11:51:52]DEBUG : write: AT
[2022-11-09 11:51:52]DEBUG : write: ATZ
[2022-11-09 11:52:02]ERROR : Global listen exception of type TimeoutException occurred: None
[2022-11-09 11:52:02]DEBUG : Send to jeedom :  {'number': 'none', 'message': 'None'}
[2022-11-09 11:52:02]ERROR : Exit 1 because this exeption is fatal
[2022-11-09 11:52:02]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-11-09 11:52:02]DEBUG : Shutdown
[2022-11-09 11:52:02]DEBUG : Removing PID file /tmp/jeedom/sms/deamon.pid
[2022-11-09 11:52:02]DEBUG : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=Yh107dV7pqMlAedWsrl0TTEqHF25ENFu HTTP/1.1" 200 0
[2022-11-09 11:52:03]DEBUG : LoopNetServer Thread stopped
[2022-11-09 11:52:03]DEBUG : Exit 0

On remarque un problème sur les horaires (on perd une heure) lol

Je note que les 10% d’espace disque qui me restait de la dernière grosse MAJ jeedom ont fondus très rapidement (me reste 2%).

EDIT

Pas la peine de relancer les dépendances, rien ne changera là.

Ca c’est votre système qui n’est pas correctement configuré mais c’est un autre sujet et cela n’a aucun impact.

Autre sujet également, ce n’est pas ce plugin qui prend la place; 67kB ou même 400kB c’est ridicule comme place :wink:
Donc on ne va pas en parler ici non plus, je vous laisse supprimer vos posts HS :wink:


Pour revenir sur le sujet, c’est ceci qui a changé:

[2022-11-09 11:51:51]INFO : Connecting to modem on port /dev/ttyUSB0 at 9600bps
[2022-11-09 11:51:51]DEBUG : write: AT
[2022-11-09 11:51:52]DEBUG : write: AT
[2022-11-09 11:51:52]DEBUG : write: ATZ
[2022-11-09 11:52:02]ERROR : Global listen exception of type TimeoutException occurred: None
  • j’ai rajouté les commandes AT (max 2 selon qu’il répond ou pas) pour tenter de réveiller le modem; avant le plugin faisait directement le ATZ.
  • et on voit le type de l’exception à présent TimeoutException même si le contenu est toujours « vide »

Donc le problème c’est que le modem répond pas => pouvez-vous re-vérifier le port & la vitesse?

lors de votre test ici:

Savez-vous évaluer (si possible à la demi-seconde prêt) combien de temps il a fallu surtout sur la première commande AT?

@FredGB

Pourriez-vous me montrer un log en debug du démarrage du démon sur l’ancienne version puisque vous êtes revenu dessus pour qu’on puisse comparer? je doute que ca mène quelque part mais on ne sait jamais que ca donne une piste

minicom se lance en 5s environ

Une fois dedans, la commande AT répond immédiatement.

Marche pas avec le flow control ON de mémoire

Bonjour,

[2022-11-09 14:00:49]DEBUG : Exit 0
[2022-11-09 14:00:52]INFO : Lancement démon sms : /usr/bin/python /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyUSB2 --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 0 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey 3ymR6PtKcc8nr18kwki41UHaXjjXbM7X --pid /tmp/jeedom/sms/deamon.pid
[2022-11-09 14:00:53]INFO : Start smsd
[2022-11-09 14:00:53]INFO : Log level : debug
[2022-11-09 14:00:53]INFO : Socket port : 55002
[2022-11-09 14:00:53]INFO : Socket host : 127.0.0.1
[2022-11-09 14:00:53]INFO : PID file : /tmp/jeedom/sms/deamon.pid
[2022-11-09 14:00:53]INFO : Device : /dev/ttyUSB2
[2022-11-09 14:00:53]INFO : Apikey : 3ymR6PtKcc8nr18kwki41UHaXjjXbM7X
[2022-11-09 14:00:53]INFO : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2022-11-09 14:00:53]INFO : Cycle : 0.0
[2022-11-09 14:00:53]INFO : Serial rate : 115200
[2022-11-09 14:00:53]INFO : Pin : None
[2022-11-09 14:00:53]INFO : Text mode : no
[2022-11-09 14:00:53]INFO : SMSC : None
[2022-11-09 14:00:53]DEBUG : Writing PID 11352 to /tmp/jeedom/sms/deamon.pid
[2022-11-09 14:00:53]DEBUG : Init request module v2.21.0
[2022-11-09 14:00:53]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-11-09 14:00:53]DEBUG : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=3ymR6PtKcc8nr18kwki41UHaXjjXbM7X HTTP/1.1" 200 0
[2022-11-09 14:00:53]DEBUG : Socket interface started
[2022-11-09 14:00:53]DEBUG : LoopNetServer Thread started
[2022-11-09 14:00:53]DEBUG : Listening on: [127.0.0.1:55002]
[2022-11-09 14:00:53]DEBUG : Start listening...
[2022-11-09 14:00:53]DEBUG : Connecting to GSM Modem...
[2022-11-09 14:00:53]DEBUG : Text mode false
[2022-11-09 14:00:53]INFO : Connecting to modem on port /dev/ttyUSB2 at 115200bps
[2022-11-09 14:00:53]DEBUG : write: ATZ
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: ATE0
[2022-11-09 14:00:53]DEBUG : response: ['ATE0
', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CFUN?
[2022-11-09 14:00:53]DEBUG : response: ['+CFUN: 1', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CMEE=1
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CPIN?
[2022-11-09 14:00:53]DEBUG : response: ['+CPIN: READY', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CLAC
[2022-11-09 14:00:53]DEBUG : response: ['+CME ERROR: 100']
[2022-11-09 14:00:53]DEBUG : write: AT+WIND?
[2022-11-09 14:00:53]DEBUG : response: ['+CME ERROR: 100']
[2022-11-09 14:00:53]DEBUG : write: AT+CGMI
[2022-11-09 14:00:53]DEBUG : response: ['SIMCOM_Ltd', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+ZPAS?
[2022-11-09 14:00:53]DEBUG : response: ['+CME ERROR: 100']
[2022-11-09 14:00:53]INFO : Unknown/generic modem type - will use polling for call state updates
[2022-11-09 14:00:53]DEBUG : write: AT+COPS=3,0
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CMGF=0
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CSCA?
[2022-11-09 14:00:53]DEBUG : response: ['+CSCA: "+33660003000",145', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CSMP=49,167,0,0
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CSCA?
[2022-11-09 14:00:53]DEBUG : response: ['+CSCA: "+33660003000",145', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CPMS=?
[2022-11-09 14:00:53]DEBUG : response: ['+CPMS: ("SM","ME","SM_P","ME_P","MT"),("SM","ME","SM_P","ME_P","MT"),("SM","ME","SM_P","ME_P","MT")', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CPMS="ME","ME","ME"
[2022-11-09 14:00:53]DEBUG : response: ['+CPMS: 5,50,5,50,5,50', 'OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CNMI=2,1,0,2
[2022-11-09 14:00:53]DEBUG : response: ['+CMS ERROR: 325']
[2022-11-09 14:00:53]WARNING : Incoming SMS notifications not supported by modem. SMS receiving unavailable.
[2022-11-09 14:00:53]DEBUG : write: AT+CLIP=1
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CRC=1
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : write: AT+CVHU=0
[2022-11-09 14:00:53]DEBUG : response: ['OK']
[2022-11-09 14:00:53]DEBUG : Waiting for network...
[2022-11-09 14:00:53]DEBUG : write: AT+CREG?
[2022-11-09 14:00:53]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:00:54]DEBUG : write: AT+CSQ
[2022-11-09 14:00:54]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:54]DEBUG : Ok
[2022-11-09 14:00:54]DEBUG : write: AT+COPS?
[2022-11-09 14:00:54]DEBUG : response: ['+COPS: 0,0,"BOUYGUES TELECOM"', 'OK']
[2022-11-09 14:00:54]DEBUG : write: AT+CPMS="ME","ME","ME"
[2022-11-09 14:00:54]DEBUG : Send to jeedom :  {'message': 'BOUYGUES TELECOM', 'number': 'network_name'}
[2022-11-09 14:00:54]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-11-09 14:00:54]DEBUG : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=3ymR6PtKcc8nr18kwki41UHaXjjXbM7X HTTP/1.1" 200 0
[2022-11-09 14:00:54]DEBUG : response: ['+CPMS: 5,50,5,50,5,50', 'OK']
[2022-11-09 14:00:54]DEBUG : write: AT+CMGD=1,4
[2022-11-09 14:00:54]DEBUG : response: ['+CMS ERROR: 321']
[2022-11-09 14:00:54]ERROR : Exception: CMS 321
[2022-11-09 14:00:54]DEBUG : write: AT+CPMS="SM","SM","SM"
[2022-11-09 14:00:54]DEBUG : response: ['+CPMS: 0,40,0,40,0,40', 'OK']
[2022-11-09 14:00:54]DEBUG : write: AT+CMGD=1,4
[2022-11-09 14:00:54]DEBUG : response: ['OK']
[2022-11-09 14:00:54]DEBUG : write: AT+CREG?
[2022-11-09 14:00:54]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:00:55]DEBUG : write: AT+CSQ
[2022-11-09 14:00:55]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:55]DEBUG : write: AT+CMGL=0
[2022-11-09 14:00:56]DEBUG : response: ['OK']
[2022-11-09 14:00:56]DEBUG : write: AT+CSQ
[2022-11-09 14:00:56]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:56]DEBUG : write: AT+CSQ
[2022-11-09 14:00:56]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:56]DEBUG : write: AT+CSQ
[2022-11-09 14:00:56]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:56]DEBUG : write: AT+CREG?
[2022-11-09 14:00:56]DEBUG : Send to jeedom :  {'message': '15', 'number': 'signal_strength'}
[2022-11-09 14:00:56]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-11-09 14:00:56]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:00:56]DEBUG : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=3ymR6PtKcc8nr18kwki41UHaXjjXbM7X HTTP/1.1" 200 0
[2022-11-09 14:00:57]DEBUG : write: AT+CSQ
[2022-11-09 14:00:57]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:57]DEBUG : write: AT+CMGL=0
[2022-11-09 14:00:57]DEBUG : response: ['OK']
[2022-11-09 14:00:57]DEBUG : write: AT+CSQ
[2022-11-09 14:00:57]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:57]DEBUG : write: AT+CREG?
[2022-11-09 14:00:57]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:00:58]DEBUG : write: AT+CSQ
[2022-11-09 14:00:58]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:58]DEBUG : write: AT+CMGL=0
[2022-11-09 14:00:58]DEBUG : response: ['OK']
[2022-11-09 14:00:58]DEBUG : write: AT+CSQ
[2022-11-09 14:00:58]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:58]DEBUG : write: AT+CREG?
[2022-11-09 14:00:58]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:00:59]DEBUG : write: AT+CSQ
[2022-11-09 14:00:59]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:59]DEBUG : write: AT+CMGL=0
[2022-11-09 14:00:59]DEBUG : response: ['OK']
[2022-11-09 14:00:59]DEBUG : write: AT+CSQ
[2022-11-09 14:00:59]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:00:59]DEBUG : write: AT+CREG?
[2022-11-09 14:00:59]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:00]DEBUG : write: AT+CSQ
[2022-11-09 14:01:00]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:00]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:00]DEBUG : response: ['OK']
[2022-11-09 14:01:00]DEBUG : write: AT+CSQ
[2022-11-09 14:01:00]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:00]DEBUG : write: AT+CREG?
[2022-11-09 14:01:00]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:01]DEBUG : write: AT+CSQ
[2022-11-09 14:01:01]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:01]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:01]DEBUG : response: ['OK']
[2022-11-09 14:01:01]DEBUG : write: AT+CSQ
[2022-11-09 14:01:01]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:01]DEBUG : write: AT+CREG?
[2022-11-09 14:01:01]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:02]DEBUG : write: AT+CSQ
[2022-11-09 14:01:02]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:02]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:02]DEBUG : response: ['OK']
[2022-11-09 14:01:02]DEBUG : write: AT+CSQ
[2022-11-09 14:01:02]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:02]DEBUG : write: AT+CREG?
[2022-11-09 14:01:02]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:03]DEBUG : write: AT+CSQ
[2022-11-09 14:01:03]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:03]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:03]DEBUG : response: ['OK']
[2022-11-09 14:01:03]DEBUG : write: AT+CSQ
[2022-11-09 14:01:03]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:03]DEBUG : write: AT+CREG?
[2022-11-09 14:01:03]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:04]DEBUG : write: AT+CSQ
[2022-11-09 14:01:04]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:04]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:04]DEBUG : response: ['OK']
[2022-11-09 14:01:04]DEBUG : write: AT+CSQ
[2022-11-09 14:01:04]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:04]DEBUG : write: AT+CREG?
[2022-11-09 14:01:04]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:05]DEBUG : write: AT+CSQ
[2022-11-09 14:01:05]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:05]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:05]DEBUG : response: ['OK']
[2022-11-09 14:01:05]DEBUG : write: AT+CSQ
[2022-11-09 14:01:05]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:05]DEBUG : write: AT+CREG?
[2022-11-09 14:01:05]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:06]DEBUG : write: AT+CSQ
[2022-11-09 14:01:06]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:06]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:06]DEBUG : response: ['OK']
[2022-11-09 14:01:06]DEBUG : write: AT+CSQ
[2022-11-09 14:01:06]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:06]DEBUG : write: AT+CREG?
[2022-11-09 14:01:06]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:07]DEBUG : write: AT+CSQ
[2022-11-09 14:01:07]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:07]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:07]DEBUG : response: ['OK']
[2022-11-09 14:01:07]DEBUG : write: AT+CSQ
[2022-11-09 14:01:08]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:08]DEBUG : write: AT+CREG?
[2022-11-09 14:01:08]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:09]DEBUG : write: AT+CSQ
[2022-11-09 14:01:09]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:09]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:09]DEBUG : response: ['OK']
[2022-11-09 14:01:09]DEBUG : write: AT+CSQ
[2022-11-09 14:01:09]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:09]DEBUG : write: AT+CREG?
[2022-11-09 14:01:09]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:10]DEBUG : write: AT+CSQ
[2022-11-09 14:01:10]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:10]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:10]DEBUG : response: ['OK']
[2022-11-09 14:01:10]DEBUG : write: AT+CSQ
[2022-11-09 14:01:10]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:10]DEBUG : write: AT+CREG?
[2022-11-09 14:01:10]DEBUG : response: ['+CREG: 0,1', 'OK']
[2022-11-09 14:01:11]DEBUG : write: AT+CSQ
[2022-11-09 14:01:11]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:11]DEBUG : write: AT+CMGL=0
[2022-11-09 14:01:11]DEBUG : response: ['OK']
[2022-11-09 14:01:11]DEBUG : write: AT+CSQ
[2022-11-09 14:01:11]DEBUG : response: ['+CSQ: 15,0', 'OK']
[2022-11-09 14:01:11]DEBUG : write: AT+CREG?
[2022-11-09 14:01:11]DEBUG : response: ['+CREG: 0,1', 'OK']

J’ai fait un SMS de test, ça fonctionne.

Bonjour à tous,

Je rencontre le meme probleme depuis la MAJ cependant j’ai un autre modele de modem (Huawei E220)

J’ai testé la sim dans un téléphone et je ne rencontre pas de pb.

0001|[2022-11-14 21:45:55]INFO : Lancement démon sms : /usr/bin/python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device auto --loglevel debug --socketport 55002 --serialrate 115200 --pin 1234 --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey PjiV6XxKtKZh8iZb2KLegmj2QAWXIS36 --pid /tmp/jeedom/sms/deamon.pid
0002|[2022-11-14 21:45:55]INFO : Start smsd
0003|[2022-11-14 21:45:55]INFO : Log level : debug
0004|[2022-11-14 21:45:55]INFO : Socket port : 55002
0005|[2022-11-14 21:45:55]INFO : Socket host : 127.0.0.1
0006|[2022-11-14 21:45:55]INFO : PID file : /tmp/jeedom/sms/deamon.pid
0007|[2022-11-14 21:45:55]INFO : Device : auto
0008|[2022-11-14 21:45:55]INFO : Apikey : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0009|[2022-11-14 21:45:55]INFO : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
0010|[2022-11-14 21:45:55]INFO : Cycle : 30.0
0011|[2022-11-14 21:45:55]INFO : Serial rate : 115200
0012|[2022-11-14 21:45:55]INFO : Pin : 1234
0013|[2022-11-14 21:45:55]INFO : Text mode : no
0014|[2022-11-14 21:45:55]INFO : SMSC : None
0015|[2022-11-14 21:45:55]INFO : Find device : /dev/ttyUSB0
0016|[2022-11-14 21:45:55]DEBUG : Writing PID 29536 to /tmp/jeedom/sms/deamon.pid
0017|[2022-11-14 21:45:55]DEBUG : Init request module v2.28.1
0018|[2022-11-14 21:45:55]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
0019|[2022-11-14 21:45:55]DEBUG : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=XXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1" 200 0
0020|[2022-11-14 21:45:55]DEBUG : Socket interface started
0021|[2022-11-14 21:45:55]DEBUG : LoopNetServer Thread started
0022|[2022-11-14 21:45:55]DEBUG : Listening on: [127.0.0.1:55002]
0023|[2022-11-14 21:45:55]DEBUG : Start listening...
0024|[2022-11-14 21:45:55]DEBUG : Connecting to GSM Modem...
0025|[2022-11-14 21:45:55]DEBUG : Text mode false
0026|[2022-11-14 21:45:55]DEBUG : Enter pin code : 1234
0027|[2022-11-14 21:45:55]INFO : Connecting to modem on port /dev/ttyUSB0 at 115200bps
0028|[2022-11-14 21:45:55]DEBUG : write: ATZ
0029|[2022-11-14 21:45:55]DEBUG : response: ['OK']
0030|[2022-11-14 21:45:55]DEBUG : write: ATE0
0031|[2022-11-14 21:45:55]DEBUG : response: ['ATE0
', 'OK']
0032|[2022-11-14 21:45:55]DEBUG : write: AT+CFUN?
0033|[2022-11-14 21:45:55]DEBUG : response: ['+CFUN: 1', 'OK']
0034|[2022-11-14 21:45:55]DEBUG : write: AT+CMEE=1
0035|[2022-11-14 21:45:55]DEBUG : response: ['OK']
0036|[2022-11-14 21:45:55]DEBUG : write: AT+CPIN?
0037|[2022-11-14 21:45:55]DEBUG : response: ['+CPIN: SIM PIN', 'OK']
0038|[2022-11-14 21:45:55]DEBUG : write: AT+CPIN="1234"
0039|[2022-11-14 21:45:55]DEBUG : response: ['OK']
0040|[2022-11-14 21:45:55]DEBUG : write: AT+CLAC
0041|[2022-11-14 21:45:55]DEBUG : response: ['&C', '&D', '&F', '&V', 'E', 'I', 'L', 'M', 'Q', 'V', 'X', 'Z', 'T', 'P', 'D', 'A', 'H', 'O', 'S0', 'S2', 'S3', 'S4', 'S5', 'S6', 'S7', 'S8', 'S9', 'S10', 'S11', '+FCLASS', '+ICF', '+IFC', '+IPR', '+GMI', '+GMM', '+GMR', '+GCAP', '+GSN', '+DR', '+DS', '+WS46', '+CCLK', '+CBST', '+CRLP', '+CV120', '+CHSN', '+CSSN', '+CREG', '+CGREG', '+CFUN', '+GCAP', '+CSCS', '+CSTA', '+CR', '+CEER', '+CRC', '+CMEE', '+CGDCONT', '+CGDSCONT', '+CGTFT', '+CGEQREQ', '+CGEQMIN', '+CGQREQ', '+CGQMIN', '+CGEREP', '+CGPADDR', '+CGDATA', '+CGCLASS', '+CGSMS', '+CSMS', '+CMGF', '+CSAS', '+CRES', '+CSCA', '+CSMP', '+CSDH', '+CSCB', '+FDD', '+FAR', '+FCL', '+FIT', '+ES', '+ESA', '+CMOD', '+CVHU', '+CSQ', '+CBC', '+CPAS', '+CPIN', '+CMEC', '+CKPD', '+CGATT', '+CGACT', '+CGCMOD', '+CPBS', '+CPBR', '+CPBF', '+CPBW', '+CPMS', '+CNMI', '+CMGL', '+CMGR', '+CMGS', '+CMSS', '+CMGW', '+CMGD', '+CMGC', '+CNMA', '+CMMS', '+FTS', '+FRS', '+FTH', '+FRH', '+FTM', '+FRM', '+CHUP', '+CCFC', '+CCUG', '+COPS', '+CLCK', '+CPWD', '+CUSD', '+CAOC', '+CACM', '+CAMM', '+CPUC', '+CCWA', '+CHLD', '+CIMI', '+CGMI', '+CGMM', '+CGMR', '+CGSN', '+CNUM', '+CSIM', '+CRSM', '+CCLK', '+CLVL', '+CMUT', '+CLCC', '+COPN', '+CPOL', '+CPLS', '+CTZR', '+CTZU', '+CLAC', '+CLIP', '+COLP', '+CDIP', '+CTFR', '+CLIR', '$QCCNMI', '$QCCLR', '$QCDMG', '$QCDMR', '$QCDNSP', '$QCDNSS', '$QCTER', '$QCSLOT', '$QCPINSTAT', '$QCPDPP', '$QCPDPLT', '$QCPWRDN', '$QCDGEN', '$BREW', '$QCSYSMODE', 'OK']
0042|[2022-11-14 21:45:55]DEBUG : write: AT+CGMI
0043|[2022-11-14 21:45:55]DEBUG : response: ['huawei', 'OK']
0044|[2022-11-14 21:45:55]DEBUG : write: AT+CGMI
0045|[2022-11-14 21:45:55]DEBUG : response: ['huawei', 'OK']
0046|[2022-11-14 21:45:55]INFO : Loading Huawei call state update table
0047|[2022-11-14 21:45:55]DEBUG : write: AT+COPS=3,0
0048|[2022-11-14 21:45:55]DEBUG : response: ['OK']
0049|[2022-11-14 21:45:55]DEBUG : write: AT+CMGF=0
0050|[2022-11-14 21:45:55]DEBUG : response: ['OK']
0051|[2022-11-14 21:45:55]DEBUG : write: AT+CSCA?
0052|[2022-11-14 21:45:55]DEBUG : response: ['+CME ERROR: 14']
0053|[2022-11-14 21:45:55]DEBUG : Device/SIM busy error detected; self._writeWait adjusted to 0.200000s
0054|[2022-11-14 21:45:55]DEBUG : write: AT+CSCA?
0055|[2022-11-14 21:45:55]DEBUG : response: ['+CME ERROR: 14']
0056|[2022-11-14 21:45:55]DEBUG : Device/SIM busy error detected; self._writeWait adjusted to 0.400000s
0057|[2022-11-14 21:45:56]DEBUG : write: AT+CSCA?
0058|[2022-11-14 21:45:56]DEBUG : response: ['+CME ERROR: 14']
0059|[2022-11-14 21:45:56]DEBUG : Device/SIM busy error detected; self._writeWait adjusted to 0.600000s
0060|[2022-11-14 21:45:57]DEBUG : write: AT+CSCA?
0061|[2022-11-14 21:45:57]DEBUG : response: ['+CSCA: "+336XXXXXXXXX",145', 'OK']
0062|[2022-11-14 21:45:57]DEBUG : self_writeWait set to 0.1 because of recovering from device busy (515) error
0063|[2022-11-14 21:45:57]DEBUG : self_writeWait set to 0.1 because of recovering from device busy (515) error
0064|[2022-11-14 21:45:57]DEBUG : self_writeWait set to 0.1 because of recovering from device busy (515) error
0065|[2022-11-14 21:45:57]DEBUG : write: AT+CSMP=49,167,0,0
0066|[2022-11-14 21:45:57]DEBUG : response: ['OK']
0067|[2022-11-14 21:45:57]DEBUG : write: AT+CSCA?
0068|[2022-11-14 21:45:57]DEBUG : response: ['+CSCA: "+336XXXXXXXXX",145', 'OK']
0069|[2022-11-14 21:45:57]DEBUG : write: AT+CPMS=?


saisissez ou collez du code ici

Je ne sais pas quoi tester d’autre car cela fonctionnait parfaitement avant la MAJ.

merci pour votre aide

Ce n’est pas du tout le même problème, pourquoi dites-vous cela? Avez-vous lu le log? Ce n’est pas du tout le même.
Veuillez créer un autre sujet.

1 « J'aime »

Bonjour,

En effet le problème n’est pas identique vu les logs mais le problème est présent depuis la MAJ du plugin SMS. (je pensais que mes logs auraient aussi pu aider dans la résolution d’un éventuel problème lié a cette maj).

Pour un modérateur je reste surpris du ton utilisé pour répondre à une personne qui pose une question…

Suite à votre recommandation j’ai ouvert un nouveau sujet?

Bonne soirée