Réseau Z2M HS > relancer Démon > hebdomadaire

Bonjour,

J’ai un soucis avec mon plugin JeeZigbee (Z2M) depuis plusieurs semaines.
Mes commandes ne répondes plus, la santé du plugin est ok.
La solution que j’ai trouvé pour l’heure et de redémarrer mon démon manuellement… (et ce quand bien même il me dit qu’il est « ok »)

J’ai 3 questions ;

  1. Savez vous comment le résoudre définitivement (une maj de ma clé?) ?
  2. Si non comment créer un scénario qui le relance le démon quand il est marqué « ok » alors qu’il ne fonctionne pas…
  3. Ou alors créer un scénario que je déclenche si pas de réponse de mes commandes après quelques secondes.

Voici un maximum d’info, dites moi si il vous manque des choses :

Log Z2md :

Starting Zigbee2MQTT without watchdog.
[2024-12-20 22:05:30] e[31merrore[39m: 	z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-12-20 22:05:30] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-12-20 22:05:30] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-12-21 01:30:48] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-12-21 01:30:51] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (1)
[2024-12-21 01:30:51] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (0,5,0): d000010500
[2024-12-21 01:30:56] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-12-21 01:30:56] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (1)
[2024-12-21 01:30:56] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (0,5,1): d000010500
[2024-12-21 01:30:57] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[208,0,1,5,0]}
[2024-12-21 05:00:31] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-12-21 05:00:32] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (1)
[2024-12-21 05:00:32] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (0,0,0): 9800010500
[2024-12-21 05:00:43] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[152,0,1,5,0]}
[2024-12-21 05:00:43] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: Recv NAK frame
[2024-12-21 05:00:43] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (1)
[2024-12-21 05:00:43] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (0,1,0): 9900010500
[2024-12-21 05:00:54] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[153,0,1,5,0]}
[2024-12-21 05:01:04] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[154,0,1,5,0]}
[2024-12-21 05:01:14] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[155,0,1,5,0]}
[2024-12-21 05:01:24] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[156,0,1,5,0]}
[2024-12-21 05:01:24] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.42.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-12-21 05:05:27] e[31merrore[39m: 	z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-12-21 05:05:27] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-12-21 05:05:27] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-12-21 05:25:42] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-12-21 05:25:43] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (1)
[2024-12-21 05:25:43] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (0,2,0): e000010500
[2024-12-21 05:25:47] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-12-21 05:25:47] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (1)
[2024-12-21 05:25:47] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (0,2,1): e000010500
[2024-12-21 05:25:47] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[224,0,1,5,0]}
[2024-12-21 06:00:46] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[83,0,1,5,0]}
[2024-12-21 06:00:56] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[84,0,1,5,0]}
[2024-12-21 06:01:06] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[85,0,1,5,0]}
[2024-12-21 06:01:16] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[86,0,1,5,0]}
[2024-12-21 06:01:26] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[87,0,1,5,0]}
[2024-12-21 06:01:26] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.42.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-12-21 06:05:28] e[31merrore[39m: 	z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-12-21 06:05:28] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-12-21 06:05:28] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-12-21 06:30:40] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":3} after 4000ms
[2024-12-21 06:30:41] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (3)
[2024-12-21 06:30:41] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (2,0,0): 4200010500
[2024-12-21 06:30:46] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-12-21 06:30:46] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (1)
[2024-12-21 06:30:46] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (0,0,0): 4300013400007ca504010000010100010000828305182a0b0a00
[2024-12-21 06:30:58] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: Recv NAK frame
[2024-12-21 06:30:58] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (1)
[2024-12-21 06:30:58] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (0,1,0): 4400010500
[2024-12-21 06:31:08] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[68,0,1,5,0]}
[2024-12-21 06:31:18] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[69,0,1,5,0]}
[2024-12-21 06:31:28] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[70,0,1,5,0]}
[2024-12-21 06:31:38] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[71,0,1,5,0]}
[2024-12-21 06:31:48] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[72,0,1,5,0]}
[2024-12-21 06:31:48] e[31merrore[39m: 	z2m: Adapter disconnected, stopping
> zigbee2mqtt@1.42.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-12-21 06:35:27] e[31merrore[39m: 	z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-12-21 06:35:27] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-12-21 06:35:27] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-12-21 06:35:39] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":0} after 4000ms
[2024-12-21 06:35:39] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (0)
[2024-12-21 06:35:39] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (7,2,0): 2f0001340000ee3d04010000010100010000050605188b0b0a00
[2024-12-21 06:35:44] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":0} after 4000ms
[2024-12-21 06:35:44] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (0)
[2024-12-21 06:35:44] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (7,2,1): 2f0001340000ee3d04010000010100010000050605188b0b0a00
[2024-12-21 07:01:07] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":6} after 4000ms
[2024-12-21 07:01:11] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (6)
[2024-12-21 07:01:11] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (5,6,0): ed00010500
[2024-12-21 07:01:16] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":6} after 4000ms
[2024-12-21 07:01:16] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (6)
[2024-12-21 07:01:16] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (5,6,1): ed00010500
[2024-12-21 07:01:16] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[237,0,1,5,0]}
Killed
> zigbee2mqtt@1.42.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2024-12-21 17:54:59] e[31merrore[39m: 	z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2024-12-21 17:54:59] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-12-21 17:54:59] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-12-21 18:27:12] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":6} after 4000ms
[2024-12-21 18:27:12] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (6)
[2024-12-21 18:27:12] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (5,7,0): b500010500
[2024-12-21 18:27:27] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":6} after 4000ms
[2024-12-21 18:27:27] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (6)
[2024-12-21 18:27:30] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (5,7,1): b500010500
[2024-12-21 18:27:31] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[181,0,1,5,0]}
[2024-12-21 18:29:41] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":4} after 4000ms
[2024-12-21 18:29:41] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (4)
[2024-12-21 18:29:42] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (3,5,0): 3b00010500
[2024-12-21 18:30:27] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":7} after 4000ms
[2024-12-21 18:30:28] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (7)
[2024-12-21 18:30:28] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (6,0,0): 3e00010500
[2024-12-21 18:30:38] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":0} after 4000ms
[2024-12-21 18:30:38] e[31merrore[39m: 	zh:ezsp:uart: -!- break waiting (0)
[2024-12-21 18:30:38] e[31merrore[39m: 	zh:ezsp:uart: Can't send DATA frame (7,4,0): 3f00010500
[2024-12-21 18:30:45] e[31merrore[39m: 	zh:ezsp:uart: --> Error: Error: {"sequence":0} after 4000ms
[2024-12-21 18:30:45] e[31merrore[39m: 	zh:ezsp:uart: -!- break rewaiting (0)
[2024-12-21 18:30:45] e[31merrore[39m: 	zh:ezsp:uart: Can't resend DATA frame (7,4,1): 3f00010500
[2024-12-21 18:30:45] e[31merrore[39m: 	zh:ezsp:ezsp: Watchdog heartbeat timeout Error: Failure send nop:{"type":"Buffer","data":[63,0,1,5,0]}

Log Z2m_package :

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_z2m
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
Launch pre-install of z2m dependancy
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
+ echo 4
+ 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://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [39.0 kB]
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Get:6 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [322 kB]
Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [329 kB]
Fetched 761 kB in 3s (240 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security 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
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
lsb-release is already the newest version (11.1.0).
git is already the newest version (1:2.30.2-1+deb11u3).
The following packages were automatically installed and are no longer required:
augeas-lenses libaugeas0 python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-icu python3-parsedatetime
python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component
python3-zope.event python3-zope.hookable python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
The following packages were automatically installed and are no longer required:
augeas-lenses libaugeas0 python3-augeas python3-cffi-backend
python3-configargparse python3-configobj python3-icu python3-parsedatetime
python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component
python3-zope.event python3-zope.hookable python3-zope.interface
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
+ echo 7
+ sudo systemctl restart apache2
+ echo 8
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ echo Launch post-install of z2m dependancy
Launch post-install of z2m dependancy
+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
+ npm ci
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
added 646 packages in 2m
90 packages are looking for funding
run `npm fund` for details
+ npm run build
> zigbee2mqtt@1.42.0 build
> tsc && node index.js writehash
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci d’avance !!

Le plugin virtuel permet de créer un équipement qui surveille jeedom et de redemarrer chaque demon avec des commandes utilisables dans les scénarios.

Cependant, vu la charge de votre raspi3 j’envisagerai de changer de machine

Moi j’utilise dans jeelink:

ça donne un objet avec ce type de commandes:

et donc vous pouvez appeler ces commandes dans un scenario

@lperenna a raison, la charge de votre raspi3 est très élevée, il faudrait voir ce qui tourne à fond les ballons

Sauf que jeelink est en fin de vie et ses fonctionnalités ont été intégrées au plugin virtuel pour ce qui est du monitoring des démons et à mqtt manager pour la remontée d’équipements depuis un autre Jeedom

oui, il va falloir que je m’en occupe en effet.

Salut

Probablement pas de lien mais les firmware EZSP sont a remplacer par Ember. Fais une recherche sur ember sur la communauté, tu trouveras des infos.

Antoine

Merci pour vos retour « charge » et « ember », mais vous pensez que c’est une source du sujet ou aucun lien?

En désactivant le plugin Jeezigbee (Z2M), il chute assez rapidement. Voici ce que j’ai après 30min :
image

Pour la mise à jour du Firmware en ember, ca me parait bien compliqué, je suis pas trop chaud tout de suite…

C’est pas si compliqué et cela apporte un vrai plus selon les retours du forum.

c’est quand même bizarre toutes ces erreurs e[31merrore[39m: dans votre log ; malheureusement je ne connais pas ce dongle sonoff

Bon le temps de solutionner j’ai créer un scénario pour surveiller la dispo du matériels et relancer le démon après m’avoir poser la question. Si ca peut aider certain :

Scénario > Bloc Action > Code :

$now = time();

// Liste des commandes à tester
$timestamps = [
    'Lampe Emmy >60min' => cmd::byString('#[Chambre Emmy][Prise Lampe Emmy][Dernière communication]#')->execCmd(),
    'Lit Anna >60min' => cmd::byString('#[Chambre Anna][Prise Lit Anna][Dernière communication]#')->execCmd(),
    'Micro-Ondes >60min' => cmd::byString('#[RDC][Prise Micro-Ondes][Dernière communication]#')->execCmd(),
    'Chauffe-Eau >60min' => cmd::byString('#[RDC][Prise Chauffe-eau][Dernière communication]#')->execCmd(),
    
];

// Initialisation de la liste des équipements en erreur
$equipmentsInError = [];

foreach ($timestamps as $name => $rawTimestamp) {
    $timestamp = strtotime($rawTimestamp);
    $diff = $now - $timestamp;

    if ($diff > 3600) {
        $equipmentsInError[] = $name; // Ajout du nom de l'équipement à la liste
    }
}

// Si des équipements sont en erreur, on définit le tag
if (!empty($equipmentsInError)) {
    $tags['#equipments#'] = implode(', ', $equipmentsInError);
    $scenario->setLog("Équipements en erreur : " . $tags['#equipments#']);
    $scenario->setTags($tags); // Stocker les tags pour utilisation dans le bloc Action
} else {
    $scenario->setLog("Aucun équipement > 60 minutes");
    // Supprime le tag pour éviter d'envoyer une notification inutile
    $tags['#equipments#'] = '';
    $scenario->setTags($tags); // Efface la valeur du tag
}

Puis un bon vieux ASK si le Tags remonte un équipements HS. Car je me dit que temps qu’il sont pas tous HS c’est pas forcément un problème de démon, donc je préfère qu’il me pose la question.

Le code de relance : (le nom du pluging est z2m et pas Zigbee comme j’ai pu tester :sweat_smile:) :
plugin::byId('z2m')->deamon_start(true);

EDIT 28/12/2024 : Mise à jour de la clé en ember version 7.4.3.15200 effectué, avec le Tuto de Akenad : [RTEX] Box Jeedom Atlas - plugin MQTT Manager (mqtt2) Mode Broker local - avec plugins abonnés Z-Wave JS (zwavejs) et JeeZigbee (z2m). A voir si cela résoud les problèmes d’instabilités.

EDIT 11/01/2025 : Le réseau est bien plus stable depuis la mise à jour ember faite. C’est pas parfait, mais c’est stable à 90%.
Concernant ma « charge » élevé, j’ai résolu le problème en remplaçant l’alimentation du Raspberry par câble USB, par la prise d’origine. Je suis passé de 10 de charge a 1…

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.