Pb mqtt2d sur VR

Bonjour,

J’ai vu passer plusieurs post au sujet de pb sur mqtt2d
j’ai ce message qui s’affiche et depuis, aucune connexion ne sait fait avec mes modules de volet roulant si 4 rs 20.

Error on send to jeedom : {« message »:« Request failed with status code 500 »,« name »:« AxiosError »,« stack »:"AxiosError: Request failed with status code 500``

pour info j’ai une luna box version 4.4.19 et ma version z2m 1.42.0. Cela marchait très bien il y a peu encore

Bonjour

C’est quoi le lien avec jmqtt?

c’est là qu’apparaissent mes erreurs. Donc je suppose que le lien vient de là. Vous voyez autre chose ?

Salut

Les logs en copié collé en utilisant Texte préformaté pour le formatage.

Vous utilisez zigbee2mqtt par jmqtt sans utilise jeezigbee ou zigbeelinker donc?

Antoine

t Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)
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":"615","Accept-Encoding":"gzip, compress, deflate, br"},"httpAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"protocol":"http:","options":{"keepAlive":false,"noDelay":true,"path":null},"requests":{},"sockets":{"127.0.0.1:80:":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_events":{"close":[null,null]},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_writableState":{"highWaterMark":16384,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":1},"allowHalfOpen":false,"_eventsCount":7,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null,"parser":null,"_httpMessage":{"_events":{},"_eventsCount":7,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":"615","_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"POST /plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: application/x-www-form-urlencoded
User-Agent: axios/1.7.3
Content-Length: 615
Accept-Encoding: gzip, compress, deflate, br
Host: 127.0.0.1
Connection: close
","_keepAliveTimeout":0,"method":"POST","path":"/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","_ended":true,"res":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":0,"httpVersion":"1.0","complete":true,"rawHeaders":["Date","Sat, 01 Mar 2025 06:38:53 GMT","Server","Apache/2.4.62 (Debian)","X-Content-Type-Options","nosniff","X-Frame-Options","sameorigin","X-XSS-Protection","1; mode=block","Referrer-Policy","strict-origin-when-cross-origin","Permissions-Policy","accelerometer=(),battery=(),fullscreen=(self),geolocation=(), camera=(),ambient-light-sensor=(self), autoplay=(self)","Content-Security-Policy","default-src 'self' file: data: blob: filesystem:;script-src-attr 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;script-src-elem 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;img-src 'self' *.jeedom.com *.google.com *.google.fr data:;style-src 'self' 'unsafe-inline';style-src-attr 'self' 'unsafe-inline';worker-src blob:;","Access-Control-Allow-Origin","*","Access-Control-Allow-Credentials","true","Access-Control-Allow-Headers","origin, x-requested-with, content-type","Access-Control-Allow-Methods","PUT, GET, POST, DELETE, OPTIONS","Content-Length","0","Connection","close","Content-Type","text/html; charset=UTF-8"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":500,"statusMessage":"Internal Server Error","_consuming":false,"_dumped":false,"_eventsCount":4,"responseUrl":"http://127.0.0.1/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","redirects":[]},"aborted":false,"timeoutCb":null,"upgradeOrConnect":false,"parser":null,"maxHeadersCount":null,"reusedSocket":false,"host":"127.0.0.1","protocol":"http:","_redirectable":{"_events":{},"_writableState":{"highWaterMark":16384,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":0},"_options":{"maxRedirects":21,"maxBodyLength":null,"protocol":"http:","path":"/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","method":"POST","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"615","Accept-Encoding":"gzip, compress, deflate, br"},"agents":{},"beforeRedirects":{},"hostname":"127.0.0.1","port":"","nativeProtocols":{"http:":{"METHODS":["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"],"STATUS_CODES":{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"},"maxHeaderSize":16384,"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"protocol":"http:","options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0}},"https:":{"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":443,"protocol":"https:","options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}}},"pathname":"/plugins/mqtt2/core/php/jeeMqtt2.php","search":"?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ"},"_ended":true,"_ending":true,"_redirectCount":0,"_redirects":[],"_requestBodyLength":615,"_requestBodyBuffers":[],"_eventsCount":3,"_currentUrl":"http://127.0.0.1/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ"}}}]},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"$SYS\":{\"broker\":{\"uptime\":\"604120 seconds\",\"load\":{\"messages\":{\"received\":{\"1min\":28.96,\"5min\":30.41,\"15min\":30.56},\"sent\":{\"1min\":100.13,\"5min\":102.58,\"15min\":102.8}},\"publish\":{\"received\":{\"1min\":27.54,\"5min\":28.53,\"15min\":28.6},\"sent\":{\"1min\":87.81,\"5min\":89.79,\"15min\":89.93}},\"bytes\":{\"received\":{\"1min\":17003.8,\"5min\":17652.61,\"15min\":17705.47},\"sent\":{\"1min\":34882.95,\"5min\":36179.64,\"15min\":36285.14}}},\"messages\":{\"received\":300366,\"sent\":2076043},\"publish\":{\"messages\":{\"received\":280225,\"sent\":2055920},\"bytes\":{\"received\":163628651,\"sent\":337501123}},\"bytes\":{\"received\":173474794,\"sent\":413006165}}}}"},"code":"ERR_BAD_RESPONSE","status":500}
[2025-03-01 06:38:55] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2015:12)
at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3131:11)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)
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":"591","Accept-Encoding":"gzip, compress, deflate, br"},"httpAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"protocol":"http:","options":{"keepAlive":false,"noDelay":true,"path":null},"requests":{},"sockets":{"127.0.0.1:80:":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_events":{"close":[null,null]},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_writableState":{"highWaterMark":16384,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":1},"allowHalfOpen":false,"_eventsCount":7,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null,"parser":null,"_httpMessage":{"_events":{},"_eventsCount":7,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":"591","_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"POST /plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: application/x-www-form-urlencoded
User-Agent: axios/1.7.3
Content-Length: 591
Accept-Encoding: gzip, compress, deflate, br
Host: 127.0.0.1
Connection: close
","_keepAliveTimeout":0,"method":"POST","path":"/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","_ended":true,"res":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":0,"httpVersion":"1.0","complete":true,"rawHeaders":["Date","Sat, 01 Mar 2025 06:38:55 GMT","Server","Apache/2.4.62 (Debian)","X-Content-Type-Options","nosniff","X-Frame-Options","sameorigin","X-XSS-Protection","1; mode=block","Referrer-Policy","strict-origin-when-cross-origin","Permissions-Policy","accelerometer=(),battery=(),fullscreen=(self),geolocation=(), camera=(),ambient-light-sensor=(self), autoplay=(self)","Content-Security-Policy","default-src 'self' file: data: blob: filesystem:;script-src-attr 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;script-src-elem 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;img-src 'self' *.jeedom.com *.google.com *.google.fr data:;style-src 'self' 'unsafe-inline';style-src-attr 'self' 'unsafe-inline';worker-src blob:;","Access-Control-Allow-Origin","*","Access-Control-Allow-Credentials","true","Access-Control-Allow-Headers","origin, x-requested-with, content-type","Access-Control-Allow-Methods","PUT, GET, POST, DELETE, OPTIONS","Content-Length","0","Connection","close","Content-Type","text/html; charset=UTF-8"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":500,"statusMessage":"Internal Server Error","_consuming":false,"_dumped":false,"_eventsCount":4,"responseUrl":"http://127.0.0.1/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","redirects":[]},"aborted":false,"timeoutCb":null,"upgradeOrConnect":false,"parser":null,"maxHeadersCount":null,"reusedSocket":false,"host":"127.0.0.1","protocol":"http:","_redirectable":{"_events":{},"_writableState":{"highWaterMark":16384,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":0},"_options":{"maxRedirects":21,"maxBodyLength":null,"protocol":"http:","path":"/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","method":"POST","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"591","Accept-Encoding":"gzip, compress, deflate, br"},"agents":{},"beforeRedirects":{},"hostname":"127.0.0.1","port":"","nativeProtocols":{"http:":{"METHODS":["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"],"STATUS_CODES":{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"},"maxHeaderSize":16384,"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"protocol":"http:","options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0}},"https:":{"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":443,"protocol":"https:","options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}}},"pathname":"/plugins/mqtt2/core/php/jeeMqtt2.php","search":"?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ"},"_ended":true,"_ending":true,"_redirectCount":0,"_redirects":[],"_requestBodyLength":591,"_requestBodyBuffers":[],"_eventsCount":3,"_currentUrl":"http://127.0.0.1/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ"}}}]},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"zigbee2mqtt\":{\"0xbc026efffeae0089\":{\"device\":{\"applicationVersion\":3,\"dateCode\":\"2020\",\"friendlyName\":\"0xbc026efffeae0089\",\"hardwareVersion\":50,\"ieeeAddr\":\"0xbc026efffeae0089\",\"manufacturerID\":4747,\"manufacturerName\":\"NodOn\",\"model\":\"SIN-4-RS-20\",\"networkAddress\":35351,\"powerSource\":\"Mains (single phase)\",\"softwareBuildID\":\"3.0.0-1.3.0\",\"stackVersion\":103,\"type\":\"Router\",\"zclVersion\":8},\"last_seen\":\"2025-03-01T06:38:55.388Z\",\"linkquality\":152,\"position\":0,\"state\":\"CLOSE\",\"tilt\":100,\"update\":{\"installed_version\":768,\"latest_version\":773,\"state\":\"available\"},\"update_available\":true}}}"},"code":"ERR_BAD_RESPONSE","status":500}
[2025-03-01 06:38:59] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2015:12)
at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3131:11)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:4262:41)
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":"627","Accept-Encoding":"gzip, compress, deflate, br"},"httpAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"protocol":"http:","options":{"keepAlive":false,"noDelay":true,"path":null},"requests":{},"sockets":{"127.0.0.1:80:":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_events":{"close":[null,null]},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_writableState":{"highWaterMark":16384,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":1},"allowHalfOpen":false,"_eventsCount":7,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null,"parser":null,"_httpMessage":{"_events":{},"_eventsCount":7,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":"627","_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"POST /plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: application/x-www-form-urlencoded
User-Agent: axios/1.7.3
Content-Length: 627
Accept-Encoding: gzip, compress, deflate, br
Host: 127.0.0.1
Connection: close
","_keepAliveTimeout":0,"method":"POST","path":"/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","_ended":true,"res":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":16384,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":0,"httpVersion":"1.0","complete":true,"rawHeaders":["Date","Sat, 01 Mar 2025 06:38:59 GMT","Server","Apache/2.4.62 (Debian)","X-Content-Type-Options","nosniff","X-Frame-Options","sameorigin","X-XSS-Protection","1; mode=block","Referrer-Policy","strict-origin-when-cross-origin","Permissions-Policy","accelerometer=(),battery=(),fullscreen=(self),geolocation=(), camera=(),ambient-light-sensor=(self), autoplay=(self)","Content-Security-Policy","default-src 'self' file: data: blob: filesystem:;script-src-attr 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;script-src-elem 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr;img-src 'self' *.jeedom.com *.google.com *.google.fr data:;style-src 'self' 'unsafe-inline';style-src-attr 'self' 'unsafe-inline';worker-src blob:;","Access-Control-Allow-Origin","*","Access-Control-Allow-Credentials","true","Access-Control-Allow-Headers","origin, x-requested-with, content-type","Access-Control-Allow-Methods","PUT, GET, POST, DELETE, OPTIONS","Content-Length","0","Connection","close","Content-Type","text/html; charset=UTF-8"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":500,"statusMessage":"Internal Server Error","_consuming":false,"_dumped":false,"_eventsCount":4,"responseUrl":"http://127.0.0.1/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","redirects":[]},"aborted":false,"timeoutCb":null,"upgradeOrConnect":false,"parser":null,"maxHeadersCount":null,"reusedSocket":false,"host":"127.0.0.1","protocol":"http:","_redirectable":{"_events":{},"_writableState":{"highWaterMark":16384,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":0},"_options":{"maxRedirects":21,"maxBodyLength":null,"protocol":"http:","path":"/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","method":"POST","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.7.3","Content-Length":"627","Accept-Encoding":"gzip, compress, deflate, br"},"agents":{},"beforeRedirects":{},"hostname":"127.0.0.1","port":"","nativeProtocols":{"http:":{"METHODS":["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"],"STATUS_CODES":{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"},"maxHeaderSize":16384,"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"protocol":"http:","options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0}},"https:":{"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":443,"protocol":"https:","options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}}},"pathname":"/plugins/mqtt2/core/php/jeeMqtt2.php","search":"?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ"},"_ended":true,"_ending":true,"_redirectCount":0,"_redirects":[],"_requestBodyLength":627,"_requestBodyBuffers":[],"_eventsCount":3,"_currentUrl":"http://127.0.0.1/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ"}}}]},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=hzF0rNon192HZq3AFuYd21W5V4t9yug3ExXkU6OWeAc7fjmvea7CC5DcVtokz3RZ","data":"{\"zigbee2mqtt\":{\"0x286847fffe2e0518\":{\"calibration_vertical_run_time_up\":0,\"device\":{\"applicationVersion\":3,\"dateCode\":\"2020\",\"friendlyName\":\"0x286847fffe2e0518\",\"hardwareVersion\":50,\"ieeeAddr\":\"0x286847fffe2e0518\",\"manufacturerID\":4747,\"manufacturerName\":\"NodOn\",\"model\":\"SIN-4-RS-20\",\"networkAddress\":4359,\"powerSource\":\"Mains (single phase)\",\"softwareBuildID\":\"3.0.0-1.3.0\",\"stackVersion\":103,\"type\":\"Router\",\"zclVersion\":8},\"last_seen\":\"2025-03-01T06:38:59.583Z\",\"linkquality\":184,\"position\":0,\"state\":\"CLOSE\",\"tilt\":100,\"update\":{\"installed_version\":768,\"latest_version\":773,\"state\":\"available\"},\"update_available\":true}}}"},"code":"ERR_BAD_RESPONSE","status":500}

Si si bien entendu. j’utilise les deux : 2zm et mqtt2

Alors il faut utiliser l’étiquette plugin-mqtt2 et pas plugin-jmqtt qui est un autre plugin

2 « J'aime »