OpenZwave sur Debian11 (en dépannage)

En bref tout m’a l’air normal

  • j’ai bien récupéré les data de openzwave (à la main)
  • j’ai activé zwave.js (et forcé les synchros à la main)
  • les plugins sont happy

mais dans l’immédiat les commandes ne partent pas jusqu’aux modules

en effet je suis sur bullseye avec la 4.4.17

De quel module veux tu le log ?

NB : openzwave est installé mais désactivé

D’après ta page Santé tu es en debian 10. Donc pas en Bullseye.

très juste… désolé pour cet impair.
L’environnement en production est bien en bullseye 11, et quand j’ai fait le choix de basculer sur zwave.js (comme demandé par @akenad et rapporté plus haut, je l’ai fait sur la smart dispo à la maison. j’avais oublié qu’elle pouvait être en débian 10

DAns l’imédiat, tu lis bien, j’ai planté l’environnement zwave de la maison, en plus de celui en production (qu’il fallait initialement que je remette en état de service)

PS : pour la maison j’ai une sauvegarde, mais là n’est pas le sujet, je dois réussir à passer efficacement sur zwave.js si je veux retrouver l’autre environnement. Celui là est en 11 et je n’ai pas le choix. Il faut donc que je réussisse à comprendre comment faire marche zwave.js grr!r!

J’arrive pas à suivre.
Mais donc en Debian 10 c’est normal que la version de zwavejs du 29/09 ne fonctionne pas. Elle n’aurait même pas dû s’installer.
Log des dépendances ?

oui, désolé @Madcow pour le cheminement. J4ai beaucoup cherché et essayé de truc avant de poster tout çà et ca complexifie l’historique. Tu as écrit en meme temps que moi, peut etre le message ci dessus peut aider.

Pour le log des dépendances, je ne sais pas trop ce qu’ils te faut. j’ai 2 log seulement, les voici en entier :

zwavejsd

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
e[90m2024-09-29 09:09:09.657e[39m e[32mINFOe[39m e[1mAPPe[22m: Version: 9.20.0.bf3bdc3
e[90m2024-09-29 09:09:09.670e[39m e[32mINFOe[39m e[1mAPPe[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______  __          __                      _  _____     _    _ _____
|___  /  \ \        / /                     | |/ ____|   | |  | |_   _|
/ /____\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /______\ \/  \/ / _' \ \ / / _ \    _   | |\___ \    | |  | | | |
/ /__      \  /\  / (_| |\ V /  __/   | |__| |____) |   | |__| |_| |_
/_____|      \/  \/ \__,_| \_/ \___|    \____/|_____/     \____/|_____|
e[90m2024-09-29 09:09:09.727e[39m e[33mWARNe[39m e[1mSTOREe[22m: scenes.json not found
error Command failed with signal "SIGTERM".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
e[90m2024-09-29 10:05:35.376e[39m e[32mINFOe[39m e[1mAPPe[22m: Version: 9.20.0.bf3bdc3
e[90m2024-09-29 10:05:35.394e[39m e[32mINFOe[39m e[1mAPPe[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______  __          __                      _  _____     _    _ _____
|___  /  \ \        / /                     | |/ ____|   | |  | |_   _|
/ /____\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /______\ \/  \/ / _' \ \ / / _ \    _   | |\___ \    | |  | | | |
/ /__      \  /\  / (_| |\ V /  __/   | |__| |____) |   | |__| |_| |_
/_____|      \/  \/ \__,_| \_/ \___|    \____/|_____/     \____/|_____|
e[90m2024-09-29 10:05:35.469e[39m e[33mWARNe[39m e[1mSTOREe[22m: scenes.json not found
error Command failed with signal "SIGTERM".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
e[90m2024-09-29 10:22:42.651e[39m e[32mINFOe[39m e[1mAPPe[22m: Version: 9.20.0.bf3bdc3
e[90m2024-09-29 10:22:42.665e[39m e[32mINFOe[39m e[1mAPPe[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______  __          __                      _  _____     _    _ _____
|___  /  \ \        / /                     | |/ ____|   | |  | |_   _|
/ /____\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /______\ \/  \/ / _' \ \ / / _ \    _   | |\___ \    | |  | | | |
/ /__      \  /\  / (_| |\ V /  __/   | |__| |____) |   | |__| |_| |_
/_____|      \/  \/ \__,_| \_/ \___|    \____/|_____/     \____/|_____|
e[90m2024-09-29 10:22:42.728e[39m e[33mWARNe[39m e[1mSTOREe[22m: scenes.json not found
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
e[90m2024-09-29 11:27:08.133e[39m e[32mINFOe[39m e[1mAPPe[22m: Version: 9.20.0.bf3bdc3
e[90m2024-09-29 11:27:08.151e[39m e[32mINFOe[39m e[1mAPPe[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______  __          __                      _  _____     _    _ _____
|___  /  \ \        / /                     | |/ ____|   | |  | |_   _|
/ /____\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /______\ \/  \/ / _' \ \ / / _ \    _   | |\___ \    | |  | | | |
/ /__      \  /\  / (_| |\ V /  __/   | |__| |____) |   | |__| |_| |_
/_____|      \/  \/ \__,_| \_/ \___|    \____/|_____/     \____/|_____|
e[90m2024-09-29 11:27:08.211e[39m e[33mWARNe[39m e[1mSTOREe[22m: scenes.json not found

Pour l’autre « zwavejs_packages »


0000|Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
0001|Collecting urllib3<1.27,>=1.21.1 (from requests)
0002|Downloading https://files.pythonhosted.org/packages/c5/05/c214b32d21c0b465506f95c4f28ccbcba15022e000b043b72b3df7728471/urllib3-1.26.16-py2.py3-none-any.whl (143kB)
0003|Collecting certifi>=2017.4.17 (from requests)
0004|Downloading https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149kB)
0005|Collecting chardet<5,>=3.0.2; python_version < "3" (from requests)
0006|Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)
0007|Installing collected packages: idna, urllib3, certifi, chardet, requests
0008|Found existing installation: idna 2.6
0009|Not uninstalling idna at /usr/lib/python2.7/dist-packages, outside environment /usr
0010|Can't uninstall 'idna'. No files were found to uninstall.
0011|Found existing installation: urllib3 1.24.1
0012|Not uninstalling urllib3 at /usr/lib/python2.7/dist-packages, outside environment /usr
0013|Can't uninstall 'urllib3'. No files were found to uninstall.
0014|Found existing installation: certifi 2018.8.24
0015|Not uninstalling certifi at /usr/lib/python2.7/dist-packages, outside environment /usr
0016|Can't uninstall 'certifi'. No files were found to uninstall.
0017|Found existing installation: chardet 3.0.4
0018|Not uninstalling chardet at /usr/lib/python2.7/dist-packages, outside environment /usr
0019|Can't uninstall 'chardet'. No files were found to uninstall.
0020|Found existing installation: requests 2.21.0
0021|Not uninstalling requests at /usr/lib/python2.7/dist-packages, outside environment /usr
0022|Can't uninstall 'requests'. No files were found to uninstall.
0023|Successfully installed certifi-2021.10.8 chardet-4.0.0 idna-2.10 requests-2.27.1 urllib3-1.26.16
0024|+ echo 11
0025|+ sudo pip2 install --force-reinstall --upgrade setuptools
0026|Collecting setuptools
0027|Using cached https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006ec932b4/setuptools-44.1.1-py2.py3-none-any.whl
0028|Installing collected packages: setuptools
0029|Found existing installation: setuptools 40.8.0
0030|Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, outside environment /usr
0031|Can't uninstall 'setuptools'. No files were found to uninstall.
0032|Successfully installed setuptools-44.1.1
0033|+ echo 12
0034|+ sudo pip2 install --force-reinstall --upgrade pyserial
0035|Collecting pyserial
0036|Downloading https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl (90kB)
0037|Installing collected packages: pyserial
0038|Found existing installation: pyserial 3.4
0039|Not uninstalling pyserial at /usr/lib/python2.7/dist-packages, outside environment /usr
0040|Can't uninstall 'pyserial'. No files were found to uninstall.
0041|Successfully installed pyserial-3.5
0042|+ echo 13
0043|+ sudo pip2 install --force-reinstall --upgrade six
0044|Collecting six
0045|Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
0046|Installing collected packages: six
0047|Found existing installation: six 1.16.0
0048|Uninstalling six-1.16.0:
0049|Successfully uninstalled six-1.16.0
0050|Successfully installed six-1.16.0
0051|+ echo 14
0052|+ sudo pip2 install --force-reinstall --upgrade tornado
0053|Collecting tornado
0054|Using cached https://files.pythonhosted.org/packages/e6/78/6e7b5af12c12bdf38ca9bfe863fcaf53dc10430a312d0324e76c1e5ca426/tornado-5.1.1.tar.gz
0055|Collecting futures (from tornado)
0056|Downloading https://files.pythonhosted.org/packages/d4/ea/9d513529a89bcbcd07c8acbac9eecfad29e7562e0b9d69d14f475987ad70/futures-3.4.0-py2-none-any.whl
0057|Collecting singledispatch (from tornado)
0058|Downloading https://files.pythonhosted.org/packages/3f/09/2a17c6505a8373229cb3de6161e3af74ff90afcf4516719aa6cf32fad151/singledispatch-3.7.0-py2.py3-none-any.whl
0059|Collecting backports_abc>=0.4 (from tornado)
0060|Using cached https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
0061|Collecting six (from singledispatch->tornado)
0062|Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
0063|Building wheels for collected packages: tornado
0064|Running setup.py bdist_wheel for tornado: started
0065|Running setup.py bdist_wheel for tornado: finished with status 'done'
0066|Stored in directory: /root/.cache/pip/wheels/6d/e1/ce/f4ee2fa420cc6b940123c64992b81047816d0a9fad6b879325
0067|Successfully built tornado
0068|Installing collected packages: futures, six, singledispatch, backports-abc, tornado
0069|Found existing installation: futures 3.3.0
0070|Uninstalling futures-3.3.0:
0071|Successfully uninstalled futures-3.3.0
0072|Found existing installation: six 1.16.0
0073|Uninstalling six-1.16.0:
0074|Successfully uninstalled six-1.16.0
0075|Found existing installation: singledispatch 3.4.0.3
0076|Uninstalling singledispatch-3.4.0.3:
0077|Successfully uninstalled singledispatch-3.4.0.3
0078|Found existing installation: backports-abc 0.5
0079|Uninstalling backports-abc-0.5:
0080|Successfully uninstalled backports-abc-0.5
0081|Found existing installation: tornado 5.1.1
0082|Uninstalling tornado-5.1.1:
0083|Successfully uninstalled tornado-5.1.1
0084|Successfully installed backports-abc-0.5 futures-3.4.0 singledispatch-3.7.0 six-1.16.0 tornado-5.1.1
0085|+ echo 15
0086|+ sudo chmod +x /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
0087|+ sudo /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
0088|Lancement de l'installation/mise à jour des dépendances openzwave
0089|mkdir: cannot create directory '/opt': File exists
0090|Désinstallation de la version précédente
0091|Installation de Python-OpenZwave
0092|Not uninstalling cython at /usr/lib/python2.7/dist-packages, outside environment /usr
0093|Can't uninstall 'Cython'. No files were found to uninstall.
0094|apt-get install --force-yes -y cython
0095|Reading package lists...
0096|Building dependency tree...
0097|Reading state information...
0098|cython is already the newest version (0.29.2-2).
0099|0 upgraded, 0 newly installed, 0 to remove and 268 not upgraded.
0100|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0101|Installing dependencies for python : 2 7 16
0102|apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
0103|Reading package lists...
0104|Building dependency tree...
0105|Reading state information...
0106|python-louie is already the newest version (1.1-4).
0107|python-dev is already the newest version (2.7.16-1).
0108|python-docutils is already the newest version (0.14+dfsg-4).
0109|python-pip is already the newest version (18.1-5).
0110|python-setuptools is already the newest version (40.8.0-1).
0111|0 upgraded, 0 newly installed, 0 to remove and 268 not upgraded.
0112|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0113|apt-get install --force-yes -y build-essential libudev-dev g++
0114|Reading package lists...
0115|Building dependency tree...
0116|Reading state information...
0117|build-essential is already the newest version (12.6).
0118|g++ is already the newest version (4:8.3.0-1).
0119|The following packages will be upgraded:
0120|libudev-dev libudev1 udev
0121|3 upgraded, 0 newly installed, 0 to remove and 265 not upgraded.
0122|Need to get 1502 kB of archives.
0123|After this operation, 4096 B disk space will be freed.
0124|Get:1 http://security.debian.org/debian-security buster/updates/main arm64 libudev-dev arm64 241-7~deb10u10 [110 kB]
0125|Get:2 http://security.debian.org/debian-security buster/updates/main arm64 udev arm64 241-7~deb10u10 [1245 kB]
0126|Get:3 http://security.debian.org/debian-security buster/updates/main arm64 libudev1 arm64 241-7~deb10u10 [146 kB]
0127|debconf: unable to initialize frontend: Dialog
0128|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0129|debconf: falling back to frontend: Readline
0130|debconf: unable to initialize frontend: Readline
0131|debconf: (This frontend requires a controlling tty.)
0132|debconf: falling back to frontend: Teletype
0133|dpkg-preconfigure: unable to re-open stdin:
0134|Fetched 1502 kB in 1s (1933 kB/s)
0135|(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 ... 75720 files and directories currently installed.)
0136|Preparing to unpack .../libudev-dev_241-7~deb10u10_arm64.deb ...
0137|Unpacking libudev-dev:arm64 (241-7~deb10u10) over (241-7~deb10u4) ...
0138|Preparing to unpack .../udev_241-7~deb10u10_arm64.deb ...
0139|Unpacking udev (241-7~deb10u10) over (241-7~deb10u4) ...
0140|Preparing to unpack .../libudev1_241-7~deb10u10_arm64.deb ...
0141|Unpacking libudev1:arm64 (241-7~deb10u10) over (241-7~deb10u4) ...
0142|Setting up libudev1:arm64 (241-7~deb10u10) ...
0143|Setting up udev (241-7~deb10u10) ...
0144|update-initramfs: deferring update (trigger activated)
0145|Setting up libudev-dev:arm64 (241-7~deb10u10) ...
0146|Processing triggers for systemd (241-7~deb10u4) ...
0147|Processing triggers for libc-bin (2.28-10) ...
0148|Processing triggers for initramfs-tools (0.133+deb10u1) ...
0149|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0150|apt-get install --force-yes -y cython
0151|Reading package lists...
0152|Building dependency tree...
0153|Reading state information...
0154|cython is already the newest version (0.29.2-2).
0155|0 upgraded, 0 newly installed, 0 to remove and 265 not upgraded.
0156|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0157|pip install nose-html
0158|Requirement already satisfied: nose-html in /usr/local/lib/python2.7/dist-packages (1.1)
0159|Requirement already satisfied: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from nose-html) (1.3.7)
0160|pip install nose-progressive
0161|Requirement already satisfied: nose-progressive in /usr/local/lib/python2.7/dist-packages (1.5.2)
0162|Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from nose-progressive) (1.3.7)
0163|Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive) (1.7)
0164|Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.16.0)
0165|pip install coverage
0166|Requirement already satisfied: coverage in /usr/local/lib/python2.7/dist-packages (5.2)
0167|pip install nose
0168|Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages (1.3.7)
0169|pip install pylint
0170|Requirement already satisfied: pylint in /usr/local/lib/python2.7/dist-packages (1.9.5)
0171|Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint) (3.7.0)
0172|Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint) (0.6.1)
0173|Requirement already satisfied: configparser; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint) (4.0.2)
0174|Requirement already satisfied: astroid<2.0,>=1.6 in /usr/local/lib/python2.7/dist-packages (from pylint) (1.6.6)
0175|Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint) (4.3.21)
0176|Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint) (1.6.1)
0177|Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from pylint) (1.16.0)
0178|Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.1.10)
0179|Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.5.0)
0180|Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.12.1)
0181|Requirement already satisfied: futures; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint) (3.4.0)
0182|#pip install docutils
0183|#pip install setuptools
0184|#The following line crashes with a core dump
0185|#pip install "Cython==0.22"
0186|Dependencies for users installed (python 2 7 16)
0187|sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
0188|cd openzwave && make
0189|make[1]: Entering directory '/opt/python-openzwave/openzwave'
0190|CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w
0191|make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
0192|Building OpenZWave Version 1.4.-1
0193|Building tinystr.o
0194|Building tinyxmlerror.o
0195|Building tinyxml.o
0196|Building tinyxmlparser.o
0197|Building hid.o
0198|Building aeskey.o
0199|Building aescrypt.o
0200|Building aestab.o
0201|Building aes_modes.o
0202|Building Security.o
0203|Building Proprietary.o
0204|Building MultiInstance.o
0205|Building ControllerReplication.o
0206|Building MultiChannelAssociation.o
0207|Building SwitchMultilevel.o
0208|Building Color.o
0209|Building MultiCmd.o
0210|Building Indicator.o
0211|Building Language.o
0212|Building MeterPulse.o
0213|Building SensorBinary.o
0214|Building SwitchBinary.o
0215|Building Clock.o
0216|Building Configuration.o
0217|Building CommandClass.o
0218|Building SwitchToggleBinary.o
0219|Building ThermostatMode.o
0220|Building TimeParameters.o
0221|Building UserCode.o
0222|Building BarrierOperator.o
0223|Building ThermostatFanState.o
0224|Building Association.o
0225|Building ClimateControlSchedule.o
0226|Building Hail.o
0227|Building ApplicationStatus.o
0228|Building CentralScene.o
0229|Building DoorLockLogging.o
0230|/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)':
0231|/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp:312:15: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict]
0232|snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
0233|^~~~~~~~                             ~~~~~~~~
0234|Building Protection.o
0235|Building NodeNaming.o
0236|Building Meter.o
0237|Building WakeUp.o
0238|Building ManufacturerProprietary.o
0239|Building BasicWindowCovering.o
0240|Building SwitchAll.o
0241|Building Lock.o
0242|Building AssociationCommandConfiguration.o
0243|Building ManufacturerSpecific.o
0244|Building SceneActivation.o
0245|Building SensorAlarm.o
0246|Building Powerlevel.o
0247|Building DoorLock.o
0248|Building SensorMultilevel.o
0249|Building ThermostatOperatingState.o
0250|Building Battery.o
0251|Building ThermostatFanMode.o
0252|Building CRC16Encap.o
0253|Building SoundSwitch.o
0254|Building ZWavePlusInfo.o
0255|Building Version.o
0256|Building Alarm.o
0257|Building CommandClasses.o
0258|Building ThermostatSetpoint.o
0259|Building NoOperation.o
0260|Building EnergyProduction.o
0261|Building Basic.o
0262|Building DeviceResetLocally.o
0263|Building SwitchToggleMultilevel.o
0264|Building Value.o
0265|Building ValueList.o
0266|Building ValueButton.o
0267|Building ValueInt.o
0268|Building ValueStore.o
0269|Building ValueDecimal.o
0270|Building ValueRaw.o
0271|Building ValueString.o
0272|Building ValueByte.o
0273|Building ValueBool.o
0274|Building ValueSchedule.o
0275|Building ValueShort.o
0276|Building Controller.o
0277|Building Wait.o
0278|Building Thread.o
0279|Building Stream.o
0280|Building Log.o
0281|Building HidController.o
0282|Building Mutex.o
0283|Building SerialController.o
0284|Building Event.o
0285|Building FileOps.o
0286|Building TimeStamp.o
0287|Building FileOpsImpl.o
0288|Building TimeStampImpl.o
0289|Building WaitImpl.o
0290|Building ThreadImpl.o
0291|Building LogImpl.o
0292|Building MutexImpl.o
0293|Building SerialControllerImpl.o
0294|Building EventImpl.o
0295|Building Options.o
0296|Building Scene.o
0297|Building Utils.o
0298|Building Driver.o
0299|Building ZWSecurity.o
0300|Building Group.o
0301|Building Node.o
0302|Building Manager.o
0303|Building Msg.o
0304|Building Notification.o
0305|Creating vers.cpp
0306|Building vers.o
0307|Linking Static Library
0308|Linking Shared Library
0309|Making ozw_config file
0310|make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
0311|CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/examples/MinOZW/ -w
0312|make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
0313|Building Main.o
0314|Linking /opt/python-openzwave/openzwave/.lib/MinOZW
0315|g++   -o /opt/python-openzwave/openzwave/.lib/MinOZW /opt/python-openzwave/openzwave/.lib/Main.o /opt/python-openzwave/openzwave/libopenzwave.so -pthread
0316|Creating Temporary Shell Launch Script
0317|make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
0318|make[1]: Leaving directory '/opt/python-openzwave/openzwave'
0319|python setup-lib.py build
0320|running build
0321|running build_ext
0322|cythoning src-lib/libopenzwave/libopenzwave.pyx to src-lib/libopenzwave/libopenzwave.cpp
0323|/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367: 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
0324|tree = Parsing.p_module(s, pxd, full_module_name)
0325|building 'libopenzwave' extension
0326|creating build
0327|creating build/temp.linux-aarch64-2.7
0328|creating build/temp.linux-aarch64-2.7/src-lib
0329|creating build/temp.linux-aarch64-2.7/src-lib/libopenzwave
0330|aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-QCkEc0/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -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/python2.7 -c src-lib/libopenzwave/libopenzwave.cpp -o build/temp.linux-aarch64-2.7/src-lib/libopenzwave/libopenzwave.o
0331|cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
0332|src-lib/libopenzwave/libopenzwave.cpp:3: warning: "PY_SSIZE_T_CLEAN" redefined
0333|#define PY_SSIZE_T_CLEAN
0334|<command-line>: note: this is the location of the previous definition
0335|In file included from openzwave/cpp/src/aes/aescpp.h:26,
0336|from openzwave/cpp/src/Driver.h:42,
0337|from src-lib/libopenzwave/libopenzwave.cpp:638:
0338|openzwave/cpp/src/aes/aes.h:75: warning: ignoring #pragma warning  [-Wunknown-pragmas]
0339|#pragma warning( disable : 4324 )
0340|openzwave/cpp/src/aes/aes.h:93: warning: ignoring #pragma warning  [-Wunknown-pragmas]
0341|#pragma warning( default : 4324 )
0342|src-lib/libopenzwave/libopenzwave.cpp: In function 'PyObject* __pyx_pf_12libopenzwave_9PyManager_268beginControllerCommand(__pyx_obj_12libopenzwave_PyManager*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)':
0343|src-lib/libopenzwave/libopenzwave.cpp:30325:204: warning: 'bool OpenZWave::Manager::BeginControllerCommand(uint32, OpenZWave::Driver::ControllerCommand, OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)' is deprecated [-Wdeprecated-declarations]
0344|__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)
0345|^
0346|In file included from src-lib/libopenzwave/libopenzwave.cpp:643:
0347|openzwave/cpp/src/Manager.h:1731:19: note: declared here
0348|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 );
0349|^~~~~~~~~~~~~~~~~~~~~~
0350|creating build/lib.linux-aarch64-2.7
0351|aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-QCkEc0/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-QCkEc0/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src-lib/libopenzwave/libopenzwave.o openzwave/libopenzwave.a -ludev -lstdc++ -o build/lib.linux-aarch64-2.7/libopenzwave.so
0352|python setup-lib.py install
0353|running install
0354|running bdist_egg
0355|running egg_info
0356|creating src-lib/libopenzwave.egg-info
0357|writing requirements to src-lib/libopenzwave.egg-info/requires.txt
0358|writing src-lib/libopenzwave.egg-info/PKG-INFO
0359|writing top-level names to src-lib/libopenzwave.egg-info/top_level.txt
0360|writing dependency_links to src-lib/libopenzwave.egg-info/dependency_links.txt
0361|writing manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
0362|reading manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
0363|writing manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
0364|installing library code to build/bdist.linux-aarch64/egg
0365|running install_lib
0366|running build_ext
0367|skipping 'src-lib/libopenzwave/libopenzwave.cpp' Cython extension (up-to-date)
0368|creating build/bdist.linux-aarch64
0369|creating build/bdist.linux-aarch64/egg
0370|copying build/lib.linux-aarch64-2.7/libopenzwave.so -> build/bdist.linux-aarch64/egg
0371|creating stub loader for libopenzwave.so
0372|byte-compiling build/bdist.linux-aarch64/egg/libopenzwave.py to libopenzwave.pyc
0373|installing package data to build/bdist.linux-aarch64/egg
0374|running install_data
0375|creating build/bdist.linux-aarch64/egg/config
0376|creating build/bdist.linux-aarch64/egg/EGG-INFO
0377|copying src-lib/libopenzwave.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
0378|copying src-lib/libopenzwave.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0379|copying src-lib/libopenzwave.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0380|copying src-lib/libopenzwave.egg-info/not-zip-safe -> build/bdist.linux-aarch64/egg/EGG-INFO
0381|copying src-lib/libopenzwave.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0382|copying src-lib/libopenzwave.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0383|writing build/bdist.linux-aarch64/egg/EGG-INFO/native_libs.txt
0384|creating dist
0385|creating 'dist/libopenzwave-0.3.1-py2.7-linux-aarch64.egg' and adding 'build/bdist.linux-aarch64/egg' to it
0386|removing 'build/bdist.linux-aarch64/egg' (and everything under it)
0387|Processing libopenzwave-0.3.1-py2.7-linux-aarch64.egg
0388|creating /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-aarch64.egg
0389|Extracting libopenzwave-0.3.1-py2.7-linux-aarch64.egg to /usr/local/lib/python2.7/dist-packages
0390|Adding libopenzwave 0.3.1 to easy-install.pth file
0391|Installed /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-aarch64.egg
0392|Processing dependencies for libopenzwave==0.3.1
0393|Searching for six==1.16.0
0394|Best match: six 1.16.0
0395|Adding six 1.16.0 to easy-install.pth file
0396|Using /usr/local/lib/python2.7/dist-packages
0397|Finished processing dependencies for libopenzwave==0.3.1
0398|Installation of lib finished.
0399|python setup-api.py install
0400|running install
0401|running bdist_egg
0402|running egg_info
0403|creating src-api/openzwave.egg-info
0404|writing requirements to src-api/openzwave.egg-info/requires.txt
0405|writing src-api/openzwave.egg-info/PKG-INFO
0406|writing top-level names to src-api/openzwave.egg-info/top_level.txt
0407|writing dependency_links to src-api/openzwave.egg-info/dependency_links.txt
0408|writing manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
0409|reading manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
0410|writing manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
0411|installing library code to build/bdist.linux-aarch64/egg
0412|running install_lib
0413|running build_py
0414|creating build/lib.linux-aarch64-2.7/openzwave
0415|copying src-api/openzwave/scene.py -> build/lib.linux-aarch64-2.7/openzwave
0416|copying src-api/openzwave/network.py -> build/lib.linux-aarch64-2.7/openzwave
0417|copying src-api/openzwave/__init__.py -> build/lib.linux-aarch64-2.7/openzwave
0418|copying src-api/openzwave/command.py -> build/lib.linux-aarch64-2.7/openzwave
0419|copying src-api/openzwave/singleton.py -> build/lib.linux-aarch64-2.7/openzwave
0420|copying src-api/openzwave/object.py -> build/lib.linux-aarch64-2.7/openzwave
0421|copying src-api/openzwave/option.py -> build/lib.linux-aarch64-2.7/openzwave
0422|copying src-api/openzwave/group.py -> build/lib.linux-aarch64-2.7/openzwave
0423|copying src-api/openzwave/controller.py -> build/lib.linux-aarch64-2.7/openzwave
0424|copying src-api/openzwave/value.py -> build/lib.linux-aarch64-2.7/openzwave
0425|copying src-api/openzwave/node.py -> build/lib.linux-aarch64-2.7/openzwave
0426|creating build/bdist.linux-aarch64/egg
0427|creating build/bdist.linux-aarch64/egg/openzwave
0428|copying build/lib.linux-aarch64-2.7/openzwave/scene.py -> build/bdist.linux-aarch64/egg/openzwave
0429|copying build/lib.linux-aarch64-2.7/openzwave/network.py -> build/bdist.linux-aarch64/egg/openzwave
0430|copying build/lib.linux-aarch64-2.7/openzwave/__init__.py -> build/bdist.linux-aarch64/egg/openzwave
0431|copying build/lib.linux-aarch64-2.7/openzwave/command.py -> build/bdist.linux-aarch64/egg/openzwave
0432|copying build/lib.linux-aarch64-2.7/openzwave/singleton.py -> build/bdist.linux-aarch64/egg/openzwave
0433|copying build/lib.linux-aarch64-2.7/openzwave/object.py -> build/bdist.linux-aarch64/egg/openzwave
0434|copying build/lib.linux-aarch64-2.7/openzwave/option.py -> build/bdist.linux-aarch64/egg/openzwave
0435|copying build/lib.linux-aarch64-2.7/openzwave/group.py -> build/bdist.linux-aarch64/egg/openzwave
0436|copying build/lib.linux-aarch64-2.7/openzwave/controller.py -> build/bdist.linux-aarch64/egg/openzwave
0437|copying build/lib.linux-aarch64-2.7/openzwave/value.py -> build/bdist.linux-aarch64/egg/openzwave
0438|copying build/lib.linux-aarch64-2.7/openzwave/node.py -> build/bdist.linux-aarch64/egg/openzwave
0439|copying build/lib.linux-aarch64-2.7/libopenzwave.so -> build/bdist.linux-aarch64/egg
0440|byte-compiling build/bdist.linux-aarch64/egg/openzwave/scene.py to scene.pyc
0441|byte-compiling build/bdist.linux-aarch64/egg/openzwave/network.py to network.pyc
0442|byte-compiling build/bdist.linux-aarch64/egg/openzwave/__init__.py to __init__.pyc
0443|byte-compiling build/bdist.linux-aarch64/egg/openzwave/command.py to command.pyc
0444|byte-compiling build/bdist.linux-aarch64/egg/openzwave/singleton.py to singleton.pyc
0445|byte-compiling build/bdist.linux-aarch64/egg/openzwave/object.py to object.pyc
0446|byte-compiling build/bdist.linux-aarch64/egg/openzwave/option.py to option.pyc
0447|byte-compiling build/bdist.linux-aarch64/egg/openzwave/group.py to group.pyc
0448|byte-compiling build/bdist.linux-aarch64/egg/openzwave/controller.py to controller.pyc
0449|byte-compiling build/bdist.linux-aarch64/egg/openzwave/value.py to value.pyc
0450|byte-compiling build/bdist.linux-aarch64/egg/openzwave/node.py to node.pyc
0451|creating build/bdist.linux-aarch64/egg/EGG-INFO
0452|copying src-api/openzwave.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
0453|copying src-api/openzwave.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0454|copying src-api/openzwave.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0455|copying src-api/openzwave.egg-info/not-zip-safe -> build/bdist.linux-aarch64/egg/EGG-INFO
0456|copying src-api/openzwave.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0457|copying src-api/openzwave.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
0458|writing build/bdist.linux-aarch64/egg/EGG-INFO/native_libs.txt
0459|creating 'dist/openzwave-0.3.1-py2.7.egg' and adding 'build/bdist.linux-aarch64/egg' to it
0460|removing 'build/bdist.linux-aarch64/egg' (and everything under it)
0461|Processing openzwave-0.3.1-py2.7.egg
0462|creating /usr/local/lib/python2.7/dist-packages/openzwave-0.3.1-py2.7.egg
0463|Extracting openzwave-0.3.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
0464|Adding openzwave 0.3.1 to easy-install.pth file
0465|Installed /usr/local/lib/python2.7/dist-packages/openzwave-0.3.1-py2.7.egg
0466|Processing dependencies for openzwave==0.3.1
0467|Searching for libopenzwave==0.3.1
0468|Best match: libopenzwave 0.3.1
0469|Processing libopenzwave-0.3.1-py2.7-linux-aarch64.egg
0470|libopenzwave 0.3.1 is already the active version in easy-install.pth
0471|Using /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-aarch64.egg
0472|Searching for Louie==1.1
0473|Best match: Louie 1.1
0474|Adding Louie 1.1 to easy-install.pth file
0475|Using /usr/lib/python2.7/dist-packages
0476|Searching for six==1.16.0
0477|Best match: six 1.16.0
0478|Adding six 1.16.0 to easy-install.pth file
0479|Using /usr/local/lib/python2.7/dist-packages
0480|Finished processing dependencies for openzwave==0.3.1
0481|Installation of API finished.
0482|Everything is successfully installed!
0483|+ echo 16
0484|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
0485|+ rm /tmp/jeedom_install_in_progress_openzwave
0486|+ echo '*******************End of package installation******************'
0487|*******************End of package installation******************

Question simpliste : une fois la bascule réalisée sur zwave.js, faut il désinstaller openzwave pour écrire des commandes dans les modules zwave.js ?
je demande pour être sûr, mais je crois qu’il suffit de désactiver openzwave, ce que pourtant j’avais fait

Bonsoir,
Si car je crois qu’il y a eu un couac, celle du 27 matin s’installait encore sur une debian 10 et une 4.3.
Je l’ai fait puisque ce n’était pas encore bloqué en version et elle fonctionne bien.
Par contre ce qu’il faut vérifier c’est la version de nodejs qu’il a d’installé.
Chez moi avec cette version du 27 matin, bizarrement je suis toujours en nodejs 18 alors que si j’ai bien suivi, l’installation de cette version de zwavejs aurait dû installer nodejs20.
Donc peut-être des oublis qui m’ont rendu service car je n’ai rien planté.
C’est en tout cas ce que j’ai cru comprendre dans les différents échanges, peut-être à tort.

@rennais35000 : d’ou vient cette impression d’écran, que j’aille vérifier ?

(edit) j’ai trouvé. J’ai nodejs 18

Dis autrement, y aurait il un parametre de configuration qui obligerait zwave.js à n’être qu’à l’écoute ? comme un mode listen-only / read-only ?

Pas à ma connaissance ce genre de paramètre.
Et dans Santé du plugin ils sont dans quel état tes modules ?

Bonjour,

A lire tout ce que vous avez fait, je repartirais sur une installation propre déjà pour commencer.

Nous sommes très certainement des milliers à l’avoir utilisé, la fonction REMPLACER de Jeedom permet de faire la bascule des commandes des anciens modules OpenZwave vers les nouveaux modules détectés dans ZwaveJS
A part le nom, vous n’avez rien à faire.

Je pense, en vous lisant depuis le début, que vous vous perdez dans des « trucs » improbable.

3 « J'aime »

Bonjour Fabrice

Avec plein de respect pour le travail de mod que vous faites à annimer le site, je vois quand même 2 bais :

  • coup sur coup, le comportement de REMPLACER n’est pas identique, et l’une des install est bien neuve avec récup de l’image en bullseye sur smart.
  • on dirait qu’a chaque fois qu’un comportement est inexpliqué, il faudrait refaire une install propre. La seconde config (maison), effectivement montée en version, n’est quand même pas partie de si loin avec une carte certes en debian 10, mais quand même déjà en 4.1 (de mémoire).

La solution ne peut pas être à chaque fois qu’on parle jeedom et zwave, de réinstaller quand ca devient trop dur… Ou alors c’est vraiment un protocole à éviter ?

Je sais que c’est compliqué, sinon j’aurais fouillé encore tout seul jusqu’à trouver. Mais là je trouve pas d’explication n’ayant pas dévié des standards officiels à chaque opé.

merci !

Vous ne comprenez pas: on ne va pas perdre du temps à investiguer un problème alors que vous êtes sur un os obsolète dans une version de jeedom pas à jour, s’il y a eu des corrections entre la 4.1 & la 4.4, vous ne les avez pas.

Donc installez les dernières versions requises et ensuite vous verrez.

Idem, vous ne m’avez peut être pas compris // j’ai mal expliqué.
Je vous aurais écrit en privé, mais votre boite ne prend pas ces messages. Ce que je comprends.

Alors pour bien être clair :
La version « config maison » de l’install, en 4.4.17, n’est surement pas périmée, arrivant d’un upgrade de 4.1 (donc sur debian 10). Toute la confir est en photo ==>

Et l’autre (envirement prod) est aussi en 4.4.17, mieux, sur un iso recu de domadoo sur une emmc neuve. Simplement le backup chargé a été réalisé via les tuto de akenad (de mémoire) sur des machine vurtuellles pour ne pas salire la smart…

Je regrette que vous trouviez cela pas assez clean pour regarder.
Merci qd meme.

Désolé ca part dans tous les sens:

  • Faut pas parler de deux box différentes dans le même post. 1 question = 1 sujet
  • debian 10 c’est périmé qu’importe la version jeedom. Il ne faut plus essayer d’installer ou mettre à jour.

Sinon la question d’origine c’est

La réponse est non, ce n’est pas possible ni la bonne chose à faire.

1 « J'aime »

A tout hasard, j’ai circonscrit le probleme. Voici où ca coince
(extrait de la page santée de Zwave.js :

Il y a que des « ProtocolInfo », y compris sur les modules secteur (cette liste n’est qu’un extrait)

Je m’auto réponds, car ca avance…

En déclenchant un nouvel interview manuel de l’ensemble des modules en défaut, j’arrive à la passer en « complete »… 1 par 1.
Et à les commander désormais !

1 « J'aime »

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