VOLET DIO plante à la remontée

Bonjour,
J’ai un volet DIO qui passe systématiquement en défaut lors d’une **commande UP ** RFXCOM.
IL faut attendre 1mn pour pouvoir relancer un nouvelle commande, ce que empêche de faire un arrêt intermédiaire.

Pour info
Avec la télécommande DIO ou la commande down RFXCOM, il n’y a pas de problème.
J’ai mis hors tension et relancé, IDEM.

si quelqu’un à une idée, je suis preneur…

Hello @mick37,

Tu ne precises pas le type d’axe qui est en place, mais ça ressemble au déclanchement d’une protection interne du volet/module à la montée.

Est-ce que le volet force/coince à la montée ?
Est ce qu’il essaye de rentrer trop loin ?
Est-ce que le logement du volet est propre ?

Je pense qu’il faut refaire le réglage de la butée supérieure du volet s’il y en a une.
Sinon, de la saleté ou des mousses/polystyrène peuvent obstruer la remontée du volet.
Sinon, les roulements, l’axe ou toute autre partie mécanique peut avoir atteint sa durée de vie maximum…

Le volet doit absolument bouger avec le minimum de friction, s’arrêter avant de coincer en haut et éviter de se dérouler complètement en bas.

Bad

Il fonctionne bien a la remontée, ce n’est pas un problème de réglage de butée haute il plante dès le départ.
En fait je viens de voir que le problème à la remontée est sur plusieurs volets.
Quand j’utilise la télécommande DIO ils ne plantent pas, ils plantent uniquement en commande RFXCOM. :unamused:
j’ai passé les logs du plugin en debug mais je n’ai rien d’inscrit avec les volets !
j’ai uniquement des trames debug avec les détecteurs de présence DIO 02400C7A11 et 01D732C211 :thinking:


[2023-07-16 14:42:32][DEBUG][%scenarioName%]: {"devices":{"02400C7A11":{"packettype":"0x11","subtype":"0x00","id":"02400C7A","unitcode":10,"cmnd":1,"level":100,"rssi":7}}}
[2023-07-16 14:42:36][DEBUG][%scenarioName%]: {"devices":{"01D732C211":{"packettype":"0x11","subtype":"0x00","id":"01D732C2","unitcode":10,"cmnd":1,"level":100,"rssi":8}}}
[2023-07-16 14:42:37][DEBUG][%scenarioName%]: {"devices":{"01D732C211":{"packettype":"0x11","subtype":"0x00","id":"01D732C2","unitcode":10,"cmnd":1,"level":100,"rssi":8}}}
[2023-07-16 14:45:43][DEBUG][%scenarioName%]: {"devices":{"02400C7A11":{"packettype":"0x11","subtype":"0x00","id":"02400C7A","unitcode":10,"cmnd":0,"level":0,"rssi":7}}}
[2023-07-16 14:50:03][DEBUG][%scenarioName%]: {"devices":{"01D732C211":{"packettype":"0x11","subtype":"0x00","id":"01D732C2","unitcode":10,"cmnd":0,"level":0,"rssi":7}}}

J’ai réinstallé le plugin ça change rien!

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_rfxcom
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
+ sudo /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
Launch pre-install of rfxcom dependancy
WARNING: Skipping serial as it is not installed.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  python3-serial
0 upgraded, 0 newly installed, 1 to remove and 204 not upgraded.
After this operation, 379 kB disk space will be freed.
(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 ... 71939 files and directories currently installed.)
Removing python3-serial (3.4-4) ...
+ echo 3
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 4
+ sudo pip3 cache purge
Files removed: 286
+ echo 5
+ sudo pip3 install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (22.3)
Collecting pip
  Downloading https://www.piwheels.org/simple/pip/pip-23.2-py3-none-any.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 5.4 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 22.3
    Uninstalling pip-22.3:
      Successfully uninstalled pip-22.3
Successfully installed pip-23.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 6
+ sudo pip3 install --force-reinstall --upgrade six
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting six
  Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six
  Attempting uninstall: six
    Found existing installation: six 1.16.0
    Uninstalling six-1.16.0:
      Successfully uninstalled six-1.16.0
Successfully installed six-1.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 7
+ sudo pip3 install --force-reinstall --upgrade requests
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting requests
  Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 1.4 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests)
  Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.2.0-py3-none-any.whl (46 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.7/46.7 kB 1.3 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests)
  Downloading https://www.piwheels.org/simple/idna/idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 3.6 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1 (from requests)
  Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.0.3-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 3.0 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests)
  Downloading https://www.piwheels.org/simple/certifi/certifi-2023.5.7-py3-none-any.whl (156 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.9/156.9 kB 6.0 MB/s eta 0:00:00
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
  Attempting uninstall: urllib3
    Found existing installation: urllib3 1.26.12
    Uninstalling urllib3-1.26.12:
      Successfully uninstalled urllib3-1.26.12
  Attempting uninstall: idna
    Found existing installation: idna 3.4
    Uninstalling idna-3.4:
      Successfully uninstalled idna-3.4
  Attempting uninstall: charset-normalizer
    Found existing installation: charset-normalizer 2.1.1
    Uninstalling charset-normalizer-2.1.1:
      Successfully uninstalled charset-normalizer-2.1.1
  Attempting uninstall: certifi
    Found existing installation: certifi 2022.9.24
    Uninstalling certifi-2022.9.24:
      Successfully uninstalled certifi-2022.9.24
  Attempting uninstall: requests
    Found existing installation: requests 2.28.1
    Uninstalling requests-2.28.1:
      Successfully uninstalled requests-2.28.1
Successfully installed certifi-2023.5.7 charset-normalizer-3.2.0 idna-3.4 requests-2.31.0 urllib3-2.0.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 8
+ sudo pip3 install --force-reinstall --upgrade setuptools
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting setuptools
  Downloading https://www.piwheels.org/simple/setuptools/setuptools-68.0.0-py3-none-any.whl (804 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 3.4 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 67.6.0
    Uninstalling setuptools-67.6.0:
      Successfully uninstalled setuptools-67.6.0
Successfully installed setuptools-68.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 9
+ sudo pip3 install --force-reinstall --upgrade pyudev
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyudev
  Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.9/62.9 kB 1.3 MB/s eta 0:00:00
Installing collected packages: pyudev
  Attempting uninstall: pyudev
    Found existing installation: pyudev 0.24.0
    Uninstalling pyudev-0.24.0:
      Successfully uninstalled pyudev-0.24.0
Successfully installed pyudev-0.24.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 10
+ sudo pip3 install --force-reinstall --upgrade pyserial
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyserial
  Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 1.7 MB/s eta 0:00:00
Installing collected packages: pyserial
  Attempting uninstall: pyserial
    Found existing installation: pyserial 3.5
    Uninstalling pyserial-3.5:
      Successfully uninstalled pyserial-3.5
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfxcom
+ rm /tmp/jeedom_install_in_progress_rfxcom
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Bon bah si c’est soft, n’utilisant PS de RFX, je préfère te laisser regarder avec quelqu’un d’autre :grimacing:

Par contre, si le démon plante lors de la demande de montée et qu’il se relance ~45-60s plus tard, tu eux avoir une première piste… (Mais rien dans les logs envoyés dans ce sens)

Regarde aussi les différences de logs DEBUG entre un volet OK et un volet KO
Et pourquoi pas aussi les commandes liées à l’état du volet (si ça existe) et les pre/post-action des commandes UP défaillantes.

My 2 cts,
Bad