Request failed with status code 500

Bonjour,

J’ai un problème qui n’apparait que de temps en temps ou les requetes du plugin hue a jeedom echouent. En pratique ça se matérialise par des états qui ne sont pas bon sur certaines lumières.

Log du plugin :

[2026-04-20 19:04:04] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n    at settle (/var/www/html/plugins/philipsHue/resources/philipsHued/node_modules/axios/dist/node/axios.cjs:1967:12)\n    at IncomingMessage.handleStreamEnd (/var/www/html/plugins/philipsHue/resources/philipsHued/node_modules/axios/dist/node/axios.cjs:3066:11)\n    at IncomingMessage.emit (node:events:531:35)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:89:21)\n    at Axios.request (/var/www/html/plugins/philipsHue/resources/philipsHued/node_modules/axios/dist/node/axios.cjs:3877:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"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.6.7","Content-Length":"2783","Accept-Encoding":"gzip, compress, deflate, br"},"httpAgent":{"_events":{},"_eventsCount":2,"options":{"keepAlive":false,"noDelay":true,"path":null},"defaultPort":80,"protocol":"http:","requests":{},"sockets":{"127.0.0.1:80:":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_events":{"close":[null,null]},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_writableState":{"highWaterMark":65536,"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":2783,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"POST /plugins/philipsHue/core/php/jeephilipsHue.php?apikey=REEDACTED HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded\r\nUser-Agent: axios/1.6.7\r\nContent-Length: 2783\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: 127.0.0.1\r\nConnection: close\r\n\r\n","_keepAliveTimeout":0,"method":"POST","path":"/plugins/philipsHue/core/php/jeephilipsHue.php?apikey=REEDACTED","_ended":true,"res":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":0,"httpVersion":"1.0","complete":true,"rawHeaders":["Date","Mon, 20 Apr 2026 19:04:04 GMT","Server","Apache","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 *.googleapis.com *.openstreetmap.org;script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr *.openstreetmap.org;script-src-elem 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.google.fr *.openstreetmap.org;img-src 'self' * data:;style-src 'self' 'unsafe-inline';style-src-attr 'self' 'unsafe-inline';worker-src blob:;frame-src 'self' *.jeedom.com *.google.com *.google.fr *.googleapis.com *.openstreetmap.org data:;","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/philipsHue/core/php/jeephilipsHue.php?apikey=REEDACTED","redirects":[]},"aborted":false,"timeoutCb":null,"upgradeOrConnect":false,"parser":null,"maxHeadersCount":null,"reusedSocket":false,"host":"127.0.0.1","protocol":"http:","_redirectable":{"_events":{},"_writableState":{"highWaterMark":65536,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":0},"_options":{"maxRedirects":21,"maxBodyLength":null,"protocol":"http:","path":"/plugins/philipsHue/core/php/jeephilipsHue.php?apikey=REEDACTED","method":"POST","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.6.7","Content-Length":"2783","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","QUERY","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,"options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"noDelay":true,"path":null},"defaultPort":80,"protocol":"http:","requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"agentKeepAliveTimeoutBuffer":1000}},"https:":{"globalAgent":{"_events":{},"_eventsCount":2,"options":{"keepAlive":true,"scheduling":"lifo","timeout":5000,"defaultPort":443,"protocol":"https:","noDelay":true,"path":null},"defaultPort":443,"protocol":"https:","requests":{},"sockets":{"192.168.92.250:443::::::::false:::::::::::::":[{"_tlsOptions":{"pipe":false,"secureContext":{"context":{}},"isServer":false,"requestCert":true,"rejectUnauthorized":false},"_secureEstablished":true,"_securePending":false,"_newSessionPending":false,"_controlReleased":true,"secureConnecting":false,"_SNICallback":null,"servername":false,"alpnProtocol":false,"authorized":false,"authorizationError":"UNABLE_TO_VERIFY_LEAF_SIGNATURE","encrypted":true,"_events":{"close":[null,null,null,null],"end":[null,null],"timeout":[null,null]},"_eventsCount":11,"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_closeAfterHandlingError":false,"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"_writableState":{"highWaterMark":65536,"length":0,"corked":0,"writelen":0,"bufferedIndex":0,"pendingcb":0},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","_server":null,"ssl":{"_parent":{"reading":true,"onconnection":null},"_parentWrap":null,"_secureContext":{"context":{}},"reading":true},"_requestCert":true,"_rejectUnauthorized":false,"timeout":5000,"parser":{"0":null,"5":null,"6":null,"_headers":[],"_url":"","incoming":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":1,"httpVersion":"1.1","complete":false,"rawHeaders":["Server","nginx","Date","Sat, 18 Apr 2026 17:12:05 GMT","Content-Type","text/event-stream; charset=utf-8","Transfer-Encoding","chunked","Connection","keep-alive","X-XSS-Protection","1; mode=block","X-Frame-Options","SAMEORIGIN","X-Content-Type-Options","nosniff","Content-Security-Policy","default-src 'self'","Cache-Control","no-store","Pragma","no-cache","Referrer-Policy","no-referrer"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":200,"statusMessage":"OK","_consuming":true,"_dumped":false,"req":{"_events":{},"_eventsCount":2,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":true,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":false,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":0,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"GET /eventstream/clip/v2 HTTP/1.1\r\nCache-Control: no-cache\r\nAccept: text/event-stream\r\nhue-application-key: 2Kx-S7CoUi1q8qBQcRVFhcAVmt7PSNtOC02UhNcR\r\nConnection: keep-alive\r\nHost: 192.168.92.250\r\n\r\n","_keepAliveTimeout":0,"method":"GET","path":"/eventstream/clip/v2","_ended":false,"aborted":false,"upgradeOrConnect":false,"maxHeadersCount":null,"reusedSocket":false,"host":"192.168.92.250","protocol":"https:"},"_eventsCount":3},"outgoing":{"_events":{},"_eventsCount":2,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":true,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":false,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":0,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"GET /eventstream/clip/v2 HTTP/1.1\r\nCache-Control: no-cache\r\nAccept: text/event-stream\r\nhue-application-key: 2Kx-S7CoUi1q8qBQcRVFhcAVmt7PSNtOC02UhNcR\r\nConnection: keep-alive\r\nHost: 192.168.92.250\r\n\r\n","_keepAliveTimeout":0,"method":"GET","path":"/eventstream/clip/v2","_ended":false,"res":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":1,"httpVersion":"1.1","complete":false,"rawHeaders":["Server","nginx","Date","Sat, 18 Apr 2026 17:12:05 GMT","Content-Type","text/event-stream; charset=utf-8","Transfer-Encoding","chunked","Connection","keep-alive","X-XSS-Protection","1; mode=block","X-Frame-Options","SAMEORIGIN","X-Content-Type-Options","nosniff","Content-Security-Policy","default-src 'self'","Cache-Control","no-store","Pragma","no-cache","Referrer-Policy","no-referrer"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":200,"statusMessage":"OK","_consuming":true,"_dumped":false,"_eventsCount":3},"aborted":false,"upgradeOrConnect":false,"maxHeadersCount":null,"reusedSocket":false,"host":"192.168.92.250","protocol":"https:"},"maxHeaderPairs":2000,"_consumed":false},"_httpMessage":{"_events":{},"_eventsCount":2,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":true,"maxRequestsOnConnectionReached":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":false,"sendDate":false,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"strictContentLength":false,"_contentLength":0,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"_closed":false,"_header":"GET /eventstream/clip/v2 HTTP/1.1\r\nCache-Control: no-cache\r\nAccept: text/event-stream\r\nhue-application-key: 2Kx-S7CoUi1q8qBQcRVFhcAVmt7PSNtOC02UhNcR\r\nConnection: keep-alive\r\nHost: 192.168.92.250\r\n\r\n","_keepAliveTimeout":0,"method":"GET","path":"/eventstream/clip/v2","_ended":false,"res":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":1,"httpVersion":"1.1","complete":false,"rawHeaders":["Server","nginx","Date","Sat, 18 Apr 2026 17:12:05 GMT","Content-Type","text/event-stream; charset=utf-8","Transfer-Encoding","chunked","Connection","keep-alive","X-XSS-Protection","1; mode=block","X-Frame-Options","SAMEORIGIN","X-Content-Type-Options","nosniff","Content-Security-Policy","default-src 'self'","Cache-Control","no-store","Pragma","no-cache","Referrer-Policy","no-referrer"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":200,"statusMessage":"OK","_consuming":true,"_dumped":false,"_eventsCount":3},"aborted":false,"upgradeOrConnect":false,"parser":{"0":null,"5":null,"6":null,"_headers":[],"_url":"","incoming":{"_events":{"end":[null,null]},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null},"httpVersionMajor":1,"httpVersionMinor":1,"httpVersion":"1.1","complete":false,"rawHeaders":["Server","nginx","Date","Sat, 18 Apr 2026 17:12:05 GMT","Content-Type","text/event-stream; charset=utf-8","Transfer-Encoding","chunked","Connection","keep-alive","X-XSS-Protection","1; mode=block","X-Frame-Options","SAMEORIGIN","X-Content-Type-Options","nosniff","Content-Security-Policy","default-src 'self'","Cache-Control","no-store","Pragma","no-cache","Referrer-Policy","no-referrer"],"rawTrailers":[],"aborted":false,"upgrade":false,"url":"","method":null,"statusCode":200,"statusMessage":"OK","_consuming":true,"_dumped":false,"_eventsCount":3},"maxHeaderPairs":2000,"_consumed":false},"maxHeadersCount":null,"reusedSocket":false,"host":"192.168.92.250","protocol":"https:"}}]},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1,"agentKeepAliveTimeoutBuffer":1000,"maxCachedSessions":100,"_sessionCache":{"map":{"192.168.92.250:443::::::::false:::::::::::::":{"type":"Buffer","data":[48,130,3,129,2,1,1,2,2,3,3,4,2,192,43,4,32,192,118,115,247,227,230,222,171,205,241,179,157,23,1,69,235,100,103,49,204,164,168,125,8,174,248,13,111,24,235,0,61,4,48,248,31,114,138,14,40,1,232,90,198,23,126,136,246,23,13,194,5,151,88,79,0,114,168,197,25,4,163,65,61,102,187,192,109,79,97,19,197,120,203,217,43,13,154,94,105,251,155,161,6,2,4,105,230,94,150,162,4,2,2,28,32,163,130,2,64,48,130,2,60,48,130,1,226,160,3,2,1,2,2,7,23,136,255,254,36,15,194,48,10,6,8,42,134,72,206,61,4,3,2,48,57,49,11,48,9,6,3,85,4,6,19,2,78,76,49,20,48,18,6,3,85,4,10,12,11,80,104,105,108,105,112,115,32,72,117,101,49,20,48,18,6,3,85,4,3,12,11,114,111,111,116,45,98,114,105,100,103,101,48,34,24,15,50,48,50,53,48,52,48,55,49,51,53,55,52,57,90,24,15,50,48,51,56,48,49,49,57,48,51,49,52,48,55,90,48,62,49,11,48,9,6,3,85,4,6,19,2,78,76,49,20,48,18,6,3,85,4,10,12,11,80,104,105,108,105,112,115,32,72,117,101,49,25,48,23,6,3,85,4,3,12,16,48,48,49,55,56,56,70,70,70,69,50,52,48,70,67,50,48,89,48,19,6,7,42,134,72,206,61,2,1,6,8,42,134,72,206,61,3,1,7,3,66,0,4,165,161,47,61,55,181,149,164,221,220,4,47,0,18,126,77,104,6,221,194,67,123,208,73,188,203,37,27,214,217,133,179,144,227,244,47,74,4,104,237,99,254,45,176,155,161,128,146,99,162,58,156,54,75,175,208,196,35,214,252,197,77,65,155,163,129,203,48,129,200,48,12,6,3,85,29,19,1,1,255,4,2,48,0,48,14,6,3,85,29,15,1,1,255,4,4,3,2,7,128,48,19,6,3,85,29,37,4,12,48,10,6,8,43,6,1,5,5,7,3,1,48,29,6,3,85,29,14,4,22,4,20,142,118,219,89,63,158,250,45,79,51,114,204,187,150,118,144,153,7,65,61,48,116,6,3,85,29,35,4,109,48,107,128,20,103,99,141,76,90,195,79,170,60,34,212,103,41,250,150,42,113,197,26,100,161,61,164,59,48,57,49,11,48,9,6,3,85,4,6,19,2,78,76,49,20,48,18,6,3,85,4,10,12,11,80,104,105,108,105,112,115,32,72,117,101,49,20,48,18,6,3,85,4,3,12,11,114,111,111,116,45,98,114,105,100,103,101,130,20,59,177,82,45,182,177,138,75,151,2,88,243,85,171,171,45,117,166,23,14,48,10,6,8,42,134,72,206,61,4,3,2,3,72,0,48,69,2,33,0,167,182,195,227,245,161,78,250,203,178,175,42,216,180,47,69,55,138,83,32,24,103,213,130,28,64,185,51,104,214,29,237,2,32,120,83,226,51,174,83,188,39,225,54,129,93,182,247,72,49,109,103,77,226,48,15,17,254,158,122,99,111,226,109,185,184,164,2,4,0,165,3,2,1,21,169,5,2,3,1,81,128,170,129,179,4,129,176,48,62,94,112,70,102,98,16,238,197,115,35,56,189,88,117,64,3,204,73,239,124,198,200,47,131,23,20,248,135,164,62,181,139,128,188,29,146,133,0,70,36,151,127,230,212,225,7,124,186,63,188,223,158,95,92,111,147,231,31,147,119,219,114,187,122,173,18,26,247,110,254,252,10,48,207,2,20,98,76,77,72,149,108,60,108,242,177,246,123,191,26,248,86,18,233,210,171,67,8,243,197,56,30,63,117,162,205,178,15,155,12,35,137,206,201,26,174,221,249,145,179,150,40,174,183,67,113,172,217,68,8,253,16,44,199,157,199,181,169,124,132,180,48,68,62,214,104,173,121,96,155,117,107,86,176,216,28,145,158,59,206,168,12,187,27,14,239,31,88,188,49,179,87,246,183,173,3,2,1,1,179,3,2,1,23]}},"list":["192.168.92.250:443::::::::false:::::::::::::"]}}}},"pathname":"/plugins/philipsHue/core/php/jeephilipsHue.php","search":"?apikey=REEDACTED"},"_ended":true,"_ending":true,"_redirectCount":0,"_redirects":[],"_requestBodyLength":2783,"_requestBodyBuffers":[],"_eventsCount":3,"_currentUrl":"http://127.0.0.1/plugins/philipsHue/core/php/jeephilipsHue.php?apikey=REEDACTED"}}}]},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1,"agentKeepAliveTimeoutBuffer":1000},"method":"post","url":"http://127.0.0.1:80/plugins/philipsHue/core/php/jeephilipsHue.php?apikey=REEDACTED","data":"{\"bridge\":{\"1\":\"[{\\\"creationtime\\\":\\\"2026-04-20T19:04:03Z\\\",\\\"data\\\":[{\\\"id\\\":\\\"48a44e40-ca17-4270-b675-24c4585e466f\\\",\\\"id_v1\\\":\\\"/lights/23\\\",\\\"on\\\":{\\\"on\\\":true},\\\"owner\\\":{\\\"rid\\\":\\\"32b1e590-3d25-40f3-8e6b-4f112191564b\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"color\\\":{\\\"xy\\\":{\\\"x\\\":0.6721,\\\"y\\\":0.321}},\\\"color_temperature\\\":{\\\"mirek\\\":null,\\\"mirek_valid\\\":false},\\\"id\\\":\\\"48a44e40-ca17-4270-b675-24c4585e466f\\\",\\\"id_v1\\\":\\\"/lights/23\\\",\\\"owner\\\":{\\\"rid\\\":\\\"32b1e590-3d25-40f3-8e6b-4f112191564b\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"id\\\":\\\"63baa1f4-8479-458f-bd67-45d90474056e\\\",\\\"id_v1\\\":\\\"/lights/48\\\",\\\"on\\\":{\\\"on\\\":true},\\\"owner\\\":{\\\"rid\\\":\\\"b0b1f6c0-95e9-4cf6-925b-b5fd7b50bbca\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"id\\\":\\\"f404c7a1-b59a-415f-bc6d-56f04c36a26a\\\",\\\"id_v1\\\":\\\"/lights/58\\\",\\\"on\\\":{\\\"on\\\":true},\\\"owner\\\":{\\\"rid\\\":\\\"886ac549-673c-48c2-af7f-2c2707c181c5\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"dimming\\\":{\\\"brightness\\\":8.7},\\\"id\\\":\\\"f404c7a1-b59a-415f-bc6d-56f04c36a26a\\\",\\\"id_v1\\\":\\\"/lights/58\\\",\\\"owner\\\":{\\\"rid\\\":\\\"886ac549-673c-48c2-af7f-2c2707c181c5\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"id\\\":\\\"1218b4fd-cf28-477c-bde4-d1bbe02ff42f\\\",\\\"id_v1\\\":\\\"/lights/59\\\",\\\"on\\\":{\\\"on\\\":true},\\\"owner\\\":{\\\"rid\\\":\\\"6ea1dad4-8f0e-4c69-916f-e1ec48763e55\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"dimming\\\":{\\\"brightness\\\":8.7},\\\"id\\\":\\\"1218b4fd-cf28-477c-bde4-d1bbe02ff42f\\\",\\\"id_v1\\\":\\\"/lights/59\\\",\\\"owner\\\":{\\\"rid\\\":\\\"6ea1dad4-8f0e-4c69-916f-e1ec48763e55\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"id\\\":\\\"c0e2124e-47e0-47c7-b73d-a9424233d846\\\",\\\"id_v1\\\":\\\"/lights/60\\\",\\\"on\\\":{\\\"on\\\":true},\\\"owner\\\":{\\\"rid\\\":\\\"315da79e-13e6-47fa-8795-e4195e1d2d8f\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"},{\\\"dimming\\\":{\\\"brightness\\\":8.7},\\\"id\\\":\\\"c0e2124e-47e0-47c7-b73d-a9424233d846\\\",\\\"id_v1\\\":\\\"/lights/60\\\",\\\"owner\\\":{\\\"rid\\\":\\\"315da79e-13e6-47fa-8795-e4195e1d2d8f\\\",\\\"rtype\\\":\\\"device\\\"},\\\"service_id\\\":0,\\\"type\\\":\\\"light\\\"}],\\\"id\\\":\\\"d6340a15-67ab-4f9f-8a6a-f5bf27bfbffd\\\",\\\"type\\\":\\\"update\\\"},{\\\"creationtime\\\":\\\"2026-04-20T19:04:03Z\\\",\\\"data\\\":[{\\\"dimming\\\":{\\\"brightness\\\":5.8519999},\\\"id\\\":\\\"965b2d14-c791-41db-beb5-899deca25bbf\\\",\\\"id_v1\\\":\\\"/groups/2\\\",\\\"on\\\":{\\\"on\\\":true},\\\"owner\\\":{\\\"rid\\\":\\\"d477382a-d3e1-45fa-aadb-0719839de0d6\\\",\\\"rtype\\\":\\\"room\\\"},\\\"type\\\":\\\"grouped_light\\\"},{\\\"dimming\\\":{\\\"brightness\\\":44.9471428},\\\"id\\\":\\\"e00457fa-2f98-4d62-9eb4-7aedce05cc14\\\",\\\"id_v1\\\":\\\"/groups/0\\\",\\\"owner\\\":{\\\"rid\\\":\\\"5c8bd43f-faa5-41b1-8137-67b66aa2951f\\\",\\\"rtype\\\":\\\"bridge_home\\\"},\\\"type\\\":\\\"grouped_light\\\"}],\\\"id\\\":\\\"5e65ffea-8a68-4b54-a361-630b9ce899f0\\\",\\\"type\\\":\\\"update\\\"}]\"}}"},"code":"ERR_BAD_RESPONSE","status":500}

http.error :

[Mon Apr 20 21:04:04.104643 2026] [php:error] [pid 705510:tid 705510] [client 127.0.0.1:60002] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string * float in /var/www/html/plugins/philipsHue/core/class/philipsHue.class.php:934\nStack trace:\n#0 /var/www/html/plugins/philipsHue/core/php/jeephilipsHue.php(45): philipsHue::syncState()\n#1 {main}\n  thrown in /var/www/html/plugins/philipsHue/core/class/philipsHue.class.php on line 934

Merci d’avance

Hello,

Comme toute demande d’assistance ou remontée d’anomalie, il est fortement recommandé de publier la page santé de son jeedom. Non pas pour voir si tout est vert ou pas mais parce que ça indique également l’ensemble des versions qui peuvent aider à comprendre le dysfonctionnement.

En l’occurence la version du core, de debian et de php peuvent permettre ici de faire un diagnostic.

Bonsoir,
J’ai trouvé l’origine du bug, je vais soumettre une PR sur le github du plugin hue demain.
Cdlt

Bonjour,

Alors proposer un PR sur Github est très bien et fait avancer les choses. Mais également dire ici ce que vous avez trouvé, pour aider, renseigner les autres utilisateurs qui ont peut etre le meme souci que vous. Pour les aider à s’aider, à se rassurer. Bon nombres d utilisateurs ne seront pas interpréter les mots : PR et Github.

2 « J'aime »

J’entend, mais vu que c’est un bug dans le code du plugin il n’y a pas vraiment d’autre solution que d’attendre une MAJ du plugin pour les autres utilisateurs qui auraient le problème. Je ne pense pas que donner des instructions pour modifier le code ici soit une bonne idée.

Voici les détails du bug et une proposition de correctif : Ensure brightness exist as a float even when we do not have cached value by jbfuzier · Pull Request #63 · jeedom/plugin-philipsHue · GitHub

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