Contrôle des prises CoolCam NAS-WR01W

Bonjour,
J’ai 2 prises de cette référence, je n’arrive plus à les piloter depuis Jeedom et je ne sais vraiment pas pourquoi. De mémoire, je les avais configurées en Tuya V2 mais ça ne fonctionne plus et j’ai essayé aussi en V3.
J’ai déjà exploré les logs mais rien ne me parle, aussi avant de passer encore du temps sur le problème, si quelqu’un les utilise, aurait-il la gentillesse de partager des screenshot de ses réglages ?

appliquer la procédure de déboguage qui se trouve dans la doc

J’ai résolu une partie du problème, les jetons avaient été modifiées. Néanmoins, en protocole Tuya V3, je n’arrive pas à faire fonctionner le On/Off. Voici ce que donne le log :

[2020-12-31 07:28:10][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:28:10][DEBUG] :     Dps1|SwOnOffGet_1:1 Dps9|dps_9_T_STATE:0 Dps18|dps_18_T_STATE:0 Dps19|dps_19_T_STATE:0 Dps20|dps_20_VALUE formula:#value# #value#:2569 After:2569 Dps21|dps_21_T_STATE:1 Dps22|dps_22_VALUE formula:#value# #value#:681 After:681 Dps23|dps_23_VALUE formula:#value# #value#:33666 After:33666 Dps24|dps_24_VALUE formula:#value# #value#:21147 After:21147 Dps25|dps_25_VALUE formula:#value# #value#:984 After:984
[2020-12-31 07:28:10][DEBUG] :     No other states to update
[2020-12-31 07:28:10][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:28:10][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:28:10][DEBUG] :      Include:1
[2020-12-31 07:28:10][DEBUG] :      deviceId:610
[2020-12-31 07:28:10][DEBUG] :      found:
[2020-12-31 07:28:10][DEBUG] :      foundDev:1
[2020-12-31 07:28:10][DEBUG] :      go:3
[2020-12-31 07:28:10][DEBUG] :      cid:
[2020-12-31 07:28:10][DEBUG] :      Phase:3
[2020-12-31 07:28:10][DEBUG] :       Add dps:1
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:9
[2020-12-31 07:28:10][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_9_T_STATE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_9_T_ON
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_9_T_OFF
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:18
[2020-12-31 07:28:10][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_18_T_STATE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_18_T_ON
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_18_T_OFF
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:19
[2020-12-31 07:28:10][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_19_T_STATE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_19_T_ON
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_19_T_OFF
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:20
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_20_SLIDER
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_20_VALUE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:21
[2020-12-31 07:28:10][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_21_T_STATE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_21_T_ON
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_21_T_OFF
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:22
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_22_SLIDER
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_22_VALUE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:23
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_23_SLIDER
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_23_VALUE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:24
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_24_SLIDER
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_24_VALUE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :       Add dps:25
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_25_SLIDER
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:10][DEBUG] :        Cmd to add:dps_25_VALUE
[2020-12-31 07:28:10][DEBUG] :        exists
[2020-12-31 07:28:13][DEBUG] : Receive from:192.168.0.17 (Learning mode for:610 Name =Prise Guirlande)
[2020-12-31 07:28:13][DEBUG] :  >>    Receive after decode :{"devId":"xxx_device_id_xxx","dps":{"1":false},"t":1609396092}
[2020-12-31 07:28:13][DEBUG] :    Search Tuya or Yeelight device to update state:
[2020-12-31 07:28:13][DEBUG] :     address to find:192.168.0.17 in:192.168.0.17
[2020-12-31 07:28:13][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:28:13][DEBUG] :     Dps1|SwOnOffGet_1:
[2020-12-31 07:28:13][DEBUG] :     No other states to update
[2020-12-31 07:28:13][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:28:13][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:28:13][DEBUG] :      Include:1
[2020-12-31 07:28:13][DEBUG] :      deviceId:610
[2020-12-31 07:28:13][DEBUG] :      found:
[2020-12-31 07:28:13][DEBUG] :      foundDev:1
[2020-12-31 07:28:13][DEBUG] :      go:3
[2020-12-31 07:28:13][DEBUG] :      cid:
[2020-12-31 07:28:13][DEBUG] :      Phase:3
[2020-12-31 07:28:13][DEBUG] :       Add dps:1
[2020-12-31 07:28:13][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:28:13][DEBUG] :        exists
[2020-12-31 07:28:13][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:28:13][DEBUG] :        exists
[2020-12-31 07:28:13][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:28:13][DEBUG] :        exists
[2020-12-31 07:28:16][DEBUG] : Receive from:192.168.0.17 (Learning mode for:610 Name =Prise Guirlande)
[2020-12-31 07:28:16][DEBUG] :  >>    Receive after decode :{"devId":"xxx_device_id_xxx","dps":{"1":true},"t":1609396095}
[2020-12-31 07:28:16][DEBUG] :    Search Tuya or Yeelight device to update state:
[2020-12-31 07:28:16][DEBUG] :     address to find:192.168.0.17 in:192.168.0.17
[2020-12-31 07:28:16][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:28:16][DEBUG] :     Dps1|SwOnOffGet_1:1
[2020-12-31 07:28:16][DEBUG] :     No other states to update
[2020-12-31 07:28:16][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:28:16][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:28:16][DEBUG] :      Include:1
[2020-12-31 07:28:16][DEBUG] :      deviceId:610
[2020-12-31 07:28:16][DEBUG] :      found:
[2020-12-31 07:28:16][DEBUG] :      foundDev:1
[2020-12-31 07:28:16][DEBUG] :      go:3
[2020-12-31 07:28:16][DEBUG] :      cid:
[2020-12-31 07:28:16][DEBUG] :      Phase:3
[2020-12-31 07:28:16][DEBUG] :       Add dps:1
[2020-12-31 07:28:16][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:28:16][DEBUG] :        exists
[2020-12-31 07:28:16][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:28:16][DEBUG] :        exists
[2020-12-31 07:28:16][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:28:16][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] : << Update state of: Prise Guirlande @192.168.0.17
[2020-12-31 07:28:31][DEBUG] :     Cmd to 192.168.0.17 - Try:192.168.0.17  6668 - Connect OK!
[2020-12-31 07:28:31][DEBUG] :     Out:-9
[2020-12-31 07:28:31][DEBUG] : Receive from:192.168.0.17 (Learning mode for:610 Name =Prise Guirlande)
[2020-12-31 07:28:31][DEBUG] :  >>    Receive after decode :{"devId":"xxx_device_id_xxx","dps":{"1":true,"9":0,"18":0,"19":0,"20":2569,"21":1,"22":681,"23":33666,"24":21147,"25":984}}
[2020-12-31 07:28:31][DEBUG] :    Search Tuya or Yeelight device to update state:
[2020-12-31 07:28:31][DEBUG] :     address to find:192.168.0.17 in:192.168.0.17
[2020-12-31 07:28:31][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:28:31][DEBUG] :     Dps1|SwOnOffGet_1:1 Dps9|dps_9_T_STATE:0 Dps18|dps_18_T_STATE:0 Dps19|dps_19_T_STATE:0 Dps20|dps_20_VALUE formula:#value# #value#:2569 After:2569 Dps21|dps_21_T_STATE:1 Dps22|dps_22_VALUE formula:#value# #value#:681 After:681 Dps23|dps_23_VALUE formula:#value# #value#:33666 After:33666 Dps24|dps_24_VALUE formula:#value# #value#:21147 After:21147 Dps25|dps_25_VALUE formula:#value# #value#:984 After:984
[2020-12-31 07:28:31][DEBUG] :     No other states to update
[2020-12-31 07:28:31][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:28:31][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:28:31][DEBUG] :      Include:1
[2020-12-31 07:28:31][DEBUG] :      deviceId:610
[2020-12-31 07:28:31][DEBUG] :      found:
[2020-12-31 07:28:31][DEBUG] :      foundDev:1
[2020-12-31 07:28:31][DEBUG] :      go:3
[2020-12-31 07:28:31][DEBUG] :      cid:
[2020-12-31 07:28:31][DEBUG] :      Phase:3
[2020-12-31 07:28:31][DEBUG] :       Add dps:1
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:9
[2020-12-31 07:28:31][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_9_T_STATE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_9_T_ON
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_9_T_OFF
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:18
[2020-12-31 07:28:31][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_18_T_STATE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_18_T_ON
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_18_T_OFF
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:19
[2020-12-31 07:28:31][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_19_T_STATE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_19_T_ON
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_19_T_OFF
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:20
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_20_SLIDER
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_20_VALUE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:21
[2020-12-31 07:28:31][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_21_T_STATE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_21_T_ON
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_21_T_OFF
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:22
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_22_SLIDER
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_22_VALUE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:23
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_23_SLIDER
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_23_VALUE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:24
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_24_SLIDER
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_24_VALUE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :       Add dps:25
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_25_SLIDER
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :        Cmd to add:dps_25_VALUE
[2020-12-31 07:28:31][DEBUG] :        exists
[2020-12-31 07:28:31][DEBUG] :   eqlogic:Prise Guirlande
[2020-12-31 07:28:31][DEBUG] :   can:3
[2020-12-31 07:28:31][DEBUG] :   class:
[2020-12-31 07:28:31][DEBUG] :   wl:TuyaCustom_V2
[2020-12-31 07:28:31][DEBUG] :   eqlogic:Prise 4
[2020-12-31 07:28:31][DEBUG] :   can:1
[2020-12-31 07:28:31][DEBUG] :   class:
[2020-12-31 07:28:31][DEBUG] :   wl:TuyaCustom_V2
[2020-12-31 07:28:31][DEBUG] :   eqlogic:Prise 6
[2020-12-31 07:28:31][DEBUG] :   can:
[2020-12-31 07:28:31][DEBUG] :   class:
[2020-12-31 07:28:31][DEBUG] :   wl:TuyaCustom_V2
[2020-12-31 07:28:31][DEBUG] :   eqlogic:Prise Ecran Droit
[2020-12-31 07:28:31][DEBUG] :   can:
[2020-12-31 07:28:31][DEBUG] :   class:
[2020-12-31 07:28:31][DEBUG] :   wl:TuyaCustom_V2
[2020-12-31 07:28:31][DEBUG] :   eqlogic:Prise Ecran Gauche
[2020-12-31 07:28:31][DEBUG] :   can:3
[2020-12-31 07:28:31][DEBUG] :   class:
[2020-12-31 07:28:31][DEBUG] :   wl:Tuya_SW_C_V2
[2020-12-31 07:28:31][DEBUG] :     >>>>tab:array(4) {   [0]=>   int(3)   [1]=>   string(1) "1"   [2]=>   string(0) ""   [3]=>   string(0) "" } 
[2020-12-31 07:28:31][DEBUG] :        found channnel:2
[2020-12-31 07:28:31][DEBUG] : >>>>Daemon Started
[2020-12-31 07:28:31][DEBUG] :    Memory used :8457 ko 424 o 
[2020-12-31 07:28:31][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2020-12-31 07:28:31][DEBUG] : *Prise Guirlande - TuyaCustom_V2 @192.168.0.17 - c:2*
[2020-12-31 07:28:31][DEBUG] :     Key not set Socket created  @192.168.0.17 ADD New device @192.168.0.17 channel:2key:0 @192.168.0.17 c:2 d:0
[2020-12-31 07:28:31][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> End <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2020-12-31 07:28:31][DEBUG] :   Memory used :8991 ko 960 o 
[2020-12-31 07:28:31][DEBUG] : << Update state of: Prise Guirlande @192.168.0.17
[2020-12-31 07:28:31][DEBUG] :     Cmd to 192.168.0.17 - Try:192.168.0.17  6668 - Connect OK!
[2020-12-31 07:28:31][DEBUG] :     Out:-9
[2020-12-31 07:28:31][DEBUG] : Receive from:192.168.0.17 (Learning mode for:610 Name =Prise Guirlande)
[2020-12-31 07:28:31][DEBUG] :  >>    Receive after decode :{"devId":"xxx_device_id_xxx","dps":{"1":true,"9":0,"18":0,"19":0,"20":2569,"21":1,"22":681,"23":33666,"24":21147,"25":984}}
[2020-12-31 07:28:31][DEBUG] :    Search Tuya or Yeelight device to update state:
[2020-12-31 07:28:31][DEBUG] :     address to find:192.168.0.17 in:192.168.0.161
[2020-12-31 07:28:31][DEBUG] :     address to find:192.168.0.17 in:192.168.0.173
[2020-12-31 07:28:31][DEBUG] :     address to find:192.168.0.17 in:192.168.0.42
[2020-12-31 07:28:31][DEBUG] :     address to find:192.168.0.17 in:192.168.0.47
[2020-12-31 07:28:31][DEBUG] :     address to find:192.168.0.17 in:192.168.0.17
[2020-12-31 07:28:31][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:28:32][DEBUG] :     Dps1|SwOnOffGet_1:1 Dps9|dps_9_T_STATE:0 Dps18|dps_18_T_STATE:0 Dps19|dps_19_T_STATE:0 Dps20|dps_20_VALUE formula:#value# #value#:2569 After:2569 Dps21|dps_21_T_STATE:1 Dps22|dps_22_VALUE formula:#value# #value#:681 After:681 Dps23|dps_23_VALUE formula:#value# #value#:33666 After:33666 Dps24|dps_24_VALUE formula:#value# #value#:21147 After:21147 Dps25|dps_25_VALUE formula:#value# #value#:984 After:984
[2020-12-31 07:28:32][DEBUG] :     No other states to update
[2020-12-31 07:28:32][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:28:32][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:28:32][DEBUG] :      Include:1
[2020-12-31 07:28:32][DEBUG] :      deviceId:610
[2020-12-31 07:28:32][DEBUG] :      found:
[2020-12-31 07:28:32][DEBUG] :      foundDev:1
[2020-12-31 07:28:32][DEBUG] :      go:3
[2020-12-31 07:28:32][DEBUG] :      cid:
[2020-12-31 07:28:32][DEBUG] :      Phase:3
[2020-12-31 07:28:32][DEBUG] :       Add dps:1
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:9
[2020-12-31 07:28:32][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_9_T_STATE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_9_T_ON
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_9_T_OFF
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:18
[2020-12-31 07:28:32][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_18_T_STATE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_18_T_ON
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_18_T_OFF
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:19
[2020-12-31 07:28:32][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_19_T_STATE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_19_T_ON
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_19_T_OFF
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:20
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_20_SLIDER
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_20_VALUE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:21
[2020-12-31 07:28:32][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_21_T_STATE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_21_T_ON
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_21_T_OFF
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:22
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_22_SLIDER
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_22_VALUE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:23
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_23_SLIDER
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_23_VALUE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:24
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_24_SLIDER
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_24_VALUE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :       Add dps:25
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_25_SLIDER
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:32][DEBUG] :        Cmd to add:dps_25_VALUE
[2020-12-31 07:28:32][DEBUG] :        exists
[2020-12-31 07:28:47][DEBUG] :     Cmd to 127.0.0.1: {"t":"1609396127","devId":"xxx_device_id_xxx","dps":{"20":0},"uid":""} - Try:127.0.0.1  6900 - Connect OK!
[2020-12-31 07:28:52][DEBUG] : << Update state of: Prise Guirlande @192.168.0.17
[2020-12-31 07:28:52][DEBUG] :     Cmd to 192.168.0.17 - Try:192.168.0.17  6668 - Connect OK!
[2020-12-31 07:28:52][DEBUG] :     Out:-9
[2020-12-31 07:28:52][DEBUG] : Receive from:192.168.0.17 (Learning mode for:610 Name =Prise Guirlande)
[2020-12-31 07:28:52][DEBUG] :  >>    Receive after decode :{"devId":"xxx_device_id_xxx","dps":{"1":true,"9":0,"18":0,"19":0,"20":2569,"21":1,"22":681,"23":33666,"24":21147,"25":984}}
[2020-12-31 07:28:52][DEBUG] :    Search Tuya or Yeelight device to update state:
[2020-12-31 07:28:52][DEBUG] :     address to find:192.168.0.17 in:192.168.0.161
[2020-12-31 07:28:52][DEBUG] :     address to find:192.168.0.17 in:192.168.0.173
[2020-12-31 07:28:52][DEBUG] :     address to find:192.168.0.17 in:192.168.0.42
[2020-12-31 07:28:52][DEBUG] :     address to find:192.168.0.17 in:192.168.0.47
[2020-12-31 07:28:52][DEBUG] :     address to find:192.168.0.17 in:192.168.0.17
[2020-12-31 07:28:52][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:28:52][DEBUG] :     Dps1|SwOnOffGet_1:1 Dps9|dps_9_T_STATE:0 Dps18|dps_18_T_STATE:0 Dps19|dps_19_T_STATE:0 Dps20|dps_20_VALUE formula:#value# #value#:2569 After:2569 Dps21|dps_21_T_STATE:1 Dps22|dps_22_VALUE formula:#value# #value#:681 After:681 Dps23|dps_23_VALUE formula:#value# #value#:33666 After:33666 Dps24|dps_24_VALUE formula:#value# #value#:21147 After:21147 Dps25|dps_25_VALUE formula:#value# #value#:984 After:984
[2020-12-31 07:28:52][DEBUG] :     No other states to update
[2020-12-31 07:28:52][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:28:52][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:28:52][DEBUG] :      Include:1
[2020-12-31 07:28:52][DEBUG] :      deviceId:610
[2020-12-31 07:28:52][DEBUG] :      found:
[2020-12-31 07:28:52][DEBUG] :      foundDev:1
[2020-12-31 07:28:52][DEBUG] :      go:3
[2020-12-31 07:28:52][DEBUG] :      cid:
[2020-12-31 07:28:52][DEBUG] :      Phase:3
[2020-12-31 07:28:52][DEBUG] :       Add dps:1
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:9
[2020-12-31 07:28:52][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_9_T_STATE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_9_T_ON
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_9_T_OFF
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:18
[2020-12-31 07:28:52][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_18_T_STATE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_18_T_ON
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_18_T_OFF
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:19
[2020-12-31 07:28:52][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_19_T_STATE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_19_T_ON
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_19_T_OFF
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:20
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_20_SLIDER
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_20_VALUE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:21
[2020-12-31 07:28:52][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_21_T_STATE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_21_T_ON
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_21_T_OFF
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:22
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_22_SLIDER
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_22_VALUE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:23
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_23_SLIDER
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_23_VALUE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:24
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_24_SLIDER
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_24_VALUE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :       Add dps:25
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_25_SLIDER
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:28:52][DEBUG] :        Cmd to add:dps_25_VALUE
[2020-12-31 07:28:52][DEBUG] :        exists
[2020-12-31 07:29:03][DEBUG] :     Cmd to 127.0.0.1: {"t":"1609396143","devId":"xxx_device_id_xxx","dps":{"18":0},"uid":""} - Try:127.0.0.1  6900 - Connect OK!
[2020-12-31 07:29:07][DEBUG] :     Cmd to 127.0.0.1: {"t":"1609396147","devId":"xxx_device_id_xxx","dps":{"18":1},"uid":""} - Try:127.0.0.1  6900 - Connect OK!
[2020-12-31 07:29:13][DEBUG] : << Update state of: Prise Guirlande @192.168.0.17
[2020-12-31 07:29:13][DEBUG] :     Cmd to 192.168.0.17 - Try:192.168.0.17  6668 - Connect OK!
[2020-12-31 07:29:13][DEBUG] :     Out:-9
[2020-12-31 07:29:13][DEBUG] : Receive from:192.168.0.17 (Learning mode for:610 Name =Prise Guirlande)
[2020-12-31 07:29:13][DEBUG] :  >>    Receive after decode :{"devId":"xxx_device_id_xxx","dps":{"1":true,"9":0,"18":0,"19":0,"20":2569,"21":1,"22":681,"23":33666,"24":21147,"25":984}}
[2020-12-31 07:29:13][DEBUG] :    Search Tuya or Yeelight device to update state:
[2020-12-31 07:29:13][DEBUG] :     address to find:192.168.0.17 in:192.168.0.161
[2020-12-31 07:29:13][DEBUG] :     address to find:192.168.0.17 in:192.168.0.173
[2020-12-31 07:29:13][DEBUG] :     address to find:192.168.0.17 in:192.168.0.42
[2020-12-31 07:29:13][DEBUG] :     address to find:192.168.0.17 in:192.168.0.47
[2020-12-31 07:29:13][DEBUG] :     address to find:192.168.0.17 in:192.168.0.17
[2020-12-31 07:29:13][DEBUG] :    found Tuya or Yeelight :Prise Guirlande
[2020-12-31 07:29:13][DEBUG] :     Dps1|SwOnOffGet_1:1 Dps9|dps_9_T_STATE:0 Dps18|dps_18_T_STATE:0 Dps19|dps_19_T_STATE:0 Dps20|dps_20_VALUE formula:#value# #value#:2569 After:2569 Dps21|dps_21_T_STATE:1 Dps22|dps_22_VALUE formula:#value# #value#:681 After:681 Dps23|dps_23_VALUE formula:#value# #value#:33666 After:33666 Dps24|dps_24_VALUE formula:#value# #value#:21147 After:21147 Dps25|dps_25_VALUE formula:#value# #value#:984 After:984
[2020-12-31 07:29:13][DEBUG] :     No other states to update
[2020-12-31 07:29:13][DEBUG] :    device found to learn id: id to find:610
[2020-12-31 07:29:13][DEBUG] :    Device exists : add new cmd in learning mode
[2020-12-31 07:29:13][DEBUG] :      Include:1
[2020-12-31 07:29:13][DEBUG] :      deviceId:610
[2020-12-31 07:29:13][DEBUG] :      found:
[2020-12-31 07:29:13][DEBUG] :      foundDev:1
[2020-12-31 07:29:13][DEBUG] :      go:3
[2020-12-31 07:29:13][DEBUG] :      cid:
[2020-12-31 07:29:13][DEBUG] :      Phase:3
[2020-12-31 07:29:13][DEBUG] :       Add dps:1
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_1_STATE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_1_ON
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_1_OFF
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:9
[2020-12-31 07:29:13][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_9_T_STATE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_9_T_ON
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_9_T_OFF
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:18
[2020-12-31 07:29:13][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_18_T_STATE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_18_T_ON
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_18_T_OFF
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:19
[2020-12-31 07:29:13][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_19_T_STATE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_19_T_ON
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_19_T_OFF
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:20
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_20_SLIDER
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_20_VALUE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:21
[2020-12-31 07:29:13][DEBUG] :        0 or 1 detected: create a boolean 
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_21_T_STATE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_21_T_ON
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_21_T_OFF
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:22
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_22_SLIDER
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_22_VALUE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:23
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_23_SLIDER
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_23_VALUE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:24
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_24_SLIDER
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_24_VALUE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :       Add dps:25
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_25_SLIDER
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :        Cmd to add:dps_25_VALUE
[2020-12-31 07:29:13][DEBUG] :        exists
[2020-12-31 07:29:13][DEBUG] :     Cmd to 127.0.0.1: {"t":"1609396153","devId":"xxx_device_id_xxx","dps":{"1":false},"uid":""} - Try:127.0.0.1  6900 - Connect OK!
[2020-12-31 07:29:16][DEBUG] :     Cmd to 127.0.0.1: {"t":"1609396156","devId":"xxx_device_id_xxx","dps":{"1":true},"uid":""} - Try:127.0.0.1  6900 - Connect OK!

Pour retrouver les jetons, j’ai utilisé cet outil, je n’ai pas s’il a déjà été cité, mais je remets le lien si ça peut aider Tinytuya
Il y a d’ailleurs des infos intéressantes sur les infos des Dp ID vers la fin de la page. Et si quelqu’un sait me dire à quoi correspondent les voltage coe, Current coe et power coe, je lui en serais reconnaissant.

que le ON/OFF ne marche pas ?
Sinon tu as trop de logs avec le mode inclusion.
Tu regardes ce que retourne la prise
tu regardes ce qu’envoie le plugin
c’est du genre 0/1 à la place de false/true ou versement.

J’ai progressé avec ces prises mais avec pas mal de galères. Pour l’instant, cela semble ok.
Dans les trucs que j’ai vus :

  • les champs jeton et identifiant disparaissent de l’onglet équipement suivant la manière dont on navigue dans les menus.
  • la valeur de l’intensité est divisée par 1000 alors qu’elle est déjà renvoyée en mA
  • les paramètres de l’énergie sont ignorés si on les mets lors de la création (20;18;19)
  • si on change le type de périphérique de tuya V2 à V3, j’ai l’impression qu’il recrée les commandes mais les On/Off sont ko, il faut les passer en true or false. Mais en créant l’équipement from scratch le 1 et 0 sont ok.
    Le dernier point qu’il me reste « à régler » serait de comprendre ce qui se cache derrière les valeurs 22 à 25, je pourrai me coucher moins ignorant ce soir image
  1. je sais difficile à trouver pourquoi
  2. passer en custom (la plupart sont en mA)
  3. je regarde ça
  4. oui en V2 c’est plutôt 0/1 et en V3 plutôt true/false. Impossible de la savoir sinon passer en mode apprentissage et là c’est OK
  5. coe = coefficient

pas trouvé de souci.
J’ai mis des logs dans la beta peux tu faire un test ?

J’ai passé plusieurs heures pour stabiliser tout ça… Là, je vais vérifier que ça tient sur la durée.
J’étais en plugin beta sur ma prod et ma VM de test, mais je suis revenu en stable sur les 2. Si je trouve encore du temps, je ne toucherai qu’à la VM de test pour le pb du 20;18;19.
Je me suis fait certainement avoir par inattention sur les modifications de périphériques. Dans le tooltip, tu écris « en cas de modification, supprimer toutes les commandes et sauvegarder 2 fois ». Si c’est vraiment critique, je suggère de mettre cela dans le label du champ et non dans le tooltip. Idéalement, il faudrait que le code de la page détecte ce changement et fasse le job lui même, quitte à afficher un warning précisant que les changements de commandes peuvent avoir des effets de bords sur d’autres objets de Jeedom.
Merci pour l’explication du coe, ils auraient pu écrire coef comme nous en France :upside_down_face:

C’est bien le cas, tout changement de type ou de sous type provoque la suppression de toutes les commandes.
A la première sauvegarde tout est supprimé à la deuxième les commandes sont créées. Il ne peut pas y avoir de mélange.

Bon, ce n’est pas très stable. Je me suis arrété en fin de matinée, et en reprenant plus tard, c’est un peu en vrac. J’ai vu un truc qui met la zizanie, si on va dans


Je me suis retrouvé avec des On_1 et Off_1 qui sont devenenus des On_1_1 et Off_1_1 après 1er clic sur enregistrer pour dire qu’on passe en disposition Tableau. Et même ensuite, après avoir disposé les champs dans le tableau et validé, on obtient ceci :
, donc des On_1_1_1, etc…
Et quand on retourne dans les commandes, on voit que les on off ne sont plus des booleéns

Là, j’ai fait ma capture un peu tard, j’ai d’abord changé les étiquettes des Etat,on et off 1_1_1 en _1 , désolé, j’aurais aimé faire le screenshot avant.
Et après avoir remplacé les 200 et 201 par true or false, ça fonctionne à nouveau.

en tous cas c’est pas le plugin qui a mis 200 et 201.
en plus pour qu’il ajoute des choses il faut qu’il soit en inclusion.
pour corriger il faut que je puisse reproduire le souci

Ce n’est pas moi non plus !
Et en prime, j’ai perdu le power et le current alors qu’ils sont toujours ok à 18 et 19


Pour reproduire le souci, je pense que j’ai bien décrit la méthode… J’espère

pour que ça change il faut mettre en place l’apprentissage. Ce dernier peut recréer des commandes en trop avec le même dps que ceux mis manuellement.
Pour une prise c’est pas compliqué :
effacer tout
lancer l’apprentissage
faire le tri
ne plus utiliser l’apprentissage

Tiens, les données d’intensité et de conso remontent à nouveau, je n’ai rien touché entre temps :upside_down_face:
Pour l’histoire de l’apprentissage, il est désactivé
image
J’ai viré les commandes Etat_1,On_1 et Off_1 et elles sont revenues !

  1. Pourquoi sont-elles revenues si apprentissage est Off ?
  2. Tu fais un test avant de recréer une commande manquante ? Je vois qu’il a recréé des commandes avec des 1 et 0 alors que les existantes sont en true et false.

Il me faut les logs dans ce cas s’il y a création de commandes hors apprentissage.

Je veux bien t’envoyer un log mais il ne sera pas user friendly. Tu vas y trouver mes 8 périphériques. Et je suis pas certain que tu y trouves tout, on dirait qu’il ne contient que les dernières minutes en mode glissant, il purge les lignes + vielles que 3 min ! C’est quoi cette bizarrerie ? On dirait qu’il purge au nombre de lignes, je viens de contrôler dans ma VM de test, j’ai des lignes plus anciennes mais elles ont moins de 120 minutes.

ca se règle dans les paramètres de jeedom le nbre de lignes

pour _1_1_1 et O/1 true/false
impossible de reproduire le problème et je ne vois pas comment le plugin peut le faire, wait and see.

Bonjour Bernard.
Meilleurs Voeux pour commencer ! Que cette nouvelle année soit meilleure que la précédente.
Je viens de voir ta réponse pour le nbre de lignes que maintenant, je l’ai triplé. L’équipe Jeedom devrait penser à mettre une seconde constante quand l’utilisateur active le debug, les 500 lignes par défaut sont vite atteintes et on n’a pas nécessairement besoin de mettre tous les logs à la même quantité de lignes :frowning:
Bon, ce matin, je me suis remis sur ma VM de test, je ne suis plus avec les prises Coolcam mais avec une MP 4 prises + usb + conso. Globalement, les pbs sont identiques. J’étais arrivé à la faire fonctionner dans ma version de Prod puis je l’ai perdue sur les On/Off mais je crois avoir compris comment.
Tout d’abord, la méthode :
Je crée le device from scratch en précisant les valeurs énergie à 104;102;103 (ce sont les bonnes pour cette MP). Ils seront ignorés à la création et d’autres dp seront identifiés avec les labels power, current etc… Pour autant, comme j’ai activé l’auto-apprentissage, les bons dp seront découverts.
Donc, après avoir créé l’objet, je veux arrêter l’apprentissage et là, plus d’icone :frowning:


Une petite balade dans les menus pour reloader la page et elle est revenue.
J’affiche un max de commandes et je les teste ; tous les On/Off sont ok.
J’entreprends de virer les commandes et infos inutiles comme les dps_10x_VALUE et dps_10x_SLIDER

Je valide et retester les On/off → Ko !
Je relance l’apprentissage, les dps_10x_VALUE et dps_10x_SLIDER sont récréés et les On/off refonctionnent :frowning:
Je n’y perds pas mon latin, je l’ai déjà perdu depuis longtemps, mais en tout cas, je ne comprends pas tout ce qu’il se passe.
Et pourquoi sont créés des dps_x_ON (true) , des dps_x_OFF (false), des dps_x_STATE et aussi des On_x_x (en value 200) , Off_x_x (en value 201) , ça doublonne les commandes et alourdi le widget.

Il y a trop de soucis d’un coup
les 200/201 je ne sais pas et je ne sais pas sur quel dps
Tu dis partir d’une config from the scratch , tu parts bien d’une config custom ?
et bonne année !