Démon openzwave KO après une restauration

Bonjour

Suite à un plantage de la carte MicroSD de mon Raspberry Pi, j’ai du procéder à une réinstallation et une restauration de ma config Jeedom.
Tout s’est très bien passé, mon seul soucis étant le démon openzwave qui ne démarre pas.
J’ai recherché sur les posts existants et déjà tenté plusieurs manipulations (réinstallation des dépendances, vérification de la bonne détection de la clé USB du dongle Z-Wave, …) malheureusement sans succès :frowning:
Là je sèche et fais appel à la communauté. Merci

Ma config :
Matériel : Raspberry PI 3 + dongle USB Zwave Aeotec Z-Stick Gen5
Système : Raspbian GNU/Linux 11 (bullseye) + Jeedom : 4.3.17

La configuration du plugin dans Jeedom :

Les résultats des commandes :

#ls -l /dev/serial/by-id
lrwxrwxrwx 1 root root 13 Jun 19 13:43 usb-0658_0200-if00 → …/…/ttyACM0

#lsusb
Bus 001 Device 010: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 007: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

#dmesg | grep ttyACM
[10.483440] cdc_acm 1-1.1.2:1.0: ttyACM0: USB ACM device
[ 1723.219957] cdc_acm 1-1.1.2:1.0: ttyACM0: USB ACM device
[ 6283.829359] cdc_acm 1-1.1.2:1.0: ttyACM0: USB ACM device
[ 8776.652315] cdc_acm 1-1.1.3:1.0: ttyACM0: USB ACM device

la log openzwave :

[2023-06-19 13:55:36][ERROR] : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log
[2023-06-19 13:59:35][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-06-19 13:59:37][INFO] : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device /dev/ttyACM0 --loglevel debug --port 8083 --config_folder /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/config --data_folder /var/www/html/plugins/openzwave/core/class/../../data --callback http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php --apikey bKu0UVIWdskMJC10TFbJGDYYI --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
  File "/var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py", line 76
    except Exception, ex:
                    ^
SyntaxError: invalid syntax

Et la log openzwave_packages :

+ touch /tmp/jeedom_install_in_progress_openzwave
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
+ sudo /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
Lancement de l'installation/mise à jour des dépendances openzwave
mkdir: cannot create directory '/opt': File exists
Désinstallation de la version précédente
Installation de Python-OpenZwave
Found existing installation: Cython 0.29.21
ERROR: Cannot uninstall 'Cython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
apt-get install --force-yes -y cython3
Reading package lists...
Building dependency tree...
Reading state information...
cython3 is already the newest version (0.29.21-3+b1).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra libfuse2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Installing dependencies for python : 3 9 2
apt-get install --force-yes -y python3-pip python3-docutils python3-dev python3-setuptools
Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.9.2-3).
python3-docutils is already the newest version (0.16+dfsg-4).
python3-setuptools is already the newest version (52.0.0-4).
python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra libfuse2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-get install --force-yes -y build-essential libudev-dev g++
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9).
g++ is already the newest version (4:10.2.1-1+rpi1).
libudev-dev is already the newest version (247.3-7+rpi1+deb11u2).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra libfuse2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-get install --force-yes -y cython3
Reading package lists...
Building dependency tree...
Reading state information...
cython3 is already the newest version (0.29.21-3+b1).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra libfuse2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
pip3 install nose-html
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose-html in /usr/local/lib/python3.9/dist-packages (1.1)
Requirement already satisfied: nose>=0.11.1 in /usr/local/lib/python3.9/dist-packages (from nose-html) (1.3.7)
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
pip3 install nose-progressive
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose-progressive in /usr/local/lib/python3.9/dist-packages (1.5.2)
Requirement already satisfied: nose>=1.2.1 in /usr/local/lib/python3.9/dist-packages (from nose-progressive) (1.3.7)
Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python3.9/dist-packages (from nose-progressive) (1.7)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (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
pip3 install coverage
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: coverage in /usr/local/lib/python3.9/dist-packages (7.2.7)
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
pip3 install nose
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose in /usr/local/lib/python3.9/dist-packages (1.3.7)
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
pip3 install pylint
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pylint in /usr/lib/python3/dist-packages (2.7.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
#pip3 install docutils
#pip3 install setuptools
#The following line crashes with a core dump
#pip3 install "Cython==0.22"

Dependencies for users installed (python 3 9 2)
sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
cd openzwave && make
make[1]: Entering directory '/opt/python-openzwave/openzwave'
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w 
make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
Building OpenZWave Version 1.4.-1
Building tinystr.o
Building tinyxml.o
Building tinyxmlerror.o
Building tinyxmlparser.o
Building hid.o
Building aes_modes.o
Building aescrypt.o
Building aeskey.o
Building aestab.o
Building Alarm.o
Building ApplicationStatus.o
Building Association.o
Building AssociationCommandConfiguration.o
Building BarrierOperator.o
Building Basic.o
Building BasicWindowCovering.o
Building Battery.o
Building CRC16Encap.o
Building CentralScene.o
Building ClimateControlSchedule.o
Building Clock.o
Building Color.o
Building CommandClass.o
Building CommandClasses.o
Building Configuration.o
Building ControllerReplication.o
Building DeviceResetLocally.o
Building DoorLock.o
Building DoorLockLogging.o
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)':
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp:312:14: warning: 'snprintf' argument 4 overlaps destination object 'usercode' [-Wrestrict]
  312 |      snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
      |      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp:307:9: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
  307 |    char usercode[254];
      |         ^~~~~~~~
Building EnergyProduction.o
Building Hail.o
Building Indicator.o
Building Language.o
Building Lock.o
Building ManufacturerProprietary.o
Building ManufacturerSpecific.o
In file included from /usr/include/c++/10/map:60,
                 from /opt/python-openzwave/openzwave/cpp/src/command_classes/CommandClasses.h:32,
                 from /opt/python-openzwave/openzwave/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
/usr/include/c++/10/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<long long int&&>, std::tuple<>}; _Key = long long int; _Val = std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>; _KeyOfValue = std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >; _Compare = std::less<long long int>; _Alloc = std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >]':
/usr/include/c++/10/bits/stl_tree.h:2458:7: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' changed in GCC 7.1
 2458 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/map:61,
                 from /opt/python-openzwave/openzwave/cpp/src/command_classes/CommandClasses.h:32,
                 from /opt/python-openzwave/openzwave/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
/usr/include/c++/10/bits/stl_map.h: In static member function 'static bool OpenZWave::ManufacturerSpecific::LoadProductXML()':
/usr/include/c++/10/bits/stl_map.h:520:37: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' changed in GCC 7.1
  520 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  521 |      std::forward_as_tuple(std::move(__k)),
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  522 |      std::tuple<>());
      |      ~~~~~~~~~~~~~~~                 
/usr/include/c++/10/bits/stl_map.h:520:37: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' changed in GCC 7.1
  520 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  521 |      std::forward_as_tuple(std::move(__k)),
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  522 |      std::tuple<>());
      |      ~~~~~~~~~~~~~~~                 
/usr/include/c++/10/bits/stl_map.h:520:37: note: parameter passing for argument of type 'std::_Rb_tree<long long int, std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*>, std::_Select1st<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> >, std::less<long long int>, std::allocator<std::pair<const long long int, OpenZWave::ManufacturerSpecific::Product*> > >::const_iterator' changed in GCC 7.1
  520 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  521 |      std::forward_as_tuple(std::move(__k)),
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  522 |      std::tuple<>());
      |      ~~~~~~~~~~~~~~~                 
Building Meter.o
Building MeterPulse.o
Building MultiChannelAssociation.o
Building MultiCmd.o
Building MultiInstance.o
Building NoOperation.o
Building NodeNaming.o
Building Powerlevel.o
Building Proprietary.o
Building Protection.o
Building SceneActivation.o
Building Security.o
Building SensorAlarm.o
Building SensorBinary.o
Building SensorMultilevel.o
Building SoundSwitch.o
Building SwitchAll.o
Building SwitchBinary.o
Building SwitchMultilevel.o
Building SwitchToggleBinary.o
Building SwitchToggleMultilevel.o
Building ThermostatFanMode.o
Building ThermostatFanState.o
Building ThermostatMode.o
Building ThermostatOperatingState.o
Building ThermostatSetpoint.o
Building TimeParameters.o
Building UserCode.o
Building Version.o
Building WakeUp.o
Building ZWavePlusInfo.o
Building Value.o
Building ValueBool.o
Building ValueButton.o
Building ValueByte.o
Building ValueDecimal.o
Building ValueInt.o
Building ValueList.o
Building ValueRaw.o
Building ValueSchedule.o
Building ValueShort.o
Building ValueStore.o
Building ValueString.o
Building Controller.o
Building Event.o
Building FileOps.o
Building HidController.o
Building Log.o
Building Mutex.o
Building SerialController.o
Building Stream.o
Building Thread.o
Building TimeStamp.o
Building Wait.o
Building EventImpl.o
Building FileOpsImpl.o
Building LogImpl.o
Building MutexImpl.o
Building SerialControllerImpl.o
Building ThreadImpl.o
Building TimeStampImpl.o
Building WaitImpl.o
Building Driver.o
Building Group.o
Building Manager.o
Building Msg.o
Building Node.o
Building Notification.o
Building Options.o
Building Scene.o
Building Utils.o
Building ZWSecurity.o
Creating vers.cpp
Building vers.o
Linking Static Library
Linking Shared Library
Making ozw_config file
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/examples/MinOZW/ -w 
make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
Building Main.o
Linking /opt/python-openzwave/openzwave/.lib/MinOZW
g++   -o /opt/python-openzwave/openzwave/.lib/MinOZW /opt/python-openzwave/openzwave/.lib/Main.o /opt/python-openzwave/openzwave/libopenzwave.so -pthread
Creating Temporary Shell Launch Script
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
make[1]: Leaving directory '/opt/python-openzwave/openzwave'
python setup-lib.py build
running build
running build_ext
cythoning src-lib/libopenzwave/libopenzwave.pyx to src-lib/libopenzwave/libopenzwave.cpp
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /opt/python-openzwave/src-lib/libopenzwave/libopenzwave.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
building 'libopenzwave' extension
creating build
creating build/temp.linux-armv7l-cpython-39
creating build/temp.linux-armv7l-cpython-39/src-lib
creating build/temp.linux-armv7l-cpython-39/src-lib/libopenzwave
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPY_SSIZE_T_CLEAN=1 -Iopenzwave/cpp/src/ -Iopenzwave/cpp/src/value_classes/ -Iopenzwave/cpp/src/platform/ -Iopenzwave/cpp/build/linux/ -I/usr/include/python3.9 -c src-lib/libopenzwave/libopenzwave.cpp -o build/temp.linux-armv7l-cpython-39/src-lib/libopenzwave/libopenzwave.o
src-lib/libopenzwave/libopenzwave.cpp:3: warning: "PY_SSIZE_T_CLEAN" redefined
    3 | #define PY_SSIZE_T_CLEAN
      | 
<command-line>: note: this is the location of the previous definition
In file included from openzwave/cpp/src/aes/aescpp.h:26,
                 from openzwave/cpp/src/Driver.h:42,
                 from src-lib/libopenzwave/libopenzwave.cpp:646:
openzwave/cpp/src/aes/aes.h:75: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
   75 | #pragma warning( disable : 4324 )
      | 
openzwave/cpp/src/aes/aes.h:93: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
   93 | #pragma warning( default : 4324 )
      | 
src-lib/libopenzwave/libopenzwave.cpp: In function ‘PyObject* __pyx_pf_12libopenzwave_9PyManager_create(__pyx_obj_12libopenzwave_PyManager*)’:
src-lib/libopenzwave/libopenzwave.cpp:13409:22: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
13409 |   PyEval_InitThreads();
      |                      ^
In file included from /usr/include/python3.9/Python.h:145,
                 from src-lib/libopenzwave/libopenzwave.cpp:4:
/usr/include/python3.9/ceval.h:130:37: note: declared here
  130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
src-lib/libopenzwave/libopenzwave.cpp: In function ‘PyObject* __pyx_pf_12libopenzwave_9PyManager_268beginControllerCommand(__pyx_obj_12libopenzwave_PyManager*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)’:
src-lib/libopenzwave/libopenzwave.cpp:31107:204: warning: ‘bool OpenZWave::Manager::BeginControllerCommand(uint32, OpenZWave::Driver::ControllerCommand, OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)’ is deprecated [-Wdeprecated-declarations]
31107 |   __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->manager->BeginControllerCommand(__pyx_t_1, __pyx_t_2, __pyx_f_12libopenzwave_ctrl_callback, ((void *)__pyx_v_pythonfunc), __pyx_t_3, __pyx_t_4, __pyx_t_5)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 4120, __pyx_L1_error)
      |                                                                                                                                                                                                            ^
In file included from src-lib/libopenzwave/libopenzwave.cpp:651:
openzwave/cpp/src/Manager.h:1731:19: note: declared here
 1731 |   DEPRECATED bool BeginControllerCommand( uint32 const _homeId, Driver::ControllerCommand _command, Driver::pfnControllerCallback_t _callback = NULL, void* _context = NULL, bool _highPower = false, uint8 _nodeId = 0xff, uint8 _arg = 0 );
      |                   ^~~~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-armv7l-cpython-39
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-armv7l-cpython-39/src-lib/libopenzwave/libopenzwave.o openzwave/libopenzwave.a -L/usr/lib -ludev -lstdc++ -o build/lib.linux-armv7l-cpython-39/libopenzwave.cpython-39-arm-linux-gnueabihf.so
python setup-lib.py install
running install
/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
creating src-lib/libopenzwave.egg-info
writing src-lib/libopenzwave.egg-info/PKG-INFO
writing dependency_links to src-lib/libopenzwave.egg-info/dependency_links.txt
writing requirements to src-lib/libopenzwave.egg-info/requires.txt
writing top-level names to src-lib/libopenzwave.egg-info/top_level.txt
writing manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
reading manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
writing manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_ext
skipping 'src-lib/libopenzwave/libopenzwave.cpp' Cython extension (up-to-date)
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
copying build/lib.linux-armv7l-cpython-39/libopenzwave.cpython-39-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/egg
creating stub loader for libopenzwave.cpython-39-arm-linux-gnueabihf.so
byte-compiling build/bdist.linux-armv7l/egg/libopenzwave.py to libopenzwave.cpython-39.pyc
installing package data to build/bdist.linux-armv7l/egg
running install_data
creating build/bdist.linux-armv7l/egg/config
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/not-zip-safe -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/libopenzwave-0.3.1-py3.9-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing libopenzwave-0.3.1-py3.9-linux-armv7l.egg
removing '/usr/lib/python3.9/site-packages/libopenzwave-0.3.1-py3.9-linux-armv7l.egg' (and everything under it)
creating /usr/lib/python3.9/site-packages/libopenzwave-0.3.1-py3.9-linux-armv7l.egg
Extracting libopenzwave-0.3.1-py3.9-linux-armv7l.egg to /usr/lib/python3.9/site-packages
Adding libopenzwave 0.3.1 to easy-install.pth file

Installed /usr/lib/python3.9/site-packages/libopenzwave-0.3.1-py3.9-linux-armv7l.egg
Processing dependencies for libopenzwave==0.3.1
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Finished processing dependencies for libopenzwave==0.3.1

Installation of lib finished.
python setup-api.py install
running install
/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
creating src-api/openzwave.egg-info
writing src-api/openzwave.egg-info/PKG-INFO
writing dependency_links to src-api/openzwave.egg-info/dependency_links.txt
writing requirements to src-api/openzwave.egg-info/requires.txt
writing top-level names to src-api/openzwave.egg-info/top_level.txt
writing manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
reading manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
writing manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/lib
creating build/lib/openzwave
copying src-api/openzwave/command.py -> build/lib/openzwave
copying src-api/openzwave/option.py -> build/lib/openzwave
copying src-api/openzwave/__init__.py -> build/lib/openzwave
copying src-api/openzwave/object.py -> build/lib/openzwave
copying src-api/openzwave/node.py -> build/lib/openzwave
copying src-api/openzwave/controller.py -> build/lib/openzwave
copying src-api/openzwave/value.py -> build/lib/openzwave
copying src-api/openzwave/group.py -> build/lib/openzwave
copying src-api/openzwave/network.py -> build/lib/openzwave
copying src-api/openzwave/singleton.py -> build/lib/openzwave
copying src-api/openzwave/scene.py -> build/lib/openzwave
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/command.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/option.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/__init__.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/object.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/node.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/controller.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/value.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/group.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/network.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/singleton.py -> build/bdist.linux-armv7l/egg/openzwave
copying build/lib/openzwave/scene.py -> build/bdist.linux-armv7l/egg/openzwave
byte-compiling build/bdist.linux-armv7l/egg/openzwave/command.py to command.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/option.py to option.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/object.py to object.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/node.py to node.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/controller.py to controller.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/value.py to value.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/group.py to group.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/network.py to network.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/singleton.py to singleton.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/openzwave/scene.py to scene.cpython-39.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying src-api/openzwave.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-api/openzwave.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-api/openzwave.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-api/openzwave.egg-info/not-zip-safe -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-api/openzwave.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying src-api/openzwave.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
creating 'dist/openzwave-0.3.1-py3.9.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing openzwave-0.3.1-py3.9.egg
removing '/usr/lib/python3.9/site-packages/openzwave-0.3.1-py3.9.egg' (and everything under it)
creating /usr/lib/python3.9/site-packages/openzwave-0.3.1-py3.9.egg
Extracting openzwave-0.3.1-py3.9.egg to /usr/lib/python3.9/site-packages
Adding openzwave 0.3.1 to easy-install.pth file

Installed /usr/lib/python3.9/site-packages/openzwave-0.3.1-py3.9.egg
Processing dependencies for openzwave==0.3.1
Searching for libopenzwave==0.3.1
Best match: libopenzwave 0.3.1
Processing libopenzwave-0.3.1-py3.9-linux-armv7l.egg
Adding libopenzwave 0.3.1 to easy-install.pth file

Using /usr/lib/python3.9/site-packages/libopenzwave-0.3.1-py3.9-linux-armv7l.egg
Searching for PyDispatcher==2.0.7
Best match: PyDispatcher 2.0.7
Processing PyDispatcher-2.0.7-py3.9.egg
Adding PyDispatcher 2.0.7 to easy-install.pth file

Using /usr/lib/python3.9/site-packages/PyDispatcher-2.0.7-py3.9.egg
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Finished processing dependencies for openzwave==0.3.1

Installation of API finished.
sed: can't read /etc/inittab: No such file or directory
Raspberry Pi 3 Detected. If you use a Razberry board you must Disabling Bluetooth
Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
And reboot your Raspberry Pi
Everything is successfully installed!
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
+ rm /tmp/jeedom_install_in_progress_openzwave
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Bonjour,

ce plugin n’est pas compatible avec debian 11 bullseye (il existe des dizaines de posts le précisant)

Oops. En effet je vois cela maintenant.
Du coup je dois repartir sur une version Debian 10 Buster?

soit ca, soit migrer sur #plugin-zwavejs (c’est aussi précisé dans les réponses précédentes)