bonsoir
en fin de compte cela n’a fonctionné qu’une seule journée et je ne sais pas pourquoi: mon pb de démon est revenu sur le plug in EnOcean, box Freedelta, clé USB310 de chez domadoo
je mets les log ci dessous
[2022-11-06 18:50:19]ERROR : Attention je pense qu\'il y a un soucis avec le démon que j\'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 17:50:21.692]ERROR : No device found
[2022-11-06 18:50:51]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:07:30]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:07:35.299]ERROR : No device found
[2022-11-06 20:08:02]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:08:14]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2022-11-06 20:07:30
[2022-11-06 20:08:14]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2022-11-06 20:07:30
[2022-11-06 20:08:24]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:08:26.972]ERROR : No device found
[2022-11-06 20:08:56]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:10:03]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:10:10.720]ERROR : No device found
[2022-11-06 20:10:26]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2022-11-06 20:10:03
[2022-11-06 20:10:35]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:10:51]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:10:58.048]ERROR : No device found
[2022-11-06 20:11:22]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:13:03]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
/usr/local/lib/python3.7/dist-packages/bs4/builder/__init__.py:546: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
XMLParsedAsHTMLWarning.MESSAGE, XMLParsedAsHTMLWarning
[2022-11-06 19:13:09.602]ERROR : No base id from enocean key, shutdown
[2022-11-06 20:13:46]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:14:28]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
sudo: unable to resolve host JeedomLep: Name or service not known
/usr/local/lib/python3.7/dist-packages/bs4/builder/__init__.py:546: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
XMLParsedAsHTMLWarning.MESSAGE, XMLParsedAsHTMLWarning
[2022-11-06 19:14:35.714]ERROR : No base id from enocean key, shutdown
[2022-11-06 20:15:15]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-06 20:15:17]INFO : Lancement démon openenocean : sudo /usr/bin/python3 /var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py --device /dev/ttyS2 --loglevel debug --socketport 55006 --callback http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php --apikey iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5 --cycle 0.3 --pid /tmp/jeedom/openenocean/deamon.pid
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:15:17.764]INFO : Start openenoceand
[2022-11-06 19:15:17.764]INFO : Log level : debug
[2022-11-06 19:15:17.764]INFO : Socket port : 55006
[2022-11-06 19:15:17.764]INFO : Socket host : 127.0.0.1
[2022-11-06 19:15:17.764]INFO : PID file : /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:15:17.764]INFO : Apikey : iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5
[2022-11-06 19:15:17.764]INFO : Callback : http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php
[2022-11-06 19:15:17.765]INFO : Cycle : 0.3
[2022-11-06 19:15:18.003]INFO : Loading profile file : D2-32-01.xml
/usr/local/lib/python3.7/dist-packages/bs4/builder/__init__.py:546: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
XMLParsedAsHTMLWarning.MESSAGE, XMLParsedAsHTMLWarning
[2022-11-06 19:15:18.009]INFO : Loading profile file : D2-32-02.xml
[2022-11-06 19:15:18.015]INFO : Loading profile file : D2-32-00.xml
[2022-11-06 19:15:18.019]INFO : Loading profile file : D2-06-01.xml
[2022-11-06 19:15:18.035]INFO : Loading profile file : D2-03-0A.xml
[2022-11-06 19:15:18.039]INFO : Loading profile file : D2-05-00.xml
[2022-11-06 19:15:18.051]INFO : Loading profile file : D2-14-41.xml
[2022-11-06 19:15:18.066]INFO : Loading profile file : D2-14-30.xml
[2022-11-06 19:15:18.081]INFO : Loading profile file : D2-04-08.xml
[2022-11-06 19:15:18.089]INFO : Loading profile file : D2-15-00.xml
[2022-11-06 19:15:18.095]INFO : Loading profile file : D2-01-10.xml
[2022-11-06 19:15:18.138]INFO : Loading profile file : D2-01-06.xml
[2022-11-06 19:15:18.182]INFO : Loading profile file : D2-01-07.xml
[2022-11-06 19:15:18.257]INFO : Loading profile file : D2-01-0C.xml
[2022-11-06 19:15:18.303]INFO : Loading profile file : D2-01-05.xml
[2022-11-06 19:15:18.346]INFO : Loading profile file : D2-01-0E.xml
[2022-11-06 19:15:18.394]INFO : Loading profile file : D2-01-02.xml
[2022-11-06 19:15:18.443]INFO : Loading profile file : D2-01-09.xml
[2022-11-06 19:15:18.493]INFO : Loading profile file : D2-01-04.xml
[2022-11-06 19:15:18.540]INFO : Loading profile file : D2-01-12.xml
[2022-11-06 19:15:18.583]INFO : Loading profile file : D2-01-03.xml
[2022-11-06 19:15:18.630]INFO : Loading profile file : D2-01-0F.xml
[2022-11-06 19:15:18.677]INFO : Loading profile file : D2-01-0A.xml
[2022-11-06 19:15:18.719]INFO : Loading profile file : D2-01-01.xml
[2022-11-06 19:15:18.763]INFO : Loading profile file : D2-01-0B.xml
[2022-11-06 19:15:18.845]INFO : Loading profile file : D2-01-11.xml
[2022-11-06 19:15:18.888]INFO : Loading profile file : D2-01-0D.xml
[2022-11-06 19:15:18.932]INFO : Loading profile file : D2-01-08.xml
[2022-11-06 19:15:18.975]INFO : Loading profile file : D2-01-00.xml
[2022-11-06 19:15:19.020]INFO : Loading profile file : D06D-00-00.xml
[2022-11-06 19:15:19.050]INFO : Loading profile file : D1079-00-00.xml
[2022-11-06 19:15:19.061]INFO : Loading profile file : D1079-01-00.xml
[2022-11-06 19:15:19.143]INFO : Loading profile file : F6-03-01.xml
[2022-11-06 19:15:19.150]INFO : Loading profile file : F6-10-00.xml
[2022-11-06 19:15:19.153]INFO : Loading profile file : F6-02-01.xml
[2022-11-06 19:15:19.158]INFO : Loading profile file : F6-02-02.xml
[2022-11-06 19:15:19.162]INFO : Loading profile file : F6-02-04.xml
[2022-11-06 19:15:19.167]INFO : Loading profile file : F6-02-03.xml
[2022-11-06 19:15:19.169]INFO : Loading profile file : F6-04-01.xml
[2022-11-06 19:15:19.172]INFO : Loading profile file : F6-05-01.xml
[2022-11-06 19:15:19.175]INFO : Loading profile file : D5-00-01.xml
[2022-11-06 19:15:19.177]INFO : Loading profile file : A5-20-01.xml
[2022-11-06 19:15:19.198]INFO : Loading profile file : A5-11-02.xml
[2022-11-06 19:15:19.211]INFO : Loading profile file : A5-13-11.xml
[2022-11-06 19:15:19.216]INFO : Loading profile file : A5-04-03.xml
[2022-11-06 19:15:19.221]INFO : Loading profile file : A5-04-02.xml
[2022-11-06 19:15:19.226]INFO : Loading profile file : A5-04-01.xml
[2022-11-06 19:15:19.231]INFO : Loading profile file : A5-30-01.xml
[2022-11-06 19:15:19.235]INFO : Loading profile file : A5-12-01.xml
[2022-11-06 19:15:19.240]INFO : Loading profile file : A5-12-00.xml
[2022-11-06 19:15:19.246]INFO : Loading profile file : A5-12-10.xml
[2022-11-06 19:15:19.251]INFO : Loading profile file : A5-09-05.xml
[2022-11-06 19:15:19.257]INFO : Loading profile file : A5-09-07.xml
[2022-11-06 19:15:19.265]INFO : Loading profile file : A5-09-04.xml
[2022-11-06 19:15:19.271]INFO : Loading profile file : A5-09-06.xml
[2022-11-06 19:15:19.275]INFO : Loading profile file : A5-09-0c.xml
[2022-11-06 19:15:19.280]INFO : Loading profile file : A5-10-01.xml
[2022-11-06 19:15:19.287]INFO : Loading profile file : A5-10-03.xml
[2022-11-06 19:15:19.291]INFO : Loading profile file : A5-10-06.xml
[2022-11-06 19:15:19.298]INFO : Loading profile file : A5-10-12.xml
[2022-11-06 19:15:19.307]INFO : Loading profile file : A5-10-04.xml
[2022-11-06 19:15:19.319]INFO : Loading profile file : A5-3F-7F.xml
[2022-11-06 19:15:19.331]INFO : Loading profile file : A5-14-01.xml
[2022-11-06 19:15:19.337]INFO : Loading profile file : A5-14-05.xml
[2022-11-06 19:15:19.343]INFO : Loading profile file : A5-08-01.xml
[2022-11-06 19:15:19.351]INFO : Loading profile file : A5-38-08.xml
[2022-11-06 19:15:19.369]INFO : Loading profile file : A5-06-03.xml
[2022-11-06 19:15:19.373]INFO : Loading profile file : A5-06-02.xml
[2022-11-06 19:15:19.380]INFO : Loading profile file : A5-06-01.xml
[2022-11-06 19:15:19.387]INFO : Loading profile file : A5-02-02.xml
[2022-11-06 19:15:19.389]INFO : Loading profile file : A5-02-13.xml
[2022-11-06 19:15:19.392]INFO : Loading profile file : A5-02-0B.xml
[2022-11-06 19:15:19.395]INFO : Loading profile file : A5-02-19.xml
[2022-11-06 19:15:19.398]INFO : Loading profile file : A5-02-15.xml
[2022-11-06 19:15:19.401]INFO : Loading profile file : A5-02-04.xml
[2022-11-06 19:15:19.404]INFO : Loading profile file : A5-02-12.xml
[2022-11-06 19:15:19.406]INFO : Loading profile file : A5-02-18.xml
[2022-11-06 19:15:19.409]INFO : Loading profile file : A5-02-20.xml
[2022-11-06 19:15:19.415]INFO : Loading profile file : A5-02-09.xml
[2022-11-06 19:15:19.419]INFO : Loading profile file : A5-02-01.xml
[2022-11-06 19:15:19.422]INFO : Loading profile file : A5-02-07.xml
[2022-11-06 19:15:19.425]INFO : Loading profile file : A5-02-17.xml
[2022-11-06 19:15:19.428]INFO : Loading profile file : A5-02-14.xml
[2022-11-06 19:15:19.431]INFO : Loading profile file : A5-02-11.xml
[2022-11-06 19:15:19.434]INFO : Loading profile file : A5-02-06.xml
[2022-11-06 19:15:19.437]INFO : Loading profile file : A5-02-30.xml
[2022-11-06 19:15:19.440]INFO : Loading profile file : A5-02-16.xml
[2022-11-06 19:15:19.443]INFO : Loading profile file : A5-02-05.xml
[2022-11-06 19:15:19.446]INFO : Loading profile file : A5-02-1A.xml
[2022-11-06 19:15:19.450]INFO : Loading profile file : A5-02-0A.xml
[2022-11-06 19:15:19.453]INFO : Loading profile file : A5-02-03.xml
[2022-11-06 19:15:19.455]INFO : Loading profile file : A5-02-10.xml
[2022-11-06 19:15:19.458]INFO : Loading profile file : A5-02-1B.xml
[2022-11-06 19:15:19.461]INFO : Loading profile file : A5-02-08.xml
[2022-11-06 19:15:19.464]INFO : Loading profile file : A5-07-01.xml
[2022-11-06 19:15:19.469]INFO : Loading profile file : A5-07-03.xml
[2022-11-06 19:15:19.473]INFO : Loading profile file : A5-05-01.xml
[2022-11-06 19:15:19.477]INFO : Successfully loaded 97 profiles !
[2022-11-06 19:15:19.485]DEBUG : Writing PID 12287 to /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:15:19.486]DEBUG : Init request module v2.28.1
[2022-11-06 19:15:19.492]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-11-06 19:15:19.500]DEBUG : http://127.0.0.1:80 "GET /plugins/openenocean/core/php/jeeOpenEnOcean.php?apikey=iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5 HTTP/1.1" 200 0
[2022-11-06 19:15:19.502]DEBUG : Socket interface started
[2022-11-06 19:15:19.503]DEBUG : LoopNetServer Thread started
[2022-11-06 19:15:19.503]DEBUG : Start listening...
[2022-11-06 19:15:19.503]DEBUG : Listening on: [127.0.0.1:55006]
[2022-11-06 19:15:19.505]ERROR : Fatal error : Could not configure port: (5, 'Input/output error')
[2022-11-06 19:15:19.653]DEBUG : Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/serial/serialposix.py", line 398, in _reconfigure_port
orig_attr = termios.tcgetattr(self.fd)
termios.error: (5, 'Input/output error')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py", line 247, in
listen()
File "/var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py", line 52, in listen
globals.COMMUNICATOR = SerialCommunicator(port=_device)
File "/var/www/html/plugins/openenocean/resources/openenoceand/enocean/communicators/serialcommunicator.py", line 17, in __init__
self.__ser = serial.Serial(port, 57600, timeout=0.1)
File "/usr/local/lib/python3.7/dist-packages/serial/serialutil.py", line 244, in __init__
self.open()
File "/usr/local/lib/python3.7/dist-packages/serial/serialposix.py", line 332, in open
self._reconfigure_port(force_update=True)
File "/usr/local/lib/python3.7/dist-packages/serial/serialposix.py", line 401, in _reconfigure_port
raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (5, 'Input/output error')
[2022-11-06 19:15:19.653]DEBUG : Shutdown
[2022-11-06 19:15:19.653]DEBUG : Removing PID file /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:15:20.006]DEBUG : LoopNetServer Thread stopped
[2022-11-06 19:15:20.006]DEBUG : Exit 0
[2022-11-06 20:15:40]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2022-11-06 20:15:15
[2022-11-06 20:16:00]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-06 20:16:02]INFO : Lancement démon openenocean : sudo /usr/bin/python3 /var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py --device auto --loglevel debug --socketport 55006 --callback http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php --apikey iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5 --cycle 0.3 --pid /tmp/jeedom/openenocean/deamon.pid
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:16:02.745]INFO : Start openenoceand
[2022-11-06 19:16:02.745]INFO : Log level : debug
[2022-11-06 19:16:02.745]INFO : Socket port : 55006
[2022-11-06 19:16:02.745]INFO : Socket host : 127.0.0.1
[2022-11-06 19:16:02.746]INFO : PID file : /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:16:02.746]INFO : Apikey : iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5
[2022-11-06 19:16:02.746]INFO : Callback : http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php
[2022-11-06 19:16:02.746]INFO : Cycle : 0.3
[2022-11-06 19:16:02.775]INFO : Find device : None
[2022-11-06 19:16:02.804]INFO : Find device : None
[2022-11-06 19:16:02.805]ERROR : No device found
[2022-11-06 19:16:02.805]DEBUG : Shutdown
[2022-11-06 19:16:02.805]DEBUG : Removing PID file /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:16:02.805]DEBUG : Exit 0
[2022-11-06 20:16:32]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:18:53]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=openenocean function=pre_update callInstallFunction=1
[2022-11-06 20:19:14]INFO : Début d'activation du plugin
[2022-11-06 20:19:15]INFO : Info sur le démon : {"log":"openenocean","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2022-11-06 20:16:00"}
[2022-11-06 20:19:15]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=openenocean function=update callInstallFunction=1
[2022-11-06 20:20:03]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-06 20:20:04]INFO : Lancement démon openenocean : sudo /usr/bin/python3 /var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py --device auto --loglevel debug --socketport 55006 --callback http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php --apikey iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5 --cycle 0.3 --pid /tmp/jeedom/openenocean/deamon.pid
sudo: unable to resolve host JeedomLep: Name or service not known
[2022-11-06 19:20:05.378]INFO : Start openenoceand
[2022-11-06 19:20:05.378]INFO : Log level : debug
[2022-11-06 19:20:05.378]INFO : Socket port : 55006
[2022-11-06 19:20:05.379]INFO : Socket host : 127.0.0.1
[2022-11-06 19:20:05.379]INFO : PID file : /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:20:05.379]INFO : Apikey : iGyGQQwhUapwZ7vyH7LLCEy8gKEYEnJXJqXJccPQsNl0R8uknawZvecUm8P5VMN5
[2022-11-06 19:20:05.379]INFO : Callback : http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php
[2022-11-06 19:20:05.380]INFO : Cycle : 0.3
[2022-11-06 19:20:05.409]INFO : Find device : None
[2022-11-06 19:20:05.438]INFO : Find device : None
[2022-11-06 19:20:05.439]ERROR : No device found
[2022-11-06 19:20:05.439]DEBUG : Shutdown
[2022-11-06 19:20:05.439]DEBUG : Removing PID file /tmp/jeedom/openenocean/deamon.pid
[2022-11-06 19:20:05.439]DEBUG : Exit 0
[2022-11-06 20:20:34]ERROR : Impossible de lancer le démon openenocean, vérifiez le port
[2022-11-06 20:22:07]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=openenocean function=pre_update callInstallFunction=1
[2022-11-06 20:22:22]INFO : Début d'activation du plugin
[2022-11-06 20:22:23]INFO : Info sur le démon : {"log":"openenocean","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2022-11-06 20:20:03"}
[2022-11-06 20:22:23]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=openenocean function=update callInstallFunction=1