Bonjour,
utilisateur de téléinfo depuis les débuts, je vien s de faire la mise à jour du plugin du 06/03.
Depuis j'ai ça :
2019-03-08 09:50:06 teleinfo Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
Le Deamon ne se lance pas, je n'ai rien touché à ma conf. Le diagnostique de résolution d'incident me dit que tout est ok.
Voici les logs :
[2019-03-08 09:55:06][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-03-08 09:57:43][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-03-08 09:57:55][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2019-03-08 09:57:43
[2019-03-08 09:59:47][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-03-08 10:00:09][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2019-03-08 09:59:47
[2019-03-08 10:01:21][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
Log deamon :
[2019-03-08 09:04:18][INFO] : GLOBAL------Start teleinfod
[2019-03-08 09:04:18][INFO] : GLOBAL------Cycle Sommeil : 0.5
[2019-03-08 09:04:18][INFO] : GLOBAL------Socket port : 55062
[2019-03-08 09:04:18][INFO] : GLOBAL------Socket host : 127.0.0.1
[2019-03-08 09:04:18][INFO] : GLOBAL------Log level : info
[2019-03-08 09:04:18][INFO] : GLOBAL------Callback :
http://127.0.0.1:80/plugins/teleinfo/co ... leinfo.php
[2019-03-08 09:04:18][INFO] : GLOBAL------Vitesse : 9600
[2019-03-08 09:04:18][INFO] : GLOBAL------Apikey : YcFAXG1xDtt5r7URfZ5rthOucfNGuxp3
[2019-03-08 09:04:18][INFO] : GLOBAL------Cycle : 0.3
[2019-03-08 09:04:18][INFO] : GLOBAL------Port : /dev/ttyUSB1
[2019-03-08 09:04:18][INFO] : GLOBAL------Type : conso
[2019-03-08 09:04:18][INFO] : GLOBAL------Mode : historique
[2019-03-08 09:04:18][INFO] : GLOBAL------Start listening...
[2019-03-08 09:04:18][INFO] : GLOBAL------Preparing Teleinfo...
[2019-03-08 09:04:18][INFO] : TELEINFO------RUN
[2019-03-08 09:04:18][INFO] : TELEINFO------OPEN CONNECTION
[2019-03-08 09:04:18][INFO] : TELEINFO------CONNECTION OPENED
[2019-03-08 09:04:18][INFO] : GLOBAL------Shutdown
Error:
device reports readiness to read but returned no data (device disconnected or multiple access on port?)
log téléinfo_update :
Lancement de l'installation/mise à jour des dépendances Téléinfo
Raffraichissement du système
Get:1
http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:2
http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Get:3
http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:4
https://deb.nodesource.com/node_8.x stretch InRelease [4620 B]
Get:5
http://archive.raspberrypi.org/debian stretch/main armhf Packages [214 kB]
Get:6
https://deb.nodesource.com/node_8.x stretch/main armhf Packages [1004 B]
Get:7
http://archive.raspberrypi.org/debian stretch/ui armhf Packages [44.4 kB]
Get:8
http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages [95.5 kB]
Fetched 12.1 MB in 2min 13s (90.5 kB/s)
Reading package lists...
Installation de la librairie ftdi pour modem 2 compteurs
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python-ftdi
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt-utils : Depends: apt (= 1.4.8) but 1.4.9 is to be installed
python-ftdi1 : Depends: libftdi1-2 (>= 1.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Collecting pylibftdi
Downloading
https://files.pythonhosted.org/packages ... ne-any.whl
Installing collected packages: pylibftdi
Successfully installed pylibftdi-0.17.0
You are using pip version 19.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Installation de la librairie serial
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Skipping serial as it is not installed.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages (3.2.1)
You are using pip version 19.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (2.12.4)
You are using pip version 19.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Requirement already satisfied: pyudev in /usr/lib/python2.7/dist-packages (0.21.0)
You are using pip version 19.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Mise à jour de cmdline ou inittab suivant système
Désactivation de la sortie serie vers la console
Everything is successfully installed!