Bonjour,
J’essaie d’installer ma Sonoff S26 avec le plugin mais je rencontre quelques problèmes.
Je pense avoir bien suivi les étapes. j’ai pu récupérer le device ID et API Key avec l’adresse htp://10.10.7.1/device.
Je créer l’équipement avec le plugin mais quand je teste et que je clic sur la commande « ON » j’ai l’impression que la prise redémarre.
Ci dessous les logs:
merci d’avance pour l’aide.
[2020-01-07 20:58:59][DEBUG] : $$$$$$ heartbeat to keep connection $$$$$
[2020-01-07 20:58:59][DEBUG] : $$$$$$$$$$$$$$$$$$ End $$$$$$$$$$$$$$$$$$
[2020-01-07 20:59:04][DEBUG] : ON
[2020-01-07 20:59:04][DEBUG] : Cmd : {"switch":"on"}
[2020-01-07 20:59:04][DEBUG] : url : http://192.168.1.49:8081/zeroconf/switch
[2020-01-07 20:59:04][DEBUG] : data : {"sequence":"156958807731","deviceid":"100065313f","selfApikey":"00000000-0000-0000-0000-000000000000","iv":"OTA0ODgxODA0OTIyNzgwMw==","encrypt":true,"data":"Hex7H1R0KsDdz4JUPxEmtg=="}
[2020-01-07 20:59:14][DEBUG] : Exception:cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received
[2020-01-07 20:59:14][DEBUG] : No Ewelink device @http://192.168.1.49:8081/zeroconf/switch
[2020-01-07 20:59:14][DEBUG] : Not connected
[2020-01-07 20:59:15][DEBUG] : $$$$$$ heartbeat to keep connection $$$$$
[2020-01-07 20:59:15][DEBUG] : $$$$$$$$$$$$$$$$$$ End $$$$$$$$$$$$$$$$$$
[2020-01-07 20:59:20][DEBUG] : x:0 qtype:12
[2020-01-07 20:59:20][DEBUG] : name:eWeLink_100065313f._ewelink._tcp.local
[2020-01-07 20:59:20][DEBUG] : x:1 qtype:16
[2020-01-07 20:59:20][DEBUG] : x:2 qtype:33
[2020-01-07 20:59:20][DEBUG] : x:3 qtype:1
[2020-01-07 20:59:20][DEBUG] : packet is --- port:8081 ip:192.168.1.49 data:{"txtvers":"1","id":"100065313f","type":"plug","apivers":"1","seq":"1","encrypt":"true","iv":"NzEwNjYwMDcwMTgxNTc0Mg==","data1":"4BEjXLz78FDw/mz95mV/hVEabojn4aMZ0PLe23pr1NSa5Ae6+HFdLMaGsUZNA4SpgcytxSHEE339MaY/h3+zq86vnO2OJmdDqYJeBxVQT7s="}
[2020-01-07 20:59:20][DEBUG] : Input mess : 34 42 45 6a 58 4c 7a 37 38 46 44 77 2f 6d 7a 39 35 6d 56 2f 68 56 45 61 62 6f 6a 6e 34 61 4d 5a 30 50 4c 65 32 33 70 72 31 4e 53 61 35 41 65 36 2b 48 46 64 4c 4d 61 47 73 55 5a 4e 41 34 53 70 67 63 79 74 78 53 48 45 45 33 33 39 4d 61 59 2f 68 33 2b 7a 71 38 36 76 6e 4f 32 4f 4a 6d 64 44 71 59 4a 65 42 78 56 51 54 37 73 3d
[2020-01-07 20:59:20][DEBUG] : iv : NzEwNjYwMDcwMTgxNTc0Mg==
[2020-01-07 20:59:20][DEBUG] : Incorrect amount of PKCS#7 padding for blocksize
[2020-01-07 20:59:20][DEBUG] : Bad message
[2020-01-07 20:59:20][DEBUG] : Data not decoded
[2020-01-07 20:59:20][DEBUG] : %%End mDNS packet
[2020-01-07 20:59:21][DEBUG] : x:0 qtype:12
[2020-01-07 20:59:21][DEBUG] : name:eWeLink_100065313f._ewelink._tcp.local
[2020-01-07 20:59:21][DEBUG] : x:1 qtype:16
[2020-01-07 20:59:21][DEBUG] : x:2 qtype:33
[2020-01-07 20:59:21][DEBUG] : x:3 qtype:1
[2020-01-07 20:59:21][DEBUG] : packet is --- port:8081 ip:192.168.1.49 data:{"txtvers":"1","id":"100065313f","type":"plug","apivers":"1","seq":"1","encrypt":"true","iv":"NzEwNjYwMDcwMTgxNTc0Mg==","data1":"4BEjXLz78FDw/mz95mV/hVEabojn4aMZ0PLe23pr1NSa5Ae6+HFdLMaGsUZNA4SpgcytxSHEE339MaY/h3+zq86vnO2OJmdDqYJeBxVQT7s="}
[2020-01-07 20:59:21][DEBUG] : Input mess : 34 42 45 6a 58 4c 7a 37 38 46 44 77 2f 6d 7a 39 35 6d 56 2f 68 56 45 61 62 6f 6a 6e 34 61 4d 5a 30 50 4c 65 32 33 70 72 31 4e 53 61 35 41 65 36 2b 48 46 64 4c 4d 61 47 73 55 5a 4e 41 34 53 70 67 63 79 74 78 53 48 45 45 33 33 39 4d 61 59 2f 68 33 2b 7a 71 38 36 76 6e 4f 32 4f 4a 6d 64 44 71 59 4a 65 42 78 56 51 54 37 73 3d
[2020-01-07 20:59:21][DEBUG] : iv : NzEwNjYwMDcwMTgxNTc0Mg==
[2020-01-07 20:59:21][DEBUG] : Incorrect amount of PKCS#7 padding for blocksize
[2020-01-07 20:59:21][DEBUG] : Bad message
[2020-01-07 20:59:21][DEBUG] : Data not decoded
[2020-01-07 20:59:21][DEBUG] : %%End mDNS packet
[2020-01-07 20:59:21][DEBUG] : x:0 qtype:12
[2020-01-07 20:59:21][DEBUG] : name:eWeLink_100065313f._ewelink._tcp.local
[2020-01-07 20:59:21][DEBUG] : x:1 qtype:16
[2020-01-07 20:59:21][DEBUG] : x:2 qtype:33
[2020-01-07 20:59:21][DEBUG] : x:3 qtype:1
[2020-01-07 20:59:21][DEBUG] : packet is --- port:8081 ip:192.168.1.49 data:{"txtvers":"1","id":"100065313f","type":"plug","apivers":"1","seq":"1","encrypt":"true","iv":"NzEwNjYwMDcwMTgxNTc0Mg==","data1":"4BEjXLz78FDw/mz95mV/hVEabojn4aMZ0PLe23pr1NSa5Ae6+HFdLMaGsUZNA4SpgcytxSHEE339MaY/h3+zq86vnO2OJmdDqYJeBxVQT7s="}
[2020-01-07 20:59:21][DEBUG] : Input mess : 34 42 45 6a 58 4c 7a 37 38 46 44 77 2f 6d 7a 39 35 6d 56 2f 68 56 45 61 62 6f 6a 6e 34 61 4d 5a 30 50 4c 65 32 33 70 72 31 4e 53 61 35 41 65 36 2b 48 46 64 4c 4d 61 47 73 55 5a 4e 41 34 53 70 67 63 79 74 78 53 48 45 45 33 33 39 4d 61 59 2f 68 33 2b 7a 71 38 36 76 6e 4f 32 4f 4a 6d 64 44 71 59 4a 65 42 78 56 51 54 37 73 3d
[2020-01-07 20:59:21][DEBUG] : iv : NzEwNjYwMDcwMTgxNTc0Mg==
[2020-01-07 20:59:21][DEBUG] : Incorrect amount of PKCS#7 padding for blocksize
[2020-01-07 20:59:21][DEBUG] : Bad message
[2020-01-07 20:59:21][DEBUG] : Data not decoded
[2020-01-07 20:59:21][DEBUG] : %%End mDNS packet
[2020-01-07 20:59:22][DEBUG] : x:0 qtype:12
[2020-01-07 20:59:22][DEBUG] : name:eWeLink_100065313f._ewelink._tcp.local
[2020-01-07 20:59:22][DEBUG] : x:1 qtype:16
[2020-01-07 20:59:22][DEBUG] : x:2 qtype:33
[2020-01-07 20:59:22][DEBUG] : x:3 qtype:1
[2020-01-07 20:59:22][DEBUG] : packet is --- port:8081 ip:192.168.1.49 data:{"txtvers":"1","id":"100065313f","type":"plug","apivers":"1","seq":"1","encrypt":"true","iv":"NzEwNjYwMDcwMTgxNTc0Mg==","data1":"4BEjXLz78FDw/mz95mV/hVEabojn4aMZ0PLe23pr1NSa5Ae6+HFdLMaGsUZNA4SpgcytxSHEE339MaY/h3+zq86vnO2OJmdDqYJeBxVQT7s="}
[2020-01-07 20:59:22][DEBUG] : Input mess : 34 42 45 6a 58 4c 7a 37 38 46 44 77 2f 6d 7a 39 35 6d 56 2f 68 56 45 61 62 6f 6a 6e 34 61 4d 5a 30 50 4c 65 32 33 70 72 31 4e 53 61 35 41 65 36 2b 48 46 64 4c 4d 61 47 73 55 5a 4e 41 34 53 70 67 63 79 74 78 53 48 45 45 33 33 39 4d 61 59 2f 68 33 2b 7a 71 38 36 76 6e 4f 32 4f 4a 6d 64 44 71 59 4a 65 42 78 56 51 54 37 73 3d
[2020-01-07 20:59:22][DEBUG] : iv : NzEwNjYwMDcwMTgxNTc0Mg==
[2020-01-07 20:59:22][DEBUG] : Incorrect amount of PKCS#7 padding for blocksize
[2020-01-07 20:59:22][DEBUG] : Bad message
[2020-01-07 20:59:22][DEBUG] : Data not decoded
[2020-01-07 20:59:22][DEBUG] : %%End mDNS packet
[2020-01-07 20:59:31][DEBUG] : $$$$$$ heartbeat to keep connection $$$$$
[2020-01-07 20:59:31][DEBUG] : $$$$$$$$$$$$$$$$$$ End $$$$$$$$$$$$$$$$$$
[2020-01-07 20:59:41][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2020-01-07 20:59:41][DEBUG] : ****** Device listenable YeelightV2 - Class: YeeLightRGBW *****
[2020-01-07 20:59:41][DEBUG] : Device exists : test if connection is OK : 0 192.168.1.28 time:1578427059
[2020-01-07 20:59:41][DEBUG] : Commande : {"id":1,"method":"get_prop","params":["power", "bright", "ct", "rgb","hue","sat","color_mode","bg_power", "bg_bright", "bg_ct", "bg_rgb", "bg_hue","bg_sat","bg_lmode"]}
[2020-01-07 20:59:41][DEBUG] : try to connect to : 192.168.1.28 55443
[2020-01-07 20:59:41][DEBUG] : Send OK.
[2020-01-07 20:59:41][DEBUG] : return : {"id":1, "result":["off","100","4000","16711680","359","100","2","","","","","","",""]}
[2020-01-07 20:59:41][DEBUG] : Read Json OK
[2020-01-07 20:59:41][DEBUG] : Timeold:1578427059 Time:1578427181 diff:122
[2020-01-07 20:59:41][DEBUG] : ****** Device NOT listenable PriseS26 - Class: Ewelink *****
[2020-01-07 20:59:41][DEBUG] : ****** Device NOT listenable MiLight All - Class: mylightRGBW *****
[2020-01-07 20:59:41][DEBUG] : update state from device
[2020-01-07 20:59:41][DEBUG] : End State update
[2020-01-07 20:59:41][DEBUG] : ****** Device NOT listenable MiLight C1 - Class: mylightRGBW *****
[2020-01-07 20:59:41][DEBUG] : update state from device
[2020-01-07 20:59:41][DEBUG] : End State update
[2020-01-07 20:59:41][DEBUG] : ****** Device NOT listenable MiLight C2 - Class: mylightRGBW *****
[2020-01-07 20:59:41][DEBUG] : update state from device
[2020-01-07 20:59:41][DEBUG] : End State update
[2020-01-07 20:59:41][DEBUG] : ****** Device NOT listenable MiLight C3 - Class: mylightRGBW *****
[2020-01-07 20:59:41][DEBUG] : update state from device
[2020-01-07 20:59:41][DEBUG] : End State update
[2020-01-07 20:59:41][DEBUG] : Memory used :2213 ko 584 o
[2020-01-07 20:59:41][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> End <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<