Impossible de lancer le daemon vmczehnder

Bonjour,

Je tente sans succes de terminer mon installation, tout se passe bien mais impossible de lancer le daemon.

Auriez vous une solution.

Voici les deux logs

*********************************
* update all packages on the pi *
*********************************
mardi 22 juin 2021, 16:30:28 (UTC+0200)
Atteint :1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Atteint :2 http://archive.raspberrypi.org/debian buster InRelease
Lecture des listes de paquets…
***********************************
* install dependencies if needed *
***********************************
mardi 22 juin 2021, 16:30:52 (UTC+0200)
check if socat is installed
Status: install ok installed
check if python-serial is installed
Status: install ok installed
mardi 22 juin 2021, 16:30:52 (UTC+0200)
********************************************************
* install successfully finished, daemon can be started *
[2021-06-22 16:26:25][ERROR] : Installation réussie mais impossible de lancer le démon
[2021-06-22 16:27:08][ERROR] : Installation réussie mais impossible de lancer le démon
[2021-06-22 16:27:49][ERROR] : Installation réussie mais impossible de lancer le démon
[2021-06-22 16:31:00][ERROR] : Installation réussie mais impossible de lancer le démon

Voici le log « debug »

[2021-06-22 18:57:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-22 18:57:02][DEBUG] : setting socket timeout
[2021-06-22 18:57:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-22 18:57:02][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-22 18:57:02][INFO] : Remote daemon dead
[2021-06-22 18:57:18][DEBUG] : get Remote Serial Device...
[2021-06-22 18:57:19][DEBUG] : SSH exec:bash /home/newuser/raspvmcd/listserial.bash
[2021-06-22 18:57:20][DEBUG] : result:'/dev/bus/usb/001/001;/dev/bus/usb/001/002;/dev/ttyUSB0;'
[2021-06-22 18:57:24][DEBUG] : get Remote Serial Device...
[2021-06-22 18:57:25][DEBUG] : SSH exec:bash /home/newuser/raspvmcd/listserial.bash
[2021-06-22 18:57:25][DEBUG] : result:'/dev/bus/usb/001/001;/dev/bus/usb/001/002;/dev/ttyUSB0;'
[2021-06-22 18:57:26][DEBUG] : Checking if remote daemon is alive...
[2021-06-22 18:57:26][DEBUG] : setting socket timeout
[2021-06-22 18:57:26][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-22 18:57:26][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-22 18:57:26][INFO] : Remote daemon dead
[2021-06-22 18:57:26][DEBUG] : Compression du dossier local:'/var/www/html/plugins/vmczehnder/core/class/../../resources/raspvmcd/
[2021-06-22 18:57:26][DEBUG] : Envoie du fichier /tmp/jeedom/vmczehnder/folder-vmczehnder.tar.gz
[2021-06-22 18:57:27][DEBUG] : send file to 192.168.86.26
[2021-06-22 18:57:27][INFO] : Décompression
[2021-06-22 18:57:28][DEBUG] : SSH exec:mkdir /home
[2021-06-22 18:57:29][DEBUG] : SSH exec:mkdir /home/newuser
[2021-06-22 18:57:29][DEBUG] : SSH exec:rm -R /home/newuser/raspvmcd
[2021-06-22 18:57:29][DEBUG] : SSH exec:mkdir /home/newuser/raspvmcd
[2021-06-22 18:57:29][DEBUG] : SSH exec:tar -zxf /home/newuser/folder-vmczehnder.tar.gz -C /home/newuser/raspvmcd
[2021-06-22 18:57:29][DEBUG] : SSH exec:rm /home/newuser/folder-vmczehnder.tar.gz
[2021-06-22 18:57:29][INFO] : Installation des dépendances
[2021-06-22 18:57:30][DEBUG] : SSH exec:sudo rm /tmp/vmcd_update
[2021-06-22 18:57:31][DEBUG] : SSH exec:bash /home/newuser/raspvmcd/install.bash  >> /tmp/vmcd_update 2>&1
[2021-06-22 18:57:55][INFO] : Récupération du log des dépendances
[2021-06-22 18:57:55][DEBUG] : getRemoteLog: /tmp/vmcd_update to /var/www/html/core/class/../../log/vmczehnder_Double flux V2_update
[2021-06-22 18:57:56][DEBUG] : get file from 192.168.86.26
[2021-06-22 18:57:58][DEBUG] : SSH exec:cat /dev/null > /tmp/vmcd_update
[2021-06-22 18:57:58][INFO] : Suppression du zip local
[2021-06-22 18:57:58][INFO] : (Re)starting remote daemon...
[2021-06-22 18:57:58][DEBUG] : Checking if remote daemon is alive...
[2021-06-22 18:57:58][DEBUG] : setting socket timeout
[2021-06-22 18:57:58][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-22 18:57:58][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-22 18:57:58][INFO] : Remote daemon dead
[2021-06-22 18:57:59][DEBUG] : SSH exec:sudo /usr/bin/python /home/newuser/raspvmcd/server.py --loglevel 100 --vmcdevice /dev/ttyUSB0 --cceasedevice /dev/ttyUSB0 --serverport 10000 --cceaseport 10001 --ctrlport 10002 >>/tmp/VMC.log 2>&1 &
[2021-06-22 18:57:59][INFO] : start successfully executed, wait 1s so daemon is ready to receive request
[2021-06-22 18:58:00][INFO] : Récupération du log du démon distant
[2021-06-22 18:58:00][DEBUG] : getRemoteLog: /tmp/VMC.log to /var/www/html/core/class/../../log/vmczehnder_Double flux V2
[2021-06-22 18:58:01][DEBUG] : get file from 192.168.86.26
[2021-06-22 18:58:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-22 18:58:02][DEBUG] : setting socket timeout
[2021-06-22 18:58:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-22 18:58:02][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-22 18:58:02][INFO] : Remote daemon dead
[2021-06-22 18:58:03][DEBUG] : SSH exec:cat /dev/null > /tmp/VMC.log
[2021-06-22 18:58:03][DEBUG] : Checking if remote daemon is alive...
[2021-06-22 18:58:03][DEBUG] : setting socket timeout
[2021-06-22 18:58:03][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-22 18:58:03][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-22 18:58:03][INFO] : Remote daemon dead

Bonjour,
Il faudrait voir l’erreur dans le log du démon.
Il porte le nom de l’équipement; « vmc double flux »

J’ai ceci dans vmczehnderupdate

Tue Jun 22 16:56:40 UTC 2021
***********************************************
*   Launch install of module ssh2 for PHP 7   *
***********************************************
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://www.deb-multimedia.org buster InRelease
Hit:4 http://ftp.uk.debian.org/debian buster InRelease
Hit:5 https://deb.nodesource.com/node_12.x buster InRelease
Hit:6 http://ftp.uk.debian.org/debian buster-updates InRelease
Hit:7 https://oph.mdrjr.net/meveric all InRelease
Hit:8 https://oph.mdrjr.net/meveric buster InRelease
Err:3 https://repo.jeedom.com/odroid stable InRelease
502  Bad Gateway [IP: 51.178.69.128 443]
Reading package lists...
W: Failed to fetch http://repo.jeedom.com/odroid/dists/stable/InRelease  502  Bad Gateway [IP: 51.178.69.128 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
php-ssh2 is already the newest version (1.1.2+0.13-4).
0 upgraded, 0 newly installed, 0 to remove and 155 not upgraded.
***********************************************
*      Everything successfully installed      *
***********************************************
Tue Jun 22 16:57:02 UTC 2021

Et ceci dans VMCzehnder double

* update all packages on the pi *
*********************************
mardi 22 juin 2021, 18:57:31 (UTC+0200)
Atteint :1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Réception de :2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
Réception de :3 http://archive.raspberrypi.org/debian buster/main armhf Packages [375 kB]
407 ko réceptionnés en 3s (128 ko/s)
Lecture des listes de paquets…
***********************************
* install dependencies if needed *
***********************************
mardi 22 juin 2021, 18:57:55 (UTC+0200)
check if socat is installed
Status: install ok installed
check if python-serial is installed
Status: install ok installed
mardi 22 juin 2021, 18:57:55 (UTC+0200)
********************************************************
* install successfully finished, daemon can be started *
********************************************************

Non ce n’est pas ça.
Puis-je voir la liste des logs vmczenhder ?

Voici,
merci

[2021-06-25 08:52:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-25 08:52:02][DEBUG] : setting socket timeout
[2021-06-25 08:52:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-25 08:52:02][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-25 08:52:02][INFO] : Remote daemon dead
[2021-06-25 08:53:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-25 08:53:02][DEBUG] : setting socket timeout
[2021-06-25 08:53:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-25 08:53:02][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-25 08:53:02][INFO] : Remote daemon dead
[2021-06-25 08:54:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-25 08:54:02][DEBUG] : setting socket timeout
[2021-06-25 08:54:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-25 08:54:02][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-25 08:54:02][INFO] : Remote daemon dead
[2021-06-25 08:55:03][DEBUG] : Checking if remote daemon is alive...
[2021-06-25 08:55:03][DEBUG] : setting socket timeout
[2021-06-25 08:55:03][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-25 08:55:03][INFO] : Récupération du log du démon distant
[2021-06-25 08:55:03][DEBUG] : getRemoteLog: /tmp/VMC.log to /var/www/html/core/class/../../log/vmczehnder_Double flux V2
[2021-06-25 08:55:03][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-25 08:55:03][INFO] : Remote daemon dead
[2021-06-25 08:55:04][DEBUG] : get file from 192.168.86.26
[2021-06-25 08:55:07][DEBUG] : SSH exec:cat /dev/null > /tmp/VMC.log
[2021-06-25 08:56:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-25 08:56:02][DEBUG] : setting socket timeout
[2021-06-25 08:56:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-25 08:56:02][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-25 08:56:02][INFO] : Remote daemon dead
[2021-06-25 08:57:03][DEBUG] : Checking if remote daemon is alive...
[2021-06-25 08:57:03][DEBUG] : setting socket timeout
[2021-06-25 08:57:03][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-25 08:57:03][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-25 08:57:03][INFO] : Remote daemon dead

Supprimez les logs, renommez l’équipement sans mettre d’espace et réessayez pour qu’on puisse y voir clair dans les logs déjà.

Il faut le log du démon de la vmc mais je pense qu’à cause des espaces soit il ne se copie pas correctement soit il est écrasé par un autre car le nom est tronqué.

Ça c’est le log du plug-in, le même que précédemment.

C’est ce log celui du démon :

Apres suppression des log, voici ce qu’il me reste une fois la vmc renommé en « ventilation ».

Donc j’ai toujours besoin de voir le log du démon dont le nom se termine maintenant par « ventilation »

Pour les logs veuillez les copier/coller dans un Texte préformaté avec l’outils </> et pas dans une capture qui n’est pas facile à lire.

Magie, tout marche maintenant.
Sans aucun changement de ma part.

Merci pour votre aide.

J’ai certainement parlé trop vite.
Voici maintenant l’erreur qui se produit

[2021-06-30 07:10:04] [ INFO ] : New connection for Server control from  ('192.168.86.174', 52997)
[2021-06-30 07:10:04] [ INFO ] : Request for control command  size  from  ('192.168.86.174', 52997)
[2021-06-30 07:10:04] [ DEBUG ] : closing ('192.168.86.174', 52997) after reading no data
[2021-06-30 07:10:04] [ INFO ] : new client connection from ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : received 07f0000b00b8070f ('192.168.86.174', 33150)  from client ('192.168.86.174', 33150)  retained is  07f0000b00b8070f
[2021-06-30 07:10:04] [ INFO ] : Processing msg from queue  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Sending frame  07f0000b00b8070f  to VMC from Client  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Command code:  0b  reply is  True
[2021-06-30 07:10:04] [ DEBUG ] : received from VMC  00000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f000e20602000000000198070f07f307f000ec08070717000a00001205e0070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f407f307f0000c063f3c03d403fc10070f07f307f000ce0e021e3c05213f3c3f03016164000007f307f000d20932515207f307f000d2093251525a590f2828289707f307f000e0070000006400
[2021-06-30 07:10:04] [ DEBUG ] : 10 frames received from VMC only one is expected from theread
[2021-06-30 07:10:04] [ DEBUG ] : frame received from VMC stored in client queue  07f00004020000b3070f
[2021-06-30 07:10:04] [ DEBUG ] : sending  07f00004020000b3070f  to  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : received 07f000cd007a070f ('192.168.86.174', 33150)  from client ('192.168.86.174', 33150)  retained is  07f000cd007a070f
[2021-06-30 07:10:04] [ INFO ] : Processing msg from queue  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Sending frame  07f000cd007a070f  to VMC from Client  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Command code:  cd  reply is  True
[2021-06-30 07:10:04] [ DEBUG ] : received from VMC  0001f9070f07f307f000da11000000000000000000000000000000000098070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f000ec08070717000a00001205e0070f07f307f000d60b000101020000800002000014070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f0003e04582d0e4bcd07
[2021-06-30 07:10:04] [ DEBUG ] : 25 frames received from VMC only one is expected from theread
[2021-06-30 07:10:04] [ DEBUG ] : frame received from VMC stored in client queue  07f000da11000000000000000000000000000000000098070f
[2021-06-30 07:10:04] [ DEBUG ] : sending  07f000da11000000000000000000000000000000000098070f  to  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : received 07f000d1007e070f ('192.168.86.174', 33150)  from client ('192.168.86.174', 33150)  retained is  07f000d1007e070f
[2021-06-30 07:10:04] [ INFO ] : Processing msg from queue  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Sending frame  07f000d1007e070f  to VMC from Client  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Command code:  d1  reply is  True
[2021-06-30 07:10:04] [ DEBUG ] : received from VMC  0f07f307f000de14001b260027c400595500f70000392404270001534c070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f0009814000000000000000000000000000000000000000059070f07f307f000e00700000064000001f9070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000
[2021-06-30 07:10:04] [ DEBUG ] : 28 frames received from VMC only one is expected from theread
[2021-06-30 07:10:04] [ DEBUG ] : frame received from VMC stored in client queue  07f000de14001b260027c400595500f70000392404270001534c070f
[2021-06-30 07:10:04] [ DEBUG ] : sending  07f000de14001b260027c400595500f70000392404270001534c070f  to  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : received 07f000df008c070f ('192.168.86.174', 33150)  from client ('192.168.86.174', 33150)  retained is  07f000df008c070f
[2021-06-30 07:10:04] [ INFO ] : Processing msg from queue  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Sending frame  07f000df008c070f  to VMC from Client  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Command code:  df  reply is  True
[2021-06-30 07:10:04] [ DEBUG ] : received from VMC  e6074b0e2d58f400006c070f07f307f0009c01024c070f07f307f000e20602000000000198070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f000aa0800000000000000005f070f07f307f000ec08070717000a00001205e0070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e607
[2021-06-30 07:10:04] [ DEBUG ] : 9 frames received from VMC only one is expected from theread
[2021-06-30 07:10:04] [ DEBUG ] : frame received from VMC stored in client queue  07f0009c01024c070f
[2021-06-30 07:10:04] [ DEBUG ] : sending  07f0009c01024c070f  to  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : received 07f000dd008a070f ('192.168.86.174', 33150)  from client ('192.168.86.174', 33150)  retained is  07f000dd008a070f
[2021-06-30 07:10:04] [ INFO ] : Processing msg from queue  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Sending frame  07f000dd008a070f  to VMC from Client  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Command code:  dd  reply is  True
[2021-06-30 07:10:04] [ DEBUG ] : received from VMC  4b0e2d58f400006c070f07f307f000ce0e021e3c05213f3c3f0301616400008e070f07f307f000a20e03164c757865204341333530000050070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f000d2093251525a590f28282897070f07f307f0009814000000000000000000000000000000000000000059070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f000040200
[2021-06-30 07:10:04] [ DEBUG ] : 22 frames received from VMC only one is expected from theread
[2021-06-30 07:10:04] [ DEBUG ] : frame received from VMC stored in client queue  07f000ce0e021e3c05213f3c3f0301616400008e070f
[2021-06-30 07:10:04] [ DEBUG ] : sending  07f000ce0e021e3c05213f3c3f0301616400008e070f  to  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : received 07f000d90086070f ('192.168.86.174', 33150)  from client ('192.168.86.174', 33150)  retained is  07f000d90086070f
[2021-06-30 07:10:04] [ INFO ] : Processing msg from queue  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Sending frame  07f000d90086070f  to VMC from Client  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ DEBUG ] : Command code:  d9  reply is  True
[2021-06-30 07:10:04] [ DEBUG ] : received from VMC  00b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f000e00700000064000001f9070f07f307f0009e13000000006432006432006432006432006432004c070f07f307f000d2093251525a590f28282897070f07f307f000da11000000000000000000000000000000000098070f07f307f00004020000b3070f07f307f0003c0a8110bf3f3f5b000000e2fe070f07f307f000e6074b0e2d58f400006c070f07f307f000e20602000000000198070f07f307f000aa0800000000000000005f070f07f307f000d2093251525a590f28282897070f07f307f000da110000000000000000000000000000
[2021-06-30 07:10:04] [ DEBUG ] : 18 frames received from VMC only one is expected from theread
[2021-06-30 07:10:04] [ DEBUG ] : frame received from VMC stored in client queue  07f0003c0a8110bf3f3f5b000000e2fe070f
[2021-06-30 07:10:04] [ DEBUG ] : sending  07f0003c0a8110bf3f3f5b000000e2fe070f  to  ('192.168.86.174', 33150)
[2021-06-30 07:10:04] [ INFO ] : closing ('192.168.86.174', 33150) after reading no data
[2021-06-30 07:12:02][DEBUG] : Checking if remote daemon is alive...
[2021-06-30 07:12:02][DEBUG] : setting socket timeout
[2021-06-30 07:12:02][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-30 07:12:02][DEBUG] : Wrote: '73697a65' (4)
[2021-06-30 07:12:02][DEBUG] : Read: '5468657265206172652030206d6573736167657320696e207468652071756575650a' (34)
[2021-06-30 07:12:02][INFO] : Remote daemon alive: 'There are 0 messages in the queue '
[2021-06-30 07:12:02][INFO] : Refresh data of:Ventilation
[2021-06-30 07:12:02][DEBUG] : Reading FanStatus...
[2021-06-30 07:12:02][DEBUG] : setting socket timeout
[2021-06-30 07:12:02][INFO] : Essai de connexion à 192.168.86.26 sur le port 10000...
[2021-06-30 07:12:02][DEBUG] : Wrote: '07f0000b00b8070f' (8)
[2021-06-30 07:12:02][DEBUG] : Read: '07f000d2093251525a590f28282897070f' (17)
[2021-06-30 07:12:02][DEBUG] : unexpected response command:'d2'/ expected:'0c'
[2021-06-30 07:12:02][DEBUG] : Wrote: '07f000cd007a070f' (8)
[2021-06-30 07:12:02][DEBUG] : Read: '07f000d2093251525a590f28282897070f' (17)
[2021-06-30 07:12:02][DEBUG] : unexpected response command:'d2'/ expected:'ce'
[2021-06-30 07:12:02][DEBUG] : Reading AllTemperatures...
[2021-06-30 07:12:02][DEBUG] : Wrote: '07f000d1007e070f' (8)
[2021-06-30 07:12:02][DEBUG] : Read: '07f0009e13000000006432006432006432006432006432004c070f' (27)
[2021-06-30 07:12:02][DEBUG] : unexpected response command:'9e'/ expected:'d2'
[2021-06-30 07:12:02][DEBUG] : Reading BypassStatus...
[2021-06-30 07:12:02][DEBUG] : Wrote: '07f000df008c070f' (8)
[2021-06-30 07:12:02][DEBUG] : Read: '07f000ca080000005a0a0a1e000b070f' (16)
[2021-06-30 07:12:02][DEBUG] : unexpected response command:'ca'/ expected:'e0'
[2021-06-30 07:12:02][DEBUG] : Reading UsageCounters...
[2021-06-30 07:12:02][DEBUG] : Wrote: '07f000dd008a070f' (8)
[2021-06-30 07:12:02][DEBUG] : Read: '07f000aa0800000000000000005f070f' (16)
[2021-06-30 07:12:02][DEBUG] : unexpected response command:'aa'/ expected:'de'
[2021-06-30 07:12:02][DEBUG] : Reading Errors...
[2021-06-30 07:12:02][DEBUG] : Wrote: '07f000d90086070f' (8)
[2021-06-30 07:12:02][DEBUG] : Read: '07f0003c0a8110bf3f3f5b000000e2fe070f' (18)
[2021-06-30 07:12:02][DEBUG] : unexpected response command:'3c'/ expected:'da'
[2021-06-30 07:12:02][DEBUG] : Closing socket

Il n’y a pas d’erreur du démon mais des messages inattendus.

Vous avez probablement laissé le comfosense/ccease connecté en parallèle sur le bus

Oui le comfosense est toujours connecté a la vmc.
Je ne dois le déconnecter totalement?
Je pensait qu’il devait rester opérationnel pour la température de comfort.

Merci

Oui ce n’est pas très clair dans la doc.

j’en parle un peu ici

et là

il me semble qu’il y avait d’autres posts encore.
en résumé il faut que le confosense soit connecté au pi, et le pi à la vmc puis configuré le port
et le démon sur le pi fera passe-plat.

si les deux sont connectés à la vmc alors il y aura ce type de collisions.

Merci,
J’ai voulu réinstaller le daemon en supprimant le port pour CCease,
Les problemes d’installation du daemon sont réapparue

Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Traceback (most recent call last):
File "/home/newuser/raspvmcd/server.py", line 134, in <module>
Sport = serial.Serial(port = serialport, baudrate = 9600, timeout = 0.25)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'

et voici le log de vmczehnder

[2021-06-30 16:27:03][DEBUG] : Checking if remote daemon is alive...
[2021-06-30 16:27:03][DEBUG] : setting socket timeout
[2021-06-30 16:27:03][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-30 16:27:03][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-30 16:27:03][INFO] : Remote daemon dead
[2021-06-30 16:27:03][INFO] : (Re)starting remote daemon...
[2021-06-30 16:27:03][DEBUG] : Checking if remote daemon is alive...
[2021-06-30 16:27:03][DEBUG] : setting socket timeout
[2021-06-30 16:27:03][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-30 16:27:03][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-30 16:27:03][INFO] : Remote daemon dead
[2021-06-30 16:27:04][DEBUG] : SSH exec:sudo /usr/bin/python /home/newuser/raspvmcd/server.py --loglevel 100 --vmcdevice /dev/ttyUSB0 --cceasedevice none --serverport 10000 --cceaseport 10001 --ctrlport 10002 >>/tmp/VMC.log 2>&1 &
[2021-06-30 16:27:05][INFO] : start successfully executed, wait 1s so daemon is ready to receive request
[2021-06-30 16:27:06][INFO] : Récupération du log du démon distant
[2021-06-30 16:27:06][DEBUG] : getRemoteLog: /tmp/VMC.log to /var/www/html/core/class/../../log/vmczehnder_Ventilation
[2021-06-30 16:27:07][DEBUG] : get file from 192.168.86.26
[2021-06-30 16:27:08][DEBUG] : SSH exec:cat /dev/null > /tmp/VMC.log
[2021-06-30 16:27:09][DEBUG] : Checking if remote daemon is alive...
[2021-06-30 16:27:09][DEBUG] : setting socket timeout
[2021-06-30 16:27:09][DEBUG] : Trying to connect to '192.168.86.26' on port '10002'...
[2021-06-30 16:27:09][WARNING] : La connexion a échoué. Raison: Connection refused
[2021-06-30 16:27:09][INFO] : Remote daemon dead

Il ne faut pas réinstaller en permanence…

le port semble déjà occupé