Je viens de faire la manip. J’ai bien la commande mais elle renvoit rien. J’ai pas la commande liste. L’etat ne semble pas fonctionner. Je te joins quelques log :
[2021-12-24 08:59:07][DEBUG] : Cmd : {"on" : {"value":false}} - url : http://192.168.1.140:16021/api/v1/HzrpT0cX9ozMc1xFEZ9XuXVNBPkLZdWb/state - type : PUT - Status:204 - No response
[2021-12-24 08:59:07][DEBUG] : Cmd : - url : http://192.168.1.140:16021/api/v1/HzrpT0cX9ozMc1xFEZ9XuXVNBPkLZdWb/ - type : GET - Status:200 - Rec:{"name":"Shapes 0F95","serialNo":"S21280HD301","manufacturer":"Nanoleaf","firmwareVersion":"6.2.3","hardwareVersion":"1.4-0","model":"NL42","discovery":{},"effects":{"effectsList":["Aquarium","Be Alert","Be Energized","Beach Waves","Beatdrop","Blaze","Christmas Lights","Cocoa Beach","Cool Blues","Cops","Cotton Candy","Dark Northen Lights for TV!","Date Night","Flash Light","Hip Hop","Hot Sauce","Jungle","Knight Rider","Lightscape","Mint","Morning Sky","Nightshade","Northern Lights","Oceanworks","Police Lights","Pop Rocks","Prism","Retro","StarTrek","Starlight","Sundown","Sunset","Tron Legacy","Vibrant Sunrise","Waterfall","星夜Starry Night"],"select":"Christmas Lights"},"firmwareUpgrade":{},"panelLayout":{"globalOrientation":{"value":0,"max":360,"min":0},"layout":{"numPanels":20,"sideLength":0,"positionData":[{"panelId":61728,"x":167,"y":108,"o":0,"shapeType":7},{"panelId":11030,"x":100,"y":69,"o":120,"shapeType":9},{"panelId":10616,"x":67,"y":89,"o":180,"shapeType":9},{"panelId":7657,"x":67,"y":166,"o":240,"shapeType":7},{"panelId":19508,"x":67,"y":243,"o":240,"shapeType":9},{"panelId":50479,"x":0,"y":282,"o":180,"shapeType":7},{"panelId":8734,"x":0,"y":398,"o":120,"shapeType":7},{"panelId":53255,"x":0,"y":475,"o":120,"shapeType":9},{"panelId":49235,"x":34,"y":495,"o":180,"shapeType":9},{"panelId":29023,"x":100,"y":263,"o":180,"shapeType":9},{"panelId":809,"x":100,"y":340,"o":180,"shapeType":7},{"panelId":40792,"x":100,"y":456,"o":300,"shapeType":7},{"panelId":20176,"x":100,"y":534,"o":0,"shapeType":9},{"panelId":37953,"x":134,"y":553,"o":300,"shapeType":9},{"panelId":34256,"x":201,"y":398,"o":120,"shapeType":7},{"panelId":45864,"x":201,"y":514,"o":120,"shapeType":7},{"panelId":39291,"x":167,"y":224,"o":0,"shapeType":7},{"panelId":51311,"x":167,"y":301,"o":0,"shapeType":9},{"panelId":4059,"x":201,"y":321,"o":300,"shapeType":9},{"panelId":0,"x":226,"y":74,"o":240,"shapeType":12}]}},"qkihnokomhartlnp":{},"schedules":{},"state":{"brightness":{"value":42,"max":100,"min":0},"colorMode":"effect","ct":{"value":4331,"max":6500,"min":1200},"hue":{"value":0,"max":360,"min":0},"on":{"value":false},"sat":{"value":0,"max":100,"min":0}}}
[2021-12-24 08:59:07][DEBUG] : nanoleaf state :Array
[2021-12-24 08:59:09][DEBUG] : Cmd : {"on" : {"value":true}} - url : http://192.168.1.140:16021/api/v1/HzrpT0cX9ozMc1xFEZ9XuXVNBPkLZdWb/state - type : PUT - Status:204 - No response
[2021-12-24 08:59:09][DEBUG] : Cmd : - url : http://192.168.1.140:16021/api/v1/HzrpT0cX9ozMc1xFEZ9XuXVNBPkLZdWb/ - type : GET - Status:200 - Rec:{"name":"Shapes 0F95","serialNo":"S21280HD301","manufacturer":"Nanoleaf","firmwareVersion":"6.2.3","hardwareVersion":"1.4-0","model":"NL42","discovery":{},"effects":{"effectsList":["Aquarium","Be Alert","Be Energized","Beach Waves","Beatdrop","Blaze","Christmas Lights","Cocoa Beach","Cool Blues","Cops","Cotton Candy","Dark Northen Lights for TV!","Date Night","Flash Light","Hip Hop","Hot Sauce","Jungle","Knight Rider","Lightscape","Mint","Morning Sky","Nightshade","Northern Lights","Oceanworks","Police Lights","Pop Rocks","Prism","Retro","StarTrek","Starlight","Sundown","Sunset","Tron Legacy","Vibrant Sunrise","Waterfall","星夜Starry Night"],"select":"Christmas Lights"},"firmwareUpgrade":{},"panelLayout":{"globalOrientation":{"value":0,"max":360,"min":0},"layout":{"numPanels":20,"sideLength":0,"positionData":[{"panelId":61728,"x":167,"y":108,"o":0,"shapeType":7},{"panelId":11030,"x":100,"y":69,"o":120,"shapeType":9},{"panelId":10616,"x":67,"y":89,"o":180,"shapeType":9},{"panelId":7657,"x":67,"y":166,"o":240,"shapeType":7},{"panelId":19508,"x":67,"y":243,"o":240,"shapeType":9},{"panelId":50479,"x":0,"y":282,"o":180,"shapeType":7},{"panelId":8734,"x":0,"y":398,"o":120,"shapeType":7},{"panelId":53255,"x":0,"y":475,"o":120,"shapeType":9},{"panelId":49235,"x":34,"y":495,"o":180,"shapeType":9},{"panelId":29023,"x":100,"y":263,"o":180,"shapeType":9},{"panelId":809,"x":100,"y":340,"o":180,"shapeType":7},{"panelId":40792,"x":100,"y":456,"o":300,"shapeType":7},{"panelId":20176,"x":100,"y":534,"o":0,"shapeType":9},{"panelId":37953,"x":134,"y":553,"o":300,"shapeType":9},{"panelId":34256,"x":201,"y":398,"o":120,"shapeType":7},{"panelId":45864,"x":201,"y":514,"o":120,"shapeType":7},{"panelId":39291,"x":167,"y":224,"o":0,"shapeType":7},{"panelId":51311,"x":167,"y":301,"o":0,"shapeType":9},{"panelId":4059,"x":201,"y":321,"o":300,"shapeType":9},{"panelId":0,"x":226,"y":74,"o":240,"shapeType":12}]}},"qkihnokomhartlnp":{},"schedules":{},"state":{"brightness":{"value":42,"max":100,"min":0},"colorMode":"effect","ct":{"value":4331,"max":6500,"min":1200},"hue":{"value":0,"max":360,"min":0},"on":{"value":true},"sat":{"value":0,"max":100,"min":0}}}
[2021-12-24 08:59:09][DEBUG] : nanoleaf state :Array
[2021-12-24 08:59:33][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.83 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-12-24 08:59:33][DEBUG] : ** Nanaleaf shape - NanoLeafBase @192.168.1.140 **
[2021-12-24 08:59:33][DEBUG] : Cmd : - url : http://192.168.1.140:16021/api/v1/HzrpT0cX9ozMc1xFEZ9XuXVNBPkLZdWb/ - type : GET - Status:200 - Rec:{"name":"Shapes 0F95","serialNo":"S21280HD301","manufacturer":"Nanoleaf","firmwareVersion":"6.2.3","hardwareVersion":"1.4-0","model":"NL42","discovery":{},"effects":{"effectsList":["Aquarium","Be Alert","Be Energized","Beach Waves","Beatdrop","Blaze","Christmas Lights","Cocoa Beach","Cool Blues","Cops","Cotton Candy","Dark Northen Lights for TV!","Date Night","Flash Light","Hip Hop","Hot Sauce","Jungle","Knight Rider","Lightscape","Mint","Morning Sky","Nightshade","Northern Lights","Oceanworks","Police Lights","Pop Rocks","Prism","Retro","StarTrek","Starlight","Sundown","Sunset","Tron Legacy","Vibrant Sunrise","Waterfall","星夜Starry Night"],"select":"Christmas Lights"},"firmwareUpgrade":{},"panelLayout":{"globalOrientation":{"value":0,"max":360,"min":0},"layout":{"numPanels":20,"sideLength":0,"positionData":[{"panelId":61728,"x":167,"y":108,"o":0,"shapeType":7},{"panelId":11030,"x":100,"y":69,"o":120,"shapeType":9},{"panelId":10616,"x":67,"y":89,"o":180,"shapeType":9},{"panelId":7657,"x":67,"y":166,"o":240,"shapeType":7},{"panelId":19508,"x":67,"y":243,"o":240,"shapeType":9},{"panelId":50479,"x":0,"y":282,"o":180,"shapeType":7},{"panelId":8734,"x":0,"y":398,"o":120,"shapeType":7},{"panelId":53255,"x":0,"y":475,"o":120,"shapeType":9},{"panelId":49235,"x":34,"y":495,"o":180,"shapeType":9},{"panelId":29023,"x":100,"y":263,"o":180,"shapeType":9},{"panelId":809,"x":100,"y":340,"o":180,"shapeType":7},{"panelId":40792,"x":100,"y":456,"o":300,"shapeType":7},{"panelId":20176,"x":100,"y":534,"o":0,"shapeType":9},{"panelId":37953,"x":134,"y":553,"o":300,"shapeType":9},{"panelId":34256,"x":201,"y":398,"o":120,"shapeType":7},{"panelId":45864,"x":201,"y":514,"o":120,"shapeType":7},{"panelId":39291,"x":167,"y":224,"o":0,"shapeType":7},{"panelId":51311,"x":167,"y":301,"o":0,"shapeType":9},{"panelId":4059,"x":201,"y":321,"o":300,"shapeType":9},{"panelId":0,"x":226,"y":74,"o":240,"shapeType":12}]}},"qkihnokomhartlnp":{},"schedules":{},"state":{"brightness":{"value":42,"max":100,"min":0},"colorMode":"effect","ct":{"value":4331,"max":6500,"min":1200},"hue":{"value":0,"max":360,"min":0},"on":{"value":true},"sat":{"value":0,"max":100,"min":0}}}
[2021-12-24 08:59:33][DEBUG] : nanoleaf state :Array
[2021-12-24 08:59:33][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :3079 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Seul le on\off semble fonctionner.
SI je repasse en stable la commande me récupère bien l’info de l’effet en cours.