Problèmes avec les plugins Zwave et Zigbee

Bonjour à tous et bonne année,
Je débute en domotique, j’ai réutilisé une ancienne tour pour me faire une box domotique en installant Debian dessus puis Jeedom.
J’ai voulu y connecter une clé Aeotec Z-stick Gen5 et une Conbee II.
J’ai installé les plugins mais dans les deux cas les démons ne se lancent pas et les erreurs semblent à peu près identiques. Mon réseau interne est indiqué comme correctement configuré dans l’onglet « Santé » et mes deux clés sont détectées avec la commande lsusb. De plus dans les paramètres de configuration du plugin zwave à la ligne « Port du contrôleur zwave » je n’ai que les choix Auto et Aucun de dispos, je ne sais pas si c’est normal.
Vous trouverez ci-dessous les logs, capture d’écran des pages de configuration des plugins, l’état de santé de mon jeedom et le retour de la commande lsusb.

J’ai fouillé mais je n’arrive pas à trouver de solution, pourriez-vous m’aider s’il vous plaît ?

logs openzwave-2.txt (805 Octets)
logs zigbee-1.txt (3,7 Ko)
logs zigbeed_1.txt (6,6 Ko)

Bonsoir,
Merci de donner un peu plus d’info :

  • Pages santé
  • Config jeedom
  • Image d’installation
  • Version debian

Bonjour,
On va faire un plug-in à la fois sinon on ne va pas s’en sortir.

Pour zwave il faudrait le log des dépendances (il termine par _update) et le log du démon aussi (qui terrine par d)
Et refaite un démarrage et redonnez le premier aussi. Le tout dans un Texte préformaté Comme ceci et pas dans un fichier joint qui est difficile à lire sur mobile:

saisissez ou collez du code ici

On peut voir la page config réseau de jeedom aussi ?
Je pense que vous avez configuré le port interne 9080.
Pourquoi vouloir changer cette config si c’est bien le cas et sur quelle port tourne réellement apache ?
Votre serveur a refusé la connexion en localhost qui est requise pour beaucoup de démon.
Si c’est bien le problème, ça réglera zigbee aussi.

Bonjour

Je ne suis pas sûr de bien comprendre qu’elle est ta Version de Linux? À priori c’est une bulleyes et si je me base sur mon expérience avec la distribution pour pi, il manque Python 2.7 dedans. Sans ython 2.7 le plugin zwave ne peut fonctionner.

Antoine

Non c’est une buster, on le voit dans la page santé (Linux 10.11).
C’est pour ça que la page santé est tellement intéressante à donner, en une capture on a tout!

Ok c’est plus logique. Une recherche google sur 5.10.84 donnait bulleyes.

Antoine

Bonjour merci pour votre réponse.
Je ne trouve pas le log du démon, il n’apparait ni dans l’interface ni dans le répertoire des logs jeedom.
Voici la page config réseau de jeedom, oui le port 9080 est configuré en accès interne car le port 80 ne fonctionne pas. Je ne sais pas pourquoi, je n’ai pas le souvenir de l’avoir modifié. En revanche j’ai une redirection de port configuré sur ma box (port externe 9080 vers port interne 80 de l’adresse IP de mon pc jeedom).

Concernant apache, est-ce que ce sont bien ces infos qu’il vous faut ?

Log openzwave


[2022-01-07 14:31:09][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-01-07 13:31:11][ERROR] : Callback result as a unknown error: HTTPConnectionPool(host='127.0.0.1', port=9080): Max retries exceeded with url: /plugins/openzwave/core/php/jeeZwave.php?apikey=3By2HK3JyJsLIsjiymymuFJwjTqI3sgs (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f25b7825490>: Failed to establish a new connection: [Errno 111] Connection refused',)). Please check your network configuration page
[2022-01-07 13:31:11][ERROR] : Network communication issues. Please fixe your Jeedom network configuration.
[2022-01-07 14:31:40][ERROR] : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log
[2022-01-07 14:35:01][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-01-07 13:35:02][ERROR] : Callback result as a unknown error: HTTPConnectionPool(host='127.0.0.1', port=9080): Max retries exceeded with url: /plugins/openzwave/core/php/jeeZwave.php?apikey=3By2HK3JyJsLIsjiymymuFJwjTqI3sgs (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f357bacb410>: Failed to establish a new connection: [Errno 111] Connection refused',)). Please check your network configuration page
[2022-01-07 13:35:02][ERROR] : Network communication issues. Please fixe your Jeedom network configuration.
[2022-01-07 14:35:32][ERROR] : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log

Log openzwave_update

Lancement de l'installation/mise à jour des dépendances openzwave
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Fetched 51.9 kB in 0s (135 kB/s)
Reading package lists...
Installation des dependances
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
g++ is already the newest version (4:8.3.0-1).
gcc is already the newest version (4:8.3.0-1).
git is already the newest version (1:2.20.1-2+deb10u3).
libjpeg-dev is already the newest version (1:1.5.2-2+deb10u1).
python-louie is already the newest version (1.1-4).
python-lxml is already the newest version (4.3.2-1+deb10u3).
make is already the newest version (4.2.1-1.2).
python-serial is already the newest version (3.4-4).
python-dev is already the newest version (2.7.16-1).
python-pip is already the newest version (18.1-5).
python-setuptools is already the newest version (40.8.0-1).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.21.0-1).
libudev-dev is already the newest version (241-7~deb10u8).
unzip is already the newest version (6.0-23+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Installation des dependances Python
Requirement already satisfied: wheel in /usr/lib/python2.7/dist-packages (0.32.3)
Requirement already satisfied: urwid in /usr/local/lib/python2.7/dist-packages (2.1.2)
Requirement already satisfied: louie in /usr/lib/python2.7/dist-packages (1.1)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (1.12.0)
Requirement already satisfied: tornado in /usr/local/lib/python2.7/dist-packages (5.1.1)
Requirement already satisfied: backports-abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado) (0.5)
Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado) (3.7.0)
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from tornado) (3.3.0)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from singledispatch->tornado) (1.12.0)
mkdir: cannot create directory '/opt': File exists
Désinstallation de la version précédente
Installation de Python-OpenZwave
Not uninstalling cython at /usr/lib/python2.7/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...
cython is already the newest version (0.29.2-2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Installing dependencies for python : 2 7 16
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...
python-louie is already the newest version (1.1-4).
python-dev is already the newest version (2.7.16-1).
python-docutils is already the newest version (0.14+dfsg-4).
python-pip is already the newest version (18.1-5).
python-setuptools is already the newest version (40.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 1 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.6).
g++ is already the newest version (4:8.3.0-1).
libudev-dev is already the newest version (241-7~deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.29.2-2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
pip install nose-html
Requirement already satisfied: nose-html in /usr/local/lib/python2.7/dist-packages (1.1)
Requirement already satisfied: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from nose-html) (1.3.7)
pip install nose-progressive
Requirement already satisfied: nose-progressive in /usr/local/lib/python2.7/dist-packages (1.5.2)
Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive) (1.7)
Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from nose-progressive) (1.3.7)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.12.0)
pip install coverage
Requirement already satisfied: coverage in /usr/local/lib/python2.7/dist-packages (5.5)
pip install nose
Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages (1.3.7)
pip install pylint
Collecting pylint
  Using cached https://files.pythonhosted.org/packages/36/3b/fa4025a424adafd85c6195001b1c130ecb8d8b30784a1c4cb68e7b5e5ae7/pylint-1.9.5-py2.py3-none-any.whl
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint) (3.7.0)
Collecting mccabe (from pylint)
  Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Requirement already satisfied: configparser; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (3.5.0b2)
Collecting isort>=4.2.5 (from pylint)
  Using cached https://files.pythonhosted.org/packages/e5/b0/c121fd1fa3419ea9bfd55c7f9c4fedfec5143208d8c7ad3ce3db6c623c21/isort-4.3.21-py2.py3-none-any.whl
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from pylint) (1.12.0)
Collecting astroid<2.0,>=1.6 (from pylint)
  Using cached https://files.pythonhosted.org/packages/8b/29/0f7ec6fbf28a158886b7de49aee3a77a8a47a7e24c60e9fd6ec98ee2ec02/astroid-1.6.6-py2.py3-none-any.whl
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (1.5)
Requirement already satisfied: futures; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint) (3.3.0)
Collecting wrapt (from astroid<2.0,>=1.6->pylint)
  Using cached https://files.pythonhosted.org/packages/3b/e8/702ff292e05c8d74c6babde2266f6f62acc0d851784081c6aca5dff8a455/wrapt-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl
Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.1.6)
Collecting lazy-object-proxy (from astroid<2.0,>=1.6->pylint)
  Using cached https://files.pythonhosted.org/packages/6f/3e/7c80e8536b9d5eb66e784fff4c359adf9e55b37460fd6928192256ba71f2/lazy-object-proxy-1.7.0.tar.gz
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/lazy_object_proxy.egg-info
    writing pip-egg-info/lazy_object_proxy.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/lazy_object_proxy.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/lazy_object_proxy.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/lazy_object_proxy.egg-info/SOURCES.txt'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-07iWR9/lazy-object-proxy/setup.py", line 146, in <module>
        distclass=BinaryDistribution,
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/__init__.py", line 162, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 296, in run
        self.find_sources()
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 303, in find_sources
        mm.run()
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 534, in run
        self.add_defaults()
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 570, in add_defaults
        sdist.add_defaults(self)
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/command/py36compat.py", line 36, in add_defaults
        self._add_defaults_ext()
      File "/tmp/pip-build-env-_lzh5s/lib/python2.7/site-packages/setuptools/command/py36compat.py", line 118, in _add_defaults_ext
        if self.distribution.has_ext_modules():
      File "/tmp/pip-install-07iWR9/lazy-object-proxy/setup.py", line 70, in has_ext_modules
        return super().has_ext_modules() or 'SETUP_PY_ALLOW_PURE' not in os.environ
    TypeError: super() takes at least 1 argument (0 given)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-07iWR9/lazy-object-proxy/
make: *** [Makefile:163: tests-deps] Error 1
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 tinyxmlerror.o
Building tinyxml.o
Building tinyxmlparser.o
Building hid.o
Building aeskey.o
Building aescrypt.o
Building aestab.o
Building aes_modes.o
Building SensorAlarm.o
Building Proprietary.o
Building BarrierOperator.o
Building SensorBinary.o
Building Language.o
Building CommandClass.o
Building MultiCmd.o
Building Indicator.o
Building MeterPulse.o
Building DoorLock.o
Building ControllerReplication.o
Building ThermostatFanMode.o
Building Configuration.o
Building Battery.o
Building SwitchToggleBinary.o
Building ThermostatMode.o
Building SensorMultilevel.o
Building MultiInstance.o
Building TimeParameters.o
Building UserCode.o
Building Color.o
Building SwitchMultilevel.o
Building ThermostatSetpoint.o
Building ClimateControlSchedule.o
Building Clock.o
Building SwitchToggleMultilevel.o
Building ApplicationStatus.o
Building SoundSwitch.o
Building CentralScene.o
Building MultiChannelAssociation.o
Building NoOperation.o
Building NodeNaming.o
Building Meter.o
Building ManufacturerProprietary.o
Building SwitchAll.o
Building Lock.o
Building Association.o
Building Hail.o
Building ManufacturerSpecific.o
Building ThermostatFanState.o
Building WakeUp.o
Building Powerlevel.o
Building AssociationCommandConfiguration.o
Building ThermostatOperatingState.o
Building SceneActivation.o
Building CRC16Encap.o
Building Security.o
Building ZWavePlusInfo.o
Building Version.o
Building Alarm.o
Building Basic.o
Building CommandClasses.o
Building BasicWindowCovering.o
Building EnergyProduction.o
Building DeviceResetLocally.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:15: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict]
      snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
               ^~~~~~~~                             ~~~~~~~~
Building Protection.o
Building SwitchBinary.o
Building Value.o
Building ValueList.o
Building ValueButton.o
Building ValueInt.o
Building ValueStore.o
Building ValueDecimal.o
Building ValueRaw.o
Building ValueString.o
Building ValueByte.o
Building ValueBool.o
Building ValueSchedule.o
Building ValueShort.o
Building Controller.o
Building Wait.o
Building Thread.o
Building Stream.o
Building Log.o
Building HidController.o
Building Mutex.o
Building SerialController.o
Building Event.o
Building FileOps.o
Building TimeStamp.o
Building FileOpsImpl.o
Building TimeStampImpl.o
Building WaitImpl.o
Building ThreadImpl.o
Building LogImpl.o
Building MutexImpl.o
Building SerialControllerImpl.o
Building EventImpl.o
Building Options.o
Building Scene.o
Building Utils.o
Building Driver.o
Building ZWSecurity.o
Building Group.o
Building Node.o
Building Manager.o
Building Msg.o
Building Notification.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/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
  tree = Parsing.p_module(s, pxd, full_module_name)
building 'libopenzwave' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src-lib
creating build/temp.linux-x86_64-2.7/src-lib/libopenzwave
x86_64-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-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-x86_64-2.7/src-lib/libopenzwave/libopenzwave.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
src-lib/libopenzwave/libopenzwave.cpp:3: warning: "PY_SSIZE_T_CLEAN" redefined
 #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:638:
openzwave/cpp/src/aes/aes.h:75: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning( disable : 4324 )
 
openzwave/cpp/src/aes/aes.h:93: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning( default : 4324 )
 
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:30325:204: warning: 'bool OpenZWave::Manager::BeginControllerCommand(uint32, OpenZWave::Driver::ControllerCommand, OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)' is deprecated [-Wdeprecated-declarations]
   __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:643:
openzwave/cpp/src/Manager.h:1731:19: note: declared here
   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-x86_64-2.7
x86_64-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-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-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src-lib/libopenzwave/libopenzwave.o openzwave/libopenzwave.a -ludev -lstdc++ -o build/lib.linux-x86_64-2.7/libopenzwave.so
python setup-lib.py install
running install
running bdist_egg
running egg_info
creating src-lib/libopenzwave.egg-info
writing requirements to src-lib/libopenzwave.egg-info/requires.txt
writing src-lib/libopenzwave.egg-info/PKG-INFO
writing top-level names to src-lib/libopenzwave.egg-info/top_level.txt
writing dependency_links to src-lib/libopenzwave.egg-info/dependency_links.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-x86_64/egg
running install_lib
running build_ext
skipping 'src-lib/libopenzwave/libopenzwave.cpp' Cython extension (up-to-date)
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/libopenzwave.so -> build/bdist.linux-x86_64/egg
creating stub loader for libopenzwave.so
byte-compiling build/bdist.linux-x86_64/egg/libopenzwave.py to libopenzwave.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/config
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-lib/libopenzwave.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/libopenzwave-0.3.1-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing libopenzwave-0.3.1-py2.7-linux-x86_64.egg
creating /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-x86_64.egg
Extracting libopenzwave-0.3.1-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
Adding libopenzwave 0.3.1 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-x86_64.egg
Processing dependencies for libopenzwave==0.3.1
Searching for six==1.12.0
Best match: six 1.12.0
Adding six 1.12.0 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for libopenzwave==0.3.1

Installation of lib finished.
python setup-api.py install
running install
running bdist_egg
running egg_info
creating src-api/openzwave.egg-info
writing requirements to src-api/openzwave.egg-info/requires.txt
writing src-api/openzwave.egg-info/PKG-INFO
writing top-level names to src-api/openzwave.egg-info/top_level.txt
writing dependency_links to src-api/openzwave.egg-info/dependency_links.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-x86_64/egg
running install_lib
running build_py
creating build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/network.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/scene.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/group.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/node.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/controller.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/object.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/__init__.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/command.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/option.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/value.py -> build/lib.linux-x86_64-2.7/openzwave
copying src-api/openzwave/singleton.py -> build/lib.linux-x86_64-2.7/openzwave
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/libopenzwave.so -> build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/network.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/scene.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/group.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/node.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/controller.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/object.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/__init__.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/command.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/option.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/value.py -> build/bdist.linux-x86_64/egg/openzwave
copying build/lib.linux-x86_64-2.7/openzwave/singleton.py -> build/bdist.linux-x86_64/egg/openzwave
byte-compiling build/bdist.linux-x86_64/egg/openzwave/network.py to network.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/scene.py to scene.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/group.py to group.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/node.py to node.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/controller.py to controller.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/object.py to object.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/command.py to command.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/option.py to option.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/value.py to value.pyc
byte-compiling build/bdist.linux-x86_64/egg/openzwave/singleton.py to singleton.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying src-api/openzwave.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-api/openzwave.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-api/openzwave.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-api/openzwave.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-api/openzwave.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src-api/openzwave.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/openzwave-0.3.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing openzwave-0.3.1-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/openzwave-0.3.1-py2.7.egg
Extracting openzwave-0.3.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding openzwave 0.3.1 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/openzwave-0.3.1-py2.7.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-py2.7-linux-x86_64.egg
libopenzwave 0.3.1 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-x86_64.egg
Searching for Louie==1.1
Best match: Louie 1.1
Adding Louie 1.1 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for six==1.12.0
Best match: six 1.12.0
Adding six 1.12.0 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for openzwave==0.3.1

Installation of API finished.
Everything is successfully installed!

dans les trace tu as une connexion refusée.
met ça :

c’est étrange ton netstat y a pas les processus en écoute sur les ports,
essaie ca :

netstat -puant |fgrep :*

Dans la config interne vous devez donc mettre le port 80.

Vous le dites vous même : vous redirigez le port externe 9080 de votre box vers le port interne 80 de jeedom.

Par contre, vous pouvez mettre le port 9080 dans la config externe, vous n’avez rien mis donc la config n’est pas correcte.

Edit: je viens de voir le netstat donc c’est plutôt le 9080 et 9443 (https?) utilisé en interne ? Du coup pourquoi avoir redirigé vers le 80 depuis l’extérieur ?

Vous n’êtes pas sous docker par hasard ? Votre range ip est atypique pour un lan

J’ai du coup essayé les manips de cstan77 mais le résultat n’est pas probant.
Voici la capture de l’onglet « Santé »

Le log du plugin zwave


[2022-01-08 15:15:33][ERROR] : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log
[2022-01-08 15:18:28][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-01-08 15:18:29][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:9080/plugins/openzwave/core/php/jeeZwave.php --apikey 3By2HK3JyJsLIsjiymymuFJwjTqI3sgs --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
[2022-01-08 14:18:29][INFO] : Start openzwaved
[2022-01-08 14:18:29][INFO] : Log level : debug
[2022-01-08 14:18:29][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2022-01-08 14:18:29][INFO] : Device : auto
[2022-01-08 14:18:29][DEBUG] : Apikey : 3By2HK3JyJsLIsjiymymuFJwjTqI3sgs
[2022-01-08 14:18:29][INFO] : Callback : http://127.0.0.1:9080/plugins/openzwave/core/php/jeeZwave.php
[2022-01-08 14:18:29][INFO] : Cycle : 0.3
[2022-01-08 14:18:29][DEBUG] : Initial disabled nodes list: []
[2022-01-08 14:18:29][DEBUG] : Init request module v2.21.0
[2022-01-08 14:18:29][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:9080
[2022-01-08 14:18:29][ERROR] : Callback result as a unknown error: HTTPConnectionPool(host='127.0.0.1', port=9080): Max retries exceeded with url: /plugins/openzwave/core/php/jeeZwave.php?apikey=3By2HK3JyJsLIsjiymymuFJwjTqI3sgs (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9888a98490>: Failed to establish a new connection: [Errno 111] Connection refused',)). Please check your network configuration page
[2022-01-08 14:18:29][ERROR] : Network communication issues. Please fixe your Jeedom network configuration.
[2022-01-08 15:18:59][ERROR] : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log
[2022-01-08 15:20:01][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-01-08 15:20:02][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:9080/plugins/openzwave/core/php/jeeZwave.php --apikey 3By2HK3JyJsLIsjiymymuFJwjTqI3sgs --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
[2022-01-08 14:20:02][INFO] : Start openzwaved
[2022-01-08 14:20:02][INFO] : Log level : debug
[2022-01-08 14:20:02][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2022-01-08 14:20:02][INFO] : Device : auto
[2022-01-08 14:20:02][DEBUG] : Apikey : 3By2HK3JyJsLIsjiymymuFJwjTqI3sgs
[2022-01-08 14:20:02][INFO] : Callback : http://127.0.0.1:9080/plugins/openzwave/core/php/jeeZwave.php
[2022-01-08 14:20:02][INFO] : Cycle : 0.3
[2022-01-08 14:20:02][DEBUG] : Initial disabled nodes list: []
[2022-01-08 14:20:02][DEBUG] : Init request module v2.21.0
[2022-01-08 14:20:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:9080
[2022-01-08 14:20:02][ERROR] : Callback result as a unknown error: HTTPConnectionPool(host='127.0.0.1', port=9080): Max retries exceeded with url: /plugins/openzwave/core/php/jeeZwave.php?apikey=3By2HK3JyJsLIsjiymymuFJwjTqI3sgs (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b82df3410>: Failed to establish a new connection: [Errno 111] Connection refused',)). Please check your network configuration page
[2022-01-08 14:20:02][ERROR] : Network communication issues. Please fixe your Jeedom network configuration.
[2022-01-08 15:20:32][ERROR] : Impossible de lancer le démon openzwave, relancer le démon en debug et vérifiez la log

Et le résultat de la commande

cstan77 netstat

@Mips je suis désolé je me suis planté j’ai redirigé les connexions du port externe 80 sur le port interne 9080. Lorsque je j’inverse dans la configuration jeedom les ports, il m’indique deux erreurs dans l’onglet santé mais je suppose que c’est normal. J’ai ajouté dans la configuration le port 80 pour l’accès externe mais ça ne change rien (les erreurs du log restent les mêmes et dans l’onglet santé la configuration réseau externe reste OK.
Oui effectivement je suis sous docker.

Information capital je pense !

Du coup on peut avoir un schéma là?
le 172.17.0.3 c’est l’ip du container? et le 9080 c’est le port sur le docker?
Dans le container jeedom écoute sur quel port? le 80?
Le mapping du container serait donc 9080->80?

Je pense qu’en fait le problème n’a aucun rapport avec zwave ou zigbee mais avec l’installation de jeedom en container…

Ok, effectivement sur la page d’aide à l’installation de jeedom il est bien indiqué qu’il est déconseillé de le faire sous docker… Je ne sais pas pourquoi j’ai pas vu ça.
Je vais refaire mon installation, par contre est-ce que je peux simplement désinstaller jeedom et le réinstaller où est il préférable que je réinstalle debian aussi ?

Je ne conseillerais pas docker effectivement mais c’est le choix de chacun et il y a assez de posts sur community pour en débattre sans fin :wink:. J’ai un jeedom sous docker juste pour tester mes plugins moi.

Pour ce qui est de l’install, si votre machine est dédié à jeedom et que vous débutez (ou pas en fait) je vous conseil de prendre une image pré-installée (voir documentation et sur images.jeedom.com); je monte mes vms de tests en 5 min avec ça, ensuite plus qu’à restaurer votre backup de jeedom.

1 « J'aime »

Merci pour les conseils, j’ai refait mon installation et effectivement tout fonctionne correctement. Merci beaucoup.
Bonne soirée.

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.