Problème log mqtt2d

Pour être sûr que je ne fasse pas de boulettes, je dois supprimer ou vider tout du log Mqtt2d ?

Tu peux pas le supprimer celui là donc juste vider comme dit plus haut

1 « J'aime »

Bon à priori, ça a peut-être résolu le problème non ?

Ha non,

voilà ce qu’il s’affiche :

0000|Thu, 19 Sep 2024 11:24:40 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31 0001|[2024-09-19 11:31:28] ERROR : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up\n at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:873:14)\n at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3152:25)\n at RedirectableRequest.emit (node:events:519:28)\n at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:38:24)\n at ClientRequest.emit (node:events:519:28)\n at emitErrorEvent (node:_http_client:108:11)\n at Socket.socketOnEnd (node:_http_client:535:5)\n at Socket.emit (node:events:531:35)\n at endReadableNT (node:internal/streams/readable:1696:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-T**OK**EN","xsrfHeaderName":"X-XSRF-T**OK**EN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"376","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"13016 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":11.38,\"5min\":15.27,\"15min\":16.11},\"sent\":{\"1min\":63.99,\"5min\":72.22,\"15min\":73.37}},\"publish\":{\"received\":{\"1min\":9.99,\"5min\":13.2,\"15min\":13.99},\"sent\":{\"1min\":52.04,\"5min\":59.88,\"15min\":61.05}},\"bytes\":{\"received\":{\"1min\":6167.08,\"5min\":8200.54},\"sent\":{\"1min\":13345.33,\"5min\":26478.74}}}}}}"},"code":"ECONNRESET","status":null}

Ça cest normal et attendu.

Ok donc tout est normal maintenant ?

Non j’ai toujours pas ma log en debug la

Je dois faire quelque chose ? Sur la page configuration du plugin Mqtt2 il y l’onglet log et surveillance. Faut-il que je coche debug et que je sauvegarde ou je ne fais rien ? Desolé mais c’est très pointu pour moi qui n’y connait pas grand chose.

Oui faut cocher debug sauvegarder et relancer le demon

1 « J'aime »
Thu, 19 Sep 2024 11:24:40 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-09-19 11:31:28] ERROR  : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up\n    at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:873:14)\n    at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3152:25)\n    at RedirectableRequest.emit (node:events:519:28)\n    at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:108:11)\n    at Socket.socketOnEnd (node:_http_client:535:5)\n    at Socket.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"376","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"13016 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":11.38,\"5min\":15.27,\"15min\":16.11},\"sent\":{\"1min\":63.99,\"5min\":72.22,\"15min\":73.37}},\"publish\":{\"received\":{\"1min\":9.99,\"5min\":13.2,\"15min\":13.99},\"sent\":{\"1min\":52.04,\"5min\":59.88,\"15min\":61.05}},\"bytes\":{\"received\":{\"1min\":6167.08,\"5min\":8200.54},\"sent\":{\"1min\":13345.33,\"5min\":26478.74}}}}}}"},"code":"ECONNRESET","status":null}
[2024-09-19 12:17:42] ERROR  : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up\n    at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:873:14)\n    at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3152:25)\n    at RedirectableRequest.emit (node:events:519:28)\n    at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:108:11)\n    at Socket.socketOnEnd (node:_http_client:535:5)\n    at Socket.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"380","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"15790 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":21.87,\"5min\":18.78,\"15min\":18.26},\"sent\":{\"1min\":83.25,\"5min\":78.21,\"15min\":77.23}},\"publish\":{\"received\":{\"1min\":19.82,\"5min\":16.78,\"15min\":16.26},\"sent\":{\"1min\":70.89,\"5min\":65.63,\"15min\":64.66}},\"bytes\":{\"received\":{\"1min\":12314.29,\"5min\":10353.61},\"sent\":{\"1min\":25428.12,\"5min\":21527.42}}}}}}"},"code":"ECONNRESET","status":null}
[2024-09-19 12:42:28] ERROR  : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up\n    at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:873:14)\n    at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3152:25)\n    at RedirectableRequest.emit (node:events:519:28)\n    at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:108:11)\n    at Socket.socketOnEnd (node:_http_client:535:5)\n    at Socket.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"633","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"17276 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":13.68,\"5min\":18.38,\"15min\":18.55},\"sent\":{\"1min\":67.95,\"5min\":77.36,\"15min\":77.81}},\"publish\":{\"received\":{\"1min\":12.26,\"5min\":16.48,\"15min\":16.58},\"sent\":{\"1min\":56.31,\"5min\":64.98,\"15min\":65.28}},\"bytes\":{\"received\":{\"1min\":7397.57,\"5min\":9772.6,\"15min\":10010.08},\"sent\":{\"1min\":15598.32,\"5min\":20361.13,\"15min\":20908.31}}},\"store\":{\"messages\":{\"bytes\":182317}},\"messages\":{\"received\":4844,\"sent\":50568},\"publish\":{\"messages\":{\"received\":4254,\"sent\":49989},\"bytes\":{\"received\":2654153,\"sent\":5740471}},\"bytes\":{\"received\":2804801,\"sent\":7589936}}}}"},"code":"ECONNRESET","status":null}
[2024-09-19 14:04:19] ERROR  : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up\n    at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:873:14)\n    at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3152:25)\n    at RedirectableRequest.emit (node:events:519:28)\n    at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:108:11)\n    at Socket.socketOnEnd (node:_http_client:535:5)\n    at Socket.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"554","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"22186 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":15.76,\"5min\":18.19,\"15min\":18.4},\"sent\":{\"1min\":71.86,\"5min\":76.65}},\"publish\":{\"received\":{\"1min\":13.94},\"sent\":{\"1min\":59.85,\"5min\":64.33,\"15min\":64.59}},\"bytes\":{\"received\":{\"1min\":8617.79,\"5min\":9972.58,\"15min\":10072.93},\"sent\":{\"1min\":18039.03,\"5min\":20755.72,\"15min\":20957.95}}},\"messages\":{\"received\":6347,\"sent\":65309},\"publish\":{\"messages\":{\"received\":5593,\"sent\":64566},\"bytes\":{\"received\":3427975,\"sent\":7361176}},\"bytes\":{\"received\":3625780,\"sent\":9749212}}}}"},"code":"ECONNRESET","status":null}
[2024-09-19 14:33:51] ERROR  : Error on send to jeedom : {"message":"socket hang up","name":"Error","stack":"Error: socket hang up\n    at AxiosError.from (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:873:14)\n    at RedirectableRequest.handleRequestError (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3152:25)\n    at RedirectableRequest.emit (node:events:519:28)\n    at eventHandlers.<computed> (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:108:11)\n    at Socket.socketOnEnd (node:_http_client:535:5)\n    at Socket.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"636","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"23958 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":17.47,\"5min\":19.25,\"15min\":18.71},\"sent\":{\"1min\":74.02,\"5min\":78.97,\"15min\":77.95}},\"publish\":{\"received\":{\"1min\":14.51,\"5min\":17.07,\"15min\":16.65},\"sent\":{\"1min\":60.69,\"5min\":66.21,\"15min\":65.37}},\"bytes\":{\"received\":{\"1min\":8978.03,\"5min\":10540.83,\"15min\":10256.37},\"sent\":{\"1min\":18771.54,\"5min\":21907.12,\"15min\":21334.61}}},\"store\":{\"messages\":{\"bytes\":182319}},\"messages\":{\"received\":6891,\"sent\":70633},\"publish\":{\"messages\":{\"received\":6077,\"sent\":69830},\"bytes\":{\"received\":3708989,\"sent\":7949700}},\"bytes\":{\"received\":3923854,\"sent\":10532086}}}}"},"code":"ECONNRESET","status":null}
[2024-09-19 15:21:40] INFO  : Start mqtt2d
[2024-09-19 15:21:40] INFO  : Log level on  : debug
[2024-09-19 15:21:40] INFO  : Socket port : 55035
[2024-09-19 15:21:40] INFO  : MQTT : mqtts://127.0.0.1:8883
[2024-09-19 15:21:40] INFO  : Username : jeedom
[2024-09-19 15:21:40] INFO  : Password : 57Mq7Y2ARmJddmIQJe6edNkBBqGKcX6Wn7X5T6pH3zdnQeaSYd2UnDxdvXGJVgmT
[2024-09-19 15:21:40] INFO  : Root topic : jeedom
[2024-09-19 15:21:40] INFO  : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2024-09-19 15:21:40] INFO  : Apikey : hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ
[2024-09-19 15:21:40] INFO  : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2024-09-19 15:21:40] INFO  : Cycle : 0.3
[2024-09-19 15:21:40] INFO  : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
[2024-09-19 15:21:40] INFO  : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
[2024-09-19 15:21:40] INFO  : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
[2024-09-19 15:21:40] INFO  : Connect to mqtt server
Thu, 19 Sep 2024 15:21:40 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
[2024-09-19 15:21:41] DEBUG  : HTTP listen on 127.0.0.1 port : 55035 started
[2024-09-19 15:21:41] INFO  : Connection to mqtt server successfull
[2024-09-19 15:21:41] INFO  : Subscription to all topics
[2024-09-19 15:21:41] INFO  : Subscription to all topics succesfull
[2024-09-19 15:21:41] DEBUG  : Received message on topic : zigbee2mqtt/bridge/state => {"state":"online"}
[2024-09-19 15:21:41] DEBUG  : Received message on topic : zigbee2mqtt/bridge/info => {"commit":"403d3c0","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":11,"elapsed":false,"ext_pan_id":[6,182,186,62,12,122,1,221],"homeassistant_legacy_entity_attributes":false,"last_seen":"ISO_8601","legacy_api":false,"legacy_availability_payload":false,"log_debug_namespace_ignore":"","log_debug_to_mqtt_frontend":false,"log_directory":"/var/www/html/plugins/z2m/data/log/%TIMESTAMP%","log_file":"log.log","log_level":"error","log_namespaced_levels":{},"log_output":["console","file"],"log_rotation":true,"log_symlink_current":false,"log_syslog":{},"output":"json","pan_id":37527,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"blocklist":[],"device_options":{"legacy":false},"devices":{"0x286847fffe2e0518":{"friendly_name":"0x286847fffe2e0518"},"0x84b4dbfffe08d238":{"friendly_name":"0x84b4dbfffe08d238"},"0xbc026efffead3f86":{"friendly_name":"0xbc026efffead3f86"},"0xbc026efffead3fe8":{"friendly_name":"0xbc026efffead3fe8"},"0xbc026efffead442c":{"friendly_name":"0xbc026efffead442c"},"0xbc026efffeadfed7":{"friendly_name":"0xbc026efffeadfed7"},"0xbc026efffeadfeda":{"friendly_name":"0xbc026efffeadfeda"},"0xbc026efffeae0089":{"friendly_name":"0xbc026efffeae0089"},"0xbc026efffeae008e":{"friendly_name":"0xbc026efffeae008e"}},"external_converters":["/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js"],"frontend":{"host":"0.0.0.0","port":8080},"groups":{},"map_options":{"graphviz":{"colors":{"fill":{"coordinator":"#e04e5d","enddevice":"#fff8ce","router":"#4ea3e0"},"font":{"coordinator":"#ffffff","enddevice":"#000000","router":"#ffffff"},"line":{"active":"#009900","inactive":"#994444"}}}},"mqtt":{"base_topic":"zigbee2mqtt","force_disable_retain":false,"include_device_information":true,"server":"mqtt://127.0.0.1:1883","user":"jeedom"},"ota":{"disable_automatic_update_check":false,"update_check_interval":1440},"passlist":[],"permit_join":false,"serial":{"adapter":"ezsp","disable_led":false,"port":"/dev/ttyLuna-Zigbee"}},"config_schema":{"definitions":{"device":{"properties":{"debounce":{"description":"Debounces messages of this device","title":"Debounce","type":"number"},"debounce_ignore":{"description":"Protects unique payload values of specified payload properties from overriding within debounce time","examples":["action"],"items":{"type":"string"},"title":"Ignore debounce","type":"array"},"disabled":{"description":"Disables the device (excludes device from network scans, availability and group state updates)","requiresRestart":true,"title":"Disabled","type":"boolean"},"filtered_attributes":{"description":"Filter attributes with regex from published payload.","examples":["^temperature$","^battery$","^action$"],"items":{"type":"string"},"title":"Filtered publish attributes","type":"array"},"filtered_cache":{"description":"Filter attributes with regex from being added to the cache, this prevents the attribute from being in the published payload when the value didn't change.","examples":["^input_actions$"],"items":{"type":"string"},"title":"Filtered attributes from cache","type":"array"},"filtered_optimistic":{"description":"Filter attributes with regex from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).","examples":["^color_(mode|temp)$","color"],"items":{"type":"string"},"title":"Filtered optimistic attributes","type":"array"},"friendly_name":{"description":"Used in the MQTT topic of a device. By default this is the device ID","readOnly":true,"title":"Friendly name","type":"string"},"homeassistant":{"properties":{"name":{"description":"Name of the device in Home Assistant","title":"Home Assistant name","type":"string"}},"title":"Home Assistant","type":["object","null"]},"icon":{"description":"The user-defined device icon for the frontend. It can be a full URL link to an image (e.g. https://SOME.SITE/MODEL123.jpg) (you cannot use a path to a local file) or base64 encoded data URL (e.g. image/svg+xml;base64,PHN2ZyB3aW....R0aD)","title":"Icon","type":"string"},"optimistic":{"default":true,"description":"Publish optimistic state after set","title":"Optimistic","type":"boolean"},"qos":{"description":"QoS level for MQTT messages of this device","title":"QoS","type":"number"},"retain":{"description":"Retain MQTT messages of this device","title":"Retain","type":"boolean"},"retention":{"description":"Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5","title":"Retention","type":"number"}},"required":["friendly_name"],"type":"object"},"group":{"properties":{"devices":{"items":{"type":"string"},"type":"array"},"filtered_attributes":{"items":{"type":"string"},"type":"array"},"friendly_name":{"type":"string"},"off_state":{"default":"auto","description":"Control when to publish state OFF for a group. 'all_members_off': only publish state OFF when all group members are in state OFF, 'last_member_state': publish state OFF whenever one of its members changes to OFF","enum":["all_members_off","last_member_state"],"requiresRestart":true,"title":"Group off state","type":["string"]},"optimistic":{"type":"boolean"},"qos":{"type":"number"},"retain":{"type":"boolean"}},"required":["friendly_name"],"type":"object"}},"properties":{"advanced":{"properties":{"adapter_concurrent":{"description":"Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)","maximum":64,"minimum":1,"requiresRestart":true,"title":"Adapter concurrency","type":["number","null"]},"adapter_delay":{"description":"Adapter delay","maximum":1000,"minimum":0,"requiresRestart":true,"title":"Adapter delay","type":["number","null"]},"cache_state":{"default":true,"description":"MQTT message payload will contain all attributes, not only changed ones. Has to be true when integrating via Home Assistant","title":"Cache state","type":"boolean"},"cache_state_persistent":{"default":true,"description":"Persist cached state, only used when cache_state: true","title":"Persist cache state","type":"boolean"},"cache_state_send_on_startup":{"default":true,"description":"Send cached state on startup, only used when cache_state: true","title":"Send cached state on startup","type":"boolean"},"channel":{"default":11,"description":"Zigbee channel, changing might require re-pairing some devices! (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid problems)","examples":[15,20,25],"maximum":26,"minimum":11,"requiresRestart":true,"title":"ZigBee channel","type":"number"},"elapsed":{"default":false,"description":"Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg","title":"Elapsed","type":"boolean"},"ext_pan_id":{"description":"Zigbee extended pan ID, changing requires re-pairing all devices!","oneOf":[{"title":"Extended pan ID (string)","type":"string"},{"items":{"type":"number"},"title":"Extended pan ID (array)","type":"array"}],"requiresRestart":true,"title":"Ext Pan ID"},"last_seen":{"default":"disable","description":"Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message","enum":["disable","ISO_8601","ISO_8601_local","epoch"],"title":"Last seen","type":"string"},"legacy_api":{"default":true,"description":"Disables the legacy api (false = disable)","requiresRestart":true,"title":"Legacy API","type":"boolean"},"legacy_availability_payload":{"default":true,"description":"Payload to be used for device availability and bridge/state topics. true = text, false = JSON","requiresRestart":true,"title":"Legacy availability payload","type":"boolean"},"log_debug_namespace_ignore":{"default":"","description":"Do not log these namespaces (regex-based) for debug level","examples":["^zhc:legacy:fz:(tuya|moes)","^zhc:legacy:fz:(tuya|moes)|^zh:ember:uart:|^zh:controller"],"title":"Log debug namespace ignore","type":"string"},"log_debug_to_mqtt_frontend":{"default":false,"description":"Log debug level to MQTT and frontend (may decrease overall performance)","requiresRestart":true,"title":"Log debug to MQTT and frontend","type":"boolean"},"log_directory":{"description":"Location of log directory","examples":["data/log/%TIMESTAMP%"],"requiresRestart":true,"title":"Log directory","type":"string"},"log_file":{"default":"log.txt","description":"Log file name, can also contain timestamp","examples":["zigbee2mqtt_%TIMESTAMP%.log"],"requiresRestart":true,"title":"Log file","type":"string"},"log_level":{"default":"info","description":"Logging level","enum":["error","warning","info","debug","warn"],"title":"Log level","type":"string"},"log_namespaced_levels":{"additionalProperties":{"enum":["error","warning","info","debug"],"type":"string"},"default":{},"description":"Set individual log levels for certain namespaces","examples":[{"z2m:mqtt":"warning"},{"zh:ember:uart:ash":"info"}],"propertyNames":{"pattern":"^(z2m|zhc|zh)(:[a-z0-9]{1,})*$"},"title":"Log Namespaced Levels","type":"object"},"log_output":{"description":"Output location of the log, leave empty to suppress logging","items":{"enum":["console","file","syslog"],"type":"string"},"requiresRestart":true,"title":"Log output","type":"array"},"log_rotation":{"default":true,"description":"Log rotation","requiresRestart":true,"title":"Log rotation","type":"boolean"},"log_symlink_current":{"default":false,"description":"Create symlink to current logs in the log directory","requiresRestart":true,"title":"Log symlink current","type":"boolean"},"log_syslog":{"oneOf":[{"title":"syslog (disabled)","type":"null"},{"properties":{"app_name":{"default":"Zigbee2MQTT","description":"The name of the application (Default: Zigbee2MQTT).","title":"Localhost","type":"string"},"eol":{"default":"/n","description":"The end of line character to be added to the end of the message (Default: Message without modifications).","title":"eol","type":"string"},"host":{"default":"localhost","description":"The host running syslogd, defaults to localhost.","title":"Host","type":"string"},"localhost":{"default":"localhost","description":"Host to indicate that log messages are coming from (Default: localhost).","title":"Localhost","type":"string"},"path":{"default":"/dev/log","description":"The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).","examples":["/var/run/syslog"],"title":"Path","type":"string"},"pid":{"default":"process.pid","description":"PID of the process that log messages are coming from (Default process.pid).","title":"PID","type":"string"},"port":{"default":514,"description":"The port on the host that syslog is running on, defaults to syslogd's default port.","title":"Port","type":"number"},"protocol":{"default":"udp4","description":"The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).","examples":["udp4","tls4","unix","unix-connect"],"title":"Protocol","type":"string"},"type":{"default":"5424","description":"The type of the syslog protocol to use (Default: BSD, also valid: 5424).","title":"Type","type":"string"}},"title":"syslog (enabled)","type":"object"}],"requiresRestart":true},"network_key":{"description":"Network encryption key, changing requires re-pairing all devices!","oneOf":[{"title":"Network key(string)","type":"string"},{"items":{"type":"number"},"title":"Network key(array)","type":"array"}],"requiresRestart":true,"title":"Network key"},"output":{"description":"Examples when 'state' of a device is published json: topic: 'zigbee2mqtt/my_bulb' payload '{\"state\": \"ON\"}' attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON' attribute_and_json: both json and attribute (see above)","enum":["attribute_and_json","attribute","json"],"title":"MQTT output type","type":"string"},"pan_id":{"description":"ZigBee pan ID, changing requires re-pairing all devices!","oneOf":[{"title":"Pan ID (string)","type":"string"},{"title":"Pan ID (number)","type":"number"}],"requiresRestart":true,"title":"Pan ID"},"timestamp_format":{"description":"Log timestamp format","examples":["YYYY-MM-DD HH:mm:ss"],"requiresRestart":true,"title":"Timestamp format","type":"string"},"transmit_power":{"description":"Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)","maximum":127,"minimum":-128,"requiresRestart":true,"title":"Transmit power","type":["number","null"]}},"title":"Advanced","type":"object"},"availability":{"description":"Checks whether devices are online/offline","oneOf":[{"title":"Availability (simple)","type":"boolean"},{"properties":{"active":{"description":"Options for active devices (routers/mains powered)","properties":{"timeout":{"default":10,"description":"Time after which an active device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Active","type":"object"},"passive":{"description":"Options for passive devices (mostly battery powered)","properties":{"timeout":{"default":1500,"description":"Time after which an passive device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Passive","type":"object"}},"title":"Availability (advanced)","type":"object"}],"requiresRestart":true,"title":"Availability"},"ban":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Ban (deprecated, use blocklist)","type":"array"},"blocklist":{"description":"Block devices from the network (by ieeeAddr)","items":{"type":"string"},"requiresRestart":true,"title":"Blocklist","type":"array"},"device_options":{"title":"Options that are applied to all devices","type":"object"},"devices":{"patternProperties":{"^.*$":{"$ref":"#/definitions/device"}},"propertyNames":{"pattern":"^0x[\\d\\w]{16}$"},"type":"object"},"external_converters":{"description":"You can define external converters to e.g. add support for a DiY device","examples":["DIYRuZ_FreePad.js"],"items":{"type":"string"},"requiresRestart":true,"title":"External converters","type":"array"},"frontend":{"oneOf":[{"title":"Frontend (simple)","type":"boolean"},{"properties":{"auth_token":{"description":"Enables authentication, disabled by default","requiresRestart":true,"title":"Auth token","type":["string","null"]},"host":{"description":"Frontend binding host. Binds to a unix socket when an absolute path is given instead.","examples":["127.0.0.1","::1","/run/zigbee2mqtt/zigbee2mqtt.sock"],"requiresRestart":true,"title":"Bind host","type":["string","null"]},"port":{"default":8080,"description":"Frontend binding port. Ignored when using a unix domain socket","requiresRestart":true,"title":"Port","type":"number"},"ssl_cert":{"description":"SSL Certificate file path for exposing HTTPS. The sibling property 'ssl_key' must be set for HTTPS to be activated.","requiresRestart":true,"title":"Certificate file path","type":["string","null"]},"ssl_key":{"description":"SSL key file path for exposing HTTPS. The sibling property 'ssl_cert' must be set for HTTPS to be activated.","requiresRestart":true,"title":"key file path","type":["string","null"]},"url":{"description":"URL on which the frontend can be reached, currently only used for the Home Assistant device configuration page","requiresRestart":true,"title":"URL","type":["string","null"]}},"title":"Frontend (advanced)","type":"object"}],"requiresRestart":true,"title":"Frontend"},"groups":{"patternProperties":{"^.*$":{"$ref":"#/definitions/group"}},"propertyNames":{"pattern":"^[\\w].*$"},"type":"object"},"homeassistant":{"default":false,"description":"Home Assistant integration (MQTT discovery)","oneOf":[{"title":"Home Assistant (simple)","type":"boolean"},{"properties":{"discovery_topic":{"description":"Home Assistant discovery topic","examples":["homeassistant"],"requiresRestart":true,"title":"Homeassistant discovery topic","type":"string"},"legacy_entity_attributes":{"default":true,"description":"Home Assistant legacy entity attributes, when enabled Zigbee2MQTT will add state attributes to each entity, additional to the separate entities and devices it already creates","title":"Home Assistant legacy entity attributes","type":"boolean"},"legacy_triggers":{"default":true,"description":"Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd","title":"Home Assistant legacy triggers","type":"boolean"},"status_topic":{"description":"Home Assistant status topic","examples":["homeassistant/status"],"requiresRestart":true,"title":"Home Assistant status topic","type":"string"}},"title":"Home Assistant (advanced)","type":"object"}],"requiresRestart":true,"title":"Home Assistant integration"},"map_options":{"properties":{"graphviz":{"properties":{"colors":{"properties":{"fill":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"font":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"line":{"properties":{"active":{"type":"string"},"inactive":{"type":"string"}},"type":"object"}},"type":"object"}},"type":"object"}},"title":"Networkmap","type":"object"},"mqtt":{"properties":{"base_topic":{"default":"zigbee2mqtt","description":"MQTT base topic for Zigbee2MQTT MQTT messages","examples":["zigbee2mqtt"],"requiresRestart":true,"title":"Base topic","type":"string"},"ca":{"description":"Absolute path to SSL/TLS certificate of CA used to sign server and client certificates","examples":["/etc/ssl/mqtt-ca.crt"],"requiresRestart":true,"title":"Certificate authority","type":"string"},"cert":{"description":"Absolute path to SSL/TLS certificate for client-authentication","examples":["/etc/ssl/mqtt-client.crt"],"requiresRestart":true,"title":"SSL/TLS certificate","type":"string"},"client_id":{"description":"MQTT client ID","examples":["MY_CLIENT_ID"],"requiresRestart":true,"title":"Client ID","type":"string"},"force_disable_retain":{"default":false,"description":"Disable retain for all send messages. ONLY enable if you MQTT broker doesn't support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform). Enabling will break the Home Assistant integration","requiresRestart":true,"title":"Force disable retain","type":"boolean"},"include_device_information":{"default":false,"description":"Include device information to mqtt messages","title":"Include device information","type":"boolean"},"keepalive":{"default":60,"description":"MQTT keepalive in second","requiresRestart":true,"title":"Keepalive","type":"number"},"key":{"description":"Absolute path to SSL/TLS key for client-authentication","examples":["/etc/ssl/mqtt-client.key"],"requiresRestart":true,"title":"SSL/TLS key","type":"string"},"password":{"description":"MQTT server authentication password","examples":["ILOVEPELMENI"],"requiresRestart":true,"title":"Password","type":"string"},"reject_unauthorized":{"default":true,"description":"Disable self-signed SSL certificate","requiresRestart":true,"title":"Reject unauthorized","type":"boolean"},"server":{"description":"MQTT server URL (use mqtts:// for SSL/TLS connection)","examples":["mqtt://localhost:1883"],"requiresRestart":true,"title":"MQTT server","type":"string"},"user":{"description":"MQTT server authentication user","examples":["johnnysilverhand"],"requiresRestart":true,"title":"User","type":"string"},"version":{"default":4,"description":"MQTT protocol version","examples":[5],"requiresRestart":true,"title":"Version","type":["number","null"]}},"required":["server"],"title":"MQTT","type":"object"},"ota":{"properties":{"disable_automatic_update_check":{"default":false,"description":"Zigbee devices may request a firmware update, and do so frequently, causing Zigbee2MQTT to reach out to third party servers. If you disable these device initiated checks, you can still initiate a firmware update check manually.","title":"Disable automatic update check","type":"boolean"},"ikea_ota_use_test_url":{"default":false,"description":"Use IKEA TRADFRI OTA test server, see OTA updates documentation","requiresRestart":true,"title":"IKEA TRADFRI OTA use test url","type":"boolean"},"update_check_interval":{"default":1440,"description":"Your device may request a check for a new firmware update. This value determines how frequently third party servers may actually be contacted to look for firmware updates. The value is set in minutes, and the default is 1 day.","title":"Update check interval","type":"number"},"zigbee_ota_override_index_location":{"description":"Location of override OTA index file","examples":["index.json"],"requiresRestart":true,"title":"OTA index override file name","type":["string","null"]}},"title":"OTA updates","type":"object"},"passlist":{"description":"Allow only certain devices to join the network (by ieeeAddr). Note that all devices not on the passlist will be removed from the network!","items":{"type":"string"},"requiresRestart":true,"title":"Passlist","type":"array"},"permit_join":{"default":false,"description":"Allow new devices to join (re-applied at restart)","title":"Permit join","type":"boolean"},"serial":{"properties":{"adapter":{"default":"auto","description":"Adapter type, not needed unless you are experiencing problems","enum":["deconz","zstack","zigate","ezsp","auto","ember","zboss"],"requiresRestart":true,"title":"Adapter","type":["string"]},"baudrate":{"description":"Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600","examples":[38400,57600,115200],"requiresRestart":true,"title":"Baudrate","type":"number"},"disable_led":{"default":false,"description":"Disable LED of the adapter if supported","requiresRestart":true,"title":"Disable led","type":"boolean"},"port":{"description":"Location of the adapter. To autodetect the port, set null","examples":["/dev/ttyACM0"],"requiresRestart":true,"title":"Port","type":["string","null"]},"rtscts":{"description":"RTS / CTS Hardware Flow Control for serial port","requiresRestart":true,"title":"RTS / CTS","type":"boolean"}},"title":"Serial","type":"object"},"whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Whitelist (deprecated, use passlist)","type":"array"}},"required":["mqtt"],"type":"object"},"coordinator":{"ieee_address":"0x94deb8fffe9dfdfb","meta":{"maintrel":"8 ","majorrel":"6","minorrel":"7","product":8,"revision":"6.7.8.0 build 373"},"type":"EZSP v8"},"log_level":"error","network":{"channel":11,"extended_pan_id":6,"pan_id":37527},"permit_join":false,"restart_required":false,"version":"1.40.1","zigbee_herdsman":{"version":"0.57.3"},"zigbee_herdsman_converters":{"version":"20.12.1"}}

j’ai des lignes de debug qui font plus de 30000 ou 32000 caractères. Je peux procéder comment pour vous envoyer les infos ?

je peux vous envoyer le fichier télécharger directement à l’assistant jeedom ?

J’ai tout ce que je voulais pas besoin de plus.

Par contre je comprends pas l’origine du soucis la conf semble bonne et dans les logs que je vois tout marche ca semble donc être intermittent tu confirmes ?

Intermittent je ne sais pas. Je suis obligé de relancer les démons tous les jours pour faire fonctionner mes volets roulants. C’est très pénible. TT fonctionné avant. alors est ce que mes pbs viennent de là? Qu’est ce que je dois faire. J’ai même créer un virtuel pour ouvrir et tt ferler en même temps mais ts les volets ne répondent pas. Parfois j’en ai deux voire trois qui ne s’ouvrent pas.

Par contre maintenant, est ce que je dois remttre l’onglet defaut et resauvegarder et relancer les démons pour que tt soit ok ?

@Loic pour ce message j’ai aussi du fixer dans un de mes plugins (c’est quand on utilise parfois des timeout et parfois pas de timeout ):

(Pas besoin d’ajouter http à package.json car il est natif, il faut le faire aussi pour https si tu l’utilises)

C’est parce que nodejs 20 passe en keep-alive:true par défaut maintenant.

Réf : Node.js 20 compatibility · Issue #5929 · axios/axios · GitHub
Et : HTTP Keep-alive, "socket hang up" ECONNERR on a long-running second request · Issue #6113 · axios/axios · GitHub

1 « J'aime »

Ok merci pour le retour je regarderais demain pour faire un fix

Bonjour nebz, j’imagine que ce message ne s’adresse qu’à Loic. Si je dois faire quelque chose, il va falloir me guider malheureusement.