Ce qui est bizarre c'est que quand j'appuie sur ON ou OFF, la prise s'éteint et je perd la connexion avec.
Voici mes logs :
Code : Tout sélectionner
[2019-04-06 16:46:08][INFO] : !!************************** Start cron update WifilightV2 *******************************!!
[2019-04-06 16:46:08][INFO] : <<<<<<< Device: Prise Konyks - Class: Tuya_SW_5_C>>>>>>>
[2019-04-06 16:46:08][DEBUG] : Group:<<
[2019-04-06 16:46:08][DEBUG] : Group!!!!!!!!!!!:<<
[2019-04-06 16:46:08][DEBUG] : ActiveGroup:
[2019-04-06 16:46:08][DEBUG] : Commande : {"gwId":"3717033884f3ebbcc1df","devId":"3717033884f3ebbcc1df"}
[2019-04-06 16:46:08][DEBUG] : try to connect to : 192.168.1.37 6668
[2019-04-06 16:46:08][DEBUG] : Connect OK
[2019-04-06 16:46:08][DEBUG] : Return Out size: 107
[2019-04-06 16:46:08][DEBUG] : return OK :0
[2019-04-06 16:46:08][DEBUG] : length:91
[2019-04-06 16:46:08][DEBUG] : len of decoded returned mess:79
[2019-04-06 16:46:08][DEBUG] : return decoded : {"devId":"3717033884f3ebbcc1df","dps":{"1":true,"2":0,"4":85,"5":114,"6":2309}}
[2019-04-06 16:46:08][DEBUG] : Read Json OK
[2019-04-06 16:46:08][DEBUG] : Not null:
[2019-04-06 16:46:08][DEBUG] : Current mA:8.5
[2019-04-06 16:46:08][DEBUG] : Power W:11.4
[2019-04-06 16:46:08][DEBUG] : Voltage V:230.9
[2019-04-06 16:46:08][DEBUG] : Connected:-1
[2019-04-06 16:46:08][INFO] : !!************************** End cron update WifilightV2 *******************************!!
[2019-04-06 16:46:32][DEBUG] : Commande : {"t":"1554561992","devId":"3717033884f3ebbcc1df","dps":{"0":true},"uid":""}
[2019-04-06 16:46:32][DEBUG] : try to connect to : 192.168.1.37 6668
[2019-04-06 16:46:32][DEBUG] : Connect OK
[2019-04-06 16:46:32][DEBUG] : Return Out size: 0
[2019-04-06 16:46:32][DEBUG] : return empty
[2019-04-06 16:46:32][DEBUG] : ActiveGroup:
[2019-04-06 16:46:32][DEBUG] : Commande : {"gwId":"3717033884f3ebbcc1df","devId":"3717033884f3ebbcc1df"}
[2019-04-06 16:46:32][DEBUG] : try to connect to : 192.168.1.37 6668
[2019-04-06 16:46:33][DEBUG] : Time out
[2019-04-06 16:46:33][DEBUG] : socket_connect() failed. Reason: () Operation already in progress