En copiant les premières traces je me suis rendu compte que les credentials avaient été vidés. Je ne sais pas quand ça s’est passé, peut-être au changement de sous-type ?
Bref je les ai remis et là le premier On a fonctionné, mais pas le Off. Je suis allé éteindre la prise à la main, mais après plus aucun On ou Off n’est passé.
Je vais mettre plus de tentatives une idée du délai entre chacune ?
Voilà les traces:
[2021-09-30 11:09:46][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:09:46][DEBUG] : Receive:{"header":{"messageId":"a29e7834a7283ebbb340bb23587739a4","namespace":"Appliance.Control.ToggleX","method":"SETACK","payloadVersion":1,"from":"/appliance/2003060100781125188848e1e9186bba/publish","timestamp":1632992986,"timestampMs":175,"sign":"4ebad5235612fb434ee1290fe0604cd7"},"payload":{}}[10]
[2021-09-30 11:09:46][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:09:49][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 - 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:12:22][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 - 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:12:41][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 - 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:13:03][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 - 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