Pas de connexion série sur une comfoair 350 (basic ou luxe?)

Bonjour,
j’ai installé le plugin-vmczehnder pour communiquer avec une Comfoair 350 (basic?) mais je n’ai pas de remonté d’information.
Avant de creuser plus loin sur une cause logiciel, j’aurais besoin d’une confirmation, sur la carte de la VMC j’ai une étiquette indiquant CA350_luxe_v3.2 mais au dessus de la prise RJ45 il n’y a pas d’indiqué RS232, est ce que c’est un problème pour utiliser ce plugin ?
Merci

Bonjour,

Aucune idée, je ne connais pas les modèles de vmc par coeur.
Le mieux est de vérifier le manuel pour savoir à quoi sert ce port rj45

OK merci pour le retour rapide, je n’ai malheureusement pas le manuel ni d’autre info concernant cette VMC (sur l’étiquette il est juste indiqué Comfoair 350 F R ), peut-être que d’autres utilisateurs de ce plugin on été confronté au même pb ? voici une photo de la carte

Avez-vous un confosense ou autre module de controle à distance relié en filaire?

J’ai seulement le commutateur trois positions en filaire.

Pas de chance, ca aurait aidé à voir où il fallait se brancher

Sinon que disent les logs lorsque connecté à cet rj45?
Et les branchement vers usb sont fait comment? Car le problème peut être là aussi

Je vais refaire une réinstallation de zéro pour avoir des logs propres, pour le pi j’ai lu dans une de vos ancienne réponses qu’il fallait rester avec la version Buster, c’est toujours le cas ou on peut installer Bookworm maintenant ?

Ce n’est plus le cas, bullseye fonctionne
Alors je n’ai pas testé bookworm mais en principe ca devrait fonctionner

Voici une photo du montage


Pour le log vmczehnder_VMC350_update :

[2024-02-25 19:31:22] *********************************
[2024-02-25 19:31:22] * update all packages on the pi *
[2024-02-25 19:31:22] *********************************
[2024-02-25 19:31:23] Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
[2024-02-25 19:31:23] Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
[2024-02-25 19:31:49] Reading package lists...
[2024-02-25 19:31:49] ***********************************
[2024-02-25 19:31:49] * install dependencies if needed *
[2024-02-25 19:31:49] ***********************************
[2024-02-25 19:31:50] Reading package lists...
[2024-02-25 19:31:52] Building dependency tree...
[2024-02-25 19:31:52] Reading state information...
[2024-02-25 19:31:56] python3-serial is already the newest version (3.5~b0-1).
[2024-02-25 19:31:56] python3-yaml is already the newest version (5.3.1-5).
[2024-02-25 19:31:56] python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
[2024-02-25 19:31:56] 0 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.
[2024-02-25 19:32:27] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-02-25 19:32:27] Requirement already satisfied: paho_mqtt==1.6.1 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 1)) (1.6.1)
[2024-02-25 19:32:27] Requirement already satisfied: pyserial==3.5 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 2)) (3.5)
[2024-02-25 19:32:27] Requirement already satisfied: pyyaml==6.0.1 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 3)) (6.0.1)
[2024-02-25 19:32:28] ********************
[2024-02-25 19:32:28] * install finished *
[2024-02-25 19:32:28] ********************

Pour l’autre fichier :

[2024-02-25 19:23:42][DEBUG] : SSH exec:for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do syspath="${sysdevpath%/dev}"; devname="$(udevadm info -q name -p $syspath)"; [[ "$devname" == "bus/"* ]] && continue; echo "/dev/$devname;"; done => /dev/gpiochip1; /dev/ttyUSB0; 
[2024-02-25 19:23:42][DEBUG] : Devices:'/dev/gpiochip1;/dev/ttyUSB0;'
[2024-02-25 19:24:06][INFO] : Compression du dossier local:'/var/www/html/plugins/vmczehnder/core/class/../../resources/zehnder2mqtt/
[2024-02-25 19:24:07][INFO] : Envoi du fichier /tmp/jeedom/vmczehnder/folder-zehnder2mqtt.tar.gz
[2024-02-25 19:24:08][DEBUG] : send file to 192.168.0.104
[2024-02-25 19:24:10][INFO] : Décompression
[2024-02-25 19:24:11][DEBUG] : SSH exec:mkdir /home => mkdir: cannot create directory ‘/home’: File exists 
[2024-02-25 19:24:11][DEBUG] : SSH exec:mkdir /home/amenard => mkdir: cannot create directory ‘/home/amenard’: File exists 
[2024-02-25 19:24:11][DEBUG] : SSH exec:rm -R /home/amenard/zehnder2mqtt => rm: cannot remove '/home/amenard/zehnder2mqtt': No such file or directory 
[2024-02-25 19:24:12][DEBUG] : SSH exec:mkdir /home/amenard/zehnder2mqtt => 
[2024-02-25 19:24:12][DEBUG] : SSH exec:tar -zxf /home/amenard/folder-zehnder2mqtt.tar.gz -C /home/amenard/zehnder2mqtt => 
[2024-02-25 19:24:12][DEBUG] : SSH exec:rm /home/amenard/folder-zehnder2mqtt.tar.gz => 
[2024-02-25 19:24:12][INFO] : Installation des dépendances
[2024-02-25 19:24:13][DEBUG] : SSH exec:sudo rm /tmp/vmcd_update => rm: cannot remove '/tmp/vmcd_update': No such file or directory 
[2024-02-25 19:25:03][INFO] : Récupération du log du service distant
[2024-02-25 19:25:03][DEBUG] : getRemoteLog: /tmp/zehnder2mqtt.log to /var/www/html/core/class/../../log/vmczehnder_VMC350
[2024-02-25 19:25:05][DEBUG] : get file from 192.168.0.104
[2024-02-25 19:28:31][DEBUG] : SSH exec:bash /home/amenard/zehnder2mqtt/install.bash  >> /tmp/vmcd_update 2>&1 => 
[2024-02-25 19:28:31][INFO] : Envoi de la configuration
[2024-02-25 19:28:31][ERROR] : Le port série de la VMC doit être configuré.
[2024-02-25 19:29:01][DEBUG] : Listening to topic:'zehnder2mqtt'
[2024-02-25 19:29:08][INFO] : (Re)starting remote service...
[2024-02-25 19:29:08][DEBUG] : Listening to topic:'zehnder2mqtt'
[2024-02-25 19:29:11][DEBUG] : SSH exec:sudo systemctl restart zehnder2mqtt.service => Failed to restart zehnder2mqtt.service: Unit zehnder2mqtt.service not found. 
[2024-02-25 19:29:11][INFO] : start successfully executed, wait 1s
[2024-02-25 19:29:12][INFO] : Récupération du log du service distant
[2024-02-25 19:29:12][DEBUG] : getRemoteLog: /tmp/zehnder2mqtt.log to /var/www/html/core/class/../../log/vmczehnder_VMC350
[2024-02-25 19:29:13][DEBUG] : get file from 192.168.0.104
[2024-02-25 19:30:04][INFO] : Récupération du log du service distant
[2024-02-25 19:30:04][DEBUG] : getRemoteLog: /tmp/zehnder2mqtt.log to /var/www/html/core/class/../../log/vmczehnder_VMC350
[2024-02-25 19:30:05][DEBUG] : get file from 192.168.0.104
[2024-02-25 19:31:16][INFO] : Compression du dossier local:'/var/www/html/plugins/vmczehnder/core/class/../../resources/zehnder2mqtt/
[2024-02-25 19:31:16][INFO] : Envoi du fichier /tmp/jeedom/vmczehnder/folder-zehnder2mqtt.tar.gz
[2024-02-25 19:31:18][DEBUG] : send file to 192.168.0.104
[2024-02-25 19:31:20][INFO] : Décompression
[2024-02-25 19:31:20][DEBUG] : SSH exec:mkdir /home => mkdir: cannot create directory ‘/home’: File exists 
[2024-02-25 19:31:21][DEBUG] : SSH exec:mkdir /home/amenard => mkdir: cannot create directory ‘/home/amenard’: File exists 
[2024-02-25 19:31:21][DEBUG] : SSH exec:rm -R /home/amenard/zehnder2mqtt => 
[2024-02-25 19:31:21][DEBUG] : SSH exec:mkdir /home/amenard/zehnder2mqtt => 
[2024-02-25 19:31:21][DEBUG] : SSH exec:tar -zxf /home/amenard/folder-zehnder2mqtt.tar.gz -C /home/amenard/zehnder2mqtt => 
[2024-02-25 19:31:21][DEBUG] : SSH exec:rm /home/amenard/folder-zehnder2mqtt.tar.gz => 
[2024-02-25 19:31:21][INFO] : Installation des dépendances
[2024-02-25 19:31:22][DEBUG] : SSH exec:sudo rm /tmp/vmcd_update => 
[2024-02-25 19:32:28][DEBUG] : SSH exec:bash /home/amenard/zehnder2mqtt/install.bash  >> /tmp/vmcd_update 2>&1 => 
[2024-02-25 19:32:28][INFO] : Envoi de la configuration
[2024-02-25 19:32:28][DEBUG] : mqtt2 info:{"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"JRhvSMpWED9FPGTy2Ig92JVsWdvTt29lUKM9dLefy5fXX4EF2ykT2KqNbTi4stvQ"}
[2024-02-25 19:32:28][DEBUG] : Remote config: {"serial_port":"\/dev\/ttyUSB0","mqtt_server":"192.168.0.100","mqtt_port":1883,"mqtt_username":"jeedom","mqtt_password":"JRhvSMpWED9FPGTy2Ig92JVsWdvTt29lUKM9dLefy5fXX4EF2ykT2KqNbTi4stvQ","mqtt_qos":1,"mqtt_retain":false,"mqtt_base_topic":"zehnder2mqtt","mqtt_hrv_topic":"141","log_level":"INFO"}
[2024-02-25 19:32:29][DEBUG] : send file to 192.168.0.104
[2024-02-25 19:32:38][DEBUG] : SSH exec:cd /home/amenard/zehnder2mqtt/; sudo make install => Created symlink /etc/systemd/system/multi-user.target.wants/zehnder2mqtt.service → /etc/systemd/system/zehnder2mqtt.service. zehnder2mqtt is installed and enabled as a systemd service, start it with the command 'sudo systemctl start zehnder2mqtt.service' 
[2024-02-25 19:32:38][INFO] : Récupération du log...
[2024-02-25 19:32:38][DEBUG] : getRemoteLog: /tmp/vmcd_update to /var/www/html/core/class/../../log/vmczehnder_VMC350_update
[2024-02-25 19:32:39][DEBUG] : get file from 192.168.0.104
[2024-02-25 19:32:39][INFO] : (Re)starting remote service...
[2024-02-25 19:32:39][DEBUG] : Listening to topic:'zehnder2mqtt'
[2024-02-25 19:32:40][DEBUG] : SSH exec:sudo systemctl restart zehnder2mqtt.service => 
[2024-02-25 19:32:40][INFO] : start successfully executed, wait 1s
[2024-02-25 19:32:41][INFO] : Récupération du log du service distant
[2024-02-25 19:32:41][DEBUG] : getRemoteLog: /tmp/zehnder2mqtt.log to /var/www/html/core/class/../../log/vmczehnder_VMC350
[2024-02-25 19:32:42][DEBUG] : get file from 192.168.0.104
[2024-02-25 19:32:44][DEBUG] : handle Mqtt Message:{"zehnder2mqtt":{"141":{"config":{"version":"0.1","serial_port":"\/dev\/ttyUSB0","mqtt_qos":1,"mqtt_retain":false,"log_level":"INFO"}}}}
[2024-02-25 19:32:44][INFO] : config update:{"version":"0.1","serial_port":"\/dev\/ttyUSB0","mqtt_qos":1,"mqtt_retain":false,"log_level":"INFO"}
[2024-02-25 19:32:45][DEBUG] : handle Mqtt Message:{"zehnder2mqtt":{"141":{"LWT":"online"}}}
[2024-02-25 19:32:45][INFO] : LWT update:online

Bonjour,
je ne sais pas si c’est normal mais au niveau du pi connecté à la VMC il y a une charge CPU importante avec ksoftirqd/0 qui utilise jusqu’à 50% du CPU. Du coup même l’accès SSH est très ralenti. Lorsque je déconnecte l’adaptateur USB/RS232 ou lorsque j’arrête jeedom sur l’autre pi cela disparait.

Moi je suis à 0.6 de charge
le service sur le pi prend entre 0.7 & 1.5 % de cpu; donc c’est très calme:

je ne vois pas en quoi couper jeedom pourrait changer quelque chose alors que jeedom ne fait absolument aucun appel au « pi vmc », c’est le « pi vmc » qui publie les infos en mqtt lorsqu’il y en a.

Si j’ai les deux pi allumés j’ai sur le pi VMC :

SI j’éteins le pi jeedom, cela ne change rien, mais ensuite si je reboot le pi VMC

Puis si je relance le pi jeedom, cela revient à la première situation…

Est ce que cela pourrait venir de l’adaptateur USB/RS232 ? c’est celui là : Kubii

ce n’est pas le plugin qui gère ce process

Je suis incapable de répondre à cette question
mais ma logique me dit que brancher un adaptateur rs232 via port usb sur un port rj45 qui ne serait pas rs232 est probablement une cause possible.

Merci pour le retour d’information, ce comportement étrange est présent même sans connecter la VMC à l’adaptateur, je penche donc plutôt pour un problème avec cet adaptateur, je vais essayer autrement, à suivre !

Bonjour,
j’ai reçu une autre interface RS232 et maintenant je n’ai plus ce problème de process qui accaparait le CPU mais toujours pas de remonté d’information, sur le log du plugin j’ai :

[2024-03-06 16:52:54]INFO : Successfully connected to MQTT server
[2024-03-06 16:52:54]INFO : Successfully subscribed to the MQTT topics
[2024-03-06 16:52:55]INFO : Refresh hrv config
[2024-03-06 16:52:57]WARNING : get_bootloader_data function could not get serial data
[2024-03-06 16:52:59]WARNING : get_firmware_info function could not get serial data
[2024-03-06 16:53:01]WARNING : get_connector_board_info function could not get serial data
[2024-03-06 16:53:03]WARNING : get_status function could not get serial data
[2024-03-06 16:53:05]WARNING : get_delay_timers function could not get serial data
[2024-03-06 16:53:08]WARNING : get_temp function could not get serial data
[2024-03-06 16:53:10]WARNING : get_ventilation_status function could not get serial data
[2024-03-06 16:53:12]WARNING : get_filter_status function could not get serial data
[2024-03-06 16:53:14]WARNING : get_fan_status function could not get serial data

Existe-t-il un moyen d’analyser ce qui transite comme info sur cette prise RJ45 qui ne semble pas être RS232 ?

Aucune idée… je dirais que sans autre indication qu’il s’agit d’une connection ethernet?