Chose étonnante que je viens de constater à l’instant : la première requête envoyée après avoir débranché/rebranché l’alimentation de la prise fonctionne ! Que ce soit avec la version stable ou la beta.
Je mets les logs de la version beta:
[2021-09-30 11:36:10][DEBUG] : Cmd : "togglex":{"onoff": 1,"channel": "0"} - url : http://192.168.1.20/config - type : POST - body : {"header": {"from": "http://192.168.1.20/config","messageId": "a29e7834a7283ebbb340bb23587739a4","method": "SET","namespace": "Appliance.Control.ToggleX","payloadVersion": 1,"sign": "0132a0838981aaaa946096065887d5fa","timestamp": 1632733420},"payload": {"togglex":{"onoff": 1,"channel": "0"}}} - method: SET - Status:200
[2021-09-30 11:36:10][DEBUG] : Receive:{"header":{"messageId":"a29e7834a7283ebbb340bb23587739a4","namespace":"Appliance.Control.ToggleX","method":"SETACK","payloadVersion":1,"from":"/appliance/2003060100781125188848e1e9186bba/publish","timestamp":1632994569,"timestampMs":866,"sign":"c9b8cedd72756271799455a7bcd3cd2e"},"payload":{}}[10]
[2021-09-30 11:36:10][DEBUG] : Cmd : - url : http://192.168.1.20/config - type : POST - body : {"header": {"from": "http://192.168.1.20/config","messageId": "a29e7834a7283ebbb340bb23587739a4","method": "GET","namespace": "Appliance.System.All","payloadVersion": 1,"sign": "0132a0838981aaaa946096065887d5fa","timestamp": 1632733420},"payload": {}} - method: GET - Exception:cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) - No Meross device @http://192.168.1.20/config
[2021-09-30 11:37:43][DEBUG] : Cmd : "togglex":{"onoff": 0,"channel": "0"} - url : http://192.168.1.20/config - type : POST - body : {"header": {"from": "http://192.168.1.20/config","messageId": "a29e7834a7283ebbb340bb23587739a4","method": "SET","namespace": "Appliance.Control.ToggleX","payloadVersion": 1,"sign": "0132a0838981aaaa946096065887d5fa","timestamp": 1632733420},"payload": {"togglex":{"onoff": 0,"channel": "0"}}} - method: SET - Status:200
[2021-09-30 11:37:43][DEBUG] : Receive:{"header":{"messageId":"a29e7834a7283ebbb340bb23587739a4","namespace":"Appliance.Control.ToggleX","method":"SETACK","payloadVersion":1,"from":"/appliance/2003060100781125188848e1e9186bba/publish","timestamp":1632994663,"timestampMs":32,"sign":"d1dd623d7e6a8c3d11e73583926d7737"},"payload":{}}[10]
[2021-09-30 11:37:43][DEBUG] : Cmd : - url : http://192.168.1.20/config - type : POST - body : {"header": {"from": "http://192.168.1.20/config","messageId": "a29e7834a7283ebbb340bb23587739a4","method": "GET","namespace": "Appliance.System.All","payloadVersion": 1,"sign": "0132a0838981aaaa946096065887d5fa","timestamp": 1632733420},"payload": {}} - method: GET - Exception:cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) - No Meross device @http://192.168.1.20/config