Depuis le passage a debian 11.11 demon openzwave NOK

Bonjour,
sur raspberry 3B (2015) qui tournai pas trop mal avec debian 10 et jeedom 4.4.19
Pour pouvoir intégrer des modules Zigbee j’ai du passer sous Debian 11.
SSD 111go instal de debian 11 avec Pi Imager. OK
instal de jeedom OK
récupération de ma dernière sauvegarde OK

redémarrage … avec Bedian 11 32bit grosse galère avec plusieurs plugin ( Zigbee, Z-wave, playTTS, RFlink, MQTT, …)
avec Debian 11 64bit tout OK sauf Z-Wave.

Demon NOK

Dépendances relancées plusieurs fois, Statut OK
Port du contrôleur Zwave Auto

Log du plugin openzwave:

[2024-12-16 10:35:05] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-12-16 10:35:07] INFO  : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device auto --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 GHwAgVJ9EGtlZK3i72LmXKEMtaYiPU71PIBKFD78tgmeaRxW --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid --disabledNodes 60,61,17,26,38,39,40,63,64,31,59
Traceback (most recent call last):
File "/var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py", line 18, in <module>
from ozwave import globals,server_utils,rest_server
File "/var/www/html/plugins/openzwave/resources/openzwaved/ozwave/globals.py", line 1, in <module>
import utils,network_utils,controller_utils,node_utils
File "/var/www/html/plugins/openzwave/resources/openzwaved/ozwave/utils.py", line 6, in <module>
import network_utils
File "/var/www/html/plugins/openzwave/resources/openzwaved/ozwave/network_utils.py", line 5, in <module>
import globals,utils,dispatcher_utils,serialization,node_utils
File "/var/www/html/plugins/openzwave/resources/openzwaved/ozwave/dispatcher_utils.py", line 4, in <module>
import network_utils,node_utils,value_utils,scene_utils,controller_utils
File "/var/www/html/plugins/openzwave/resources/openzwaved/ozwave/node_utils.py", line 5, in <module>
from lxml import etree
ImportError: No module named lxml
[2024-12-16 10:35:37] ERROR  : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log

Log du plugin openzwave_packages :

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_openzwave
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Hit:6 https://download.docker.com/linux/debian bullseye InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y git
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python-pip
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip
E: Package 'python-pip' has no installation candidate
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python-dev-is-python2 is already the newest version (2.7.18-9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pyudev is already the newest version (0.22.0-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 7
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-requests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-requests is already the newest version (2.25.1+dfsg-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 8
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-setuptools
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (52.0.0-4+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 9
+ sudo apt install -o Dpkg::Options::=--force-confdef -y make
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
make is already the newest version (4.3-4.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 10
+ sudo apt install -o Dpkg::Options::=--force-confdef -y build-essential
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 11
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libudev-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libudev-dev is already the newest version (247.3-7+deb11u6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 12
+ sudo apt install -o Dpkg::Options::=--force-confdef -y g++
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:10.2.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 13
+ sudo apt install -o Dpkg::Options::=--force-confdef -y gcc
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version (4:10.2.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 14
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python-lxml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python-lxml
+ echo 15
+ sudo apt install -o Dpkg::Options::=--force-confdef -y unzip
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
unzip is already the newest version (6.0-26+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 16
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libjpeg-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libjpeg-dev is already the newest version (1:2.0.6-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 17
+ echo 18
+ echo 19
+ echo 20
+ echo 21
+ echo 22
+ echo 23
+ echo 24
+ echo 25
+ echo 26
+ 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
Not uninstalling cython at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'Cython'. No files were found to uninstall.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
Package cython is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Package 'cython' has no installation candidate
make: *** [Makefile:142: cython-deps] Error 100
Installing dependencies for python : 2 7 18
apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
Reading package lists...
Building dependency tree...
Reading state information...
Package python-docutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Package 'python-pip' has no installation candidate
E: Package 'python-docutils' has no installation candidate
E: Unable to locate package python-louie
make: *** [Makefile:150: common-deps] Error 100
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
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
Traceback (most recent call last):
File "setup-lib.py", line 26, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
make: *** [Makefile:266: build] Error 1
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 27
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
+ echo 28
+ rm /tmp/jeedom_install_in_progress_openzwave
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Centre de Messages:

Erreur exécution de la commande [Chambre 1][Chambre 1][Up] : Echec de la requête http : http://127.0.0.1:8083/node?node_id=32&instance_id=1&cc_id=38&index=0&type=setvalue&value=99&apikey=GHwAgVJ9EGtlZK3i72LmXKEMtaYiPU71PIBKFD78tgmeaRxW Curl error : Failed to connect to 127.0.0.1 port 8083: Connection refused



Help me, please help me. :thinking:

Bonjour,
A ma connaissance, openzwave n’est pas compatible debian 11 (Petite recherche sur openzwave et debian 11).
En espérant que çà puisse vous aider.
Maxime
PS : un meilleur tag serait : plugin-openzwave.

crevelm, oui, ça semble exact même si j’ai pas trouvé dans les prérequis. je suis passé a Debian 11 pour mes nouveaux modules Jeezigbee obligé de changer le plugin Z-Wave. Merci

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.