Salut à tous !
Je rencontre actuellement un problème lors de l’utilisation de modules Sonoff ZBMini.
Lorsque j’appelle les commandes On/Off du module, le statut passe par 3 états au lieu d’un seul. Je m’explique : le module est sur OFF, je clique sur ON pour l’activer, et le statut passe sur ON, puis OFF, puis de nouveau ON.
Si je fais la même manipulation avec un Sonoff Basic ZBR3 par exemple, tout se passe correctement.
Je n’ai constaté ce comportement que sur le ZBMini. J’ai testé avec d’autres ZBMini pour m’assurer que le module n’était pas défectueux, et même constat.
Pour info je suis sur RPI 4 avec une version de Jeedom en 4.0.61.
J’utilise le plugin dans sa dernière version stable.
Le firmware de ma conbee II est le 26660700.
Concernant les logs, je ne sais pas lesquels seraient pertinents. Voici au moins les logs de deconz lorsque je déclenche l’action ON sur le module :
[2021-01-05 13:44:08][DEBUG] : Execute commande : lights/9/state whith parameters : {"on":true}
[2021-01-05 13:44:08][DEBUG] : 127.0.0.1:8484/api/212017FBF2/lights/9/state type : PUT
[2021-01-05 13:44:08][DEBUG] : {"00212EFFFF05DBFA":{"attr":{"id":"12","lastannounced":"2021-01-04T23:36:37Z","lastseen":"2021-01-05T12:44Z","manufacturername":"Heiman","modelid":"01MINIZB","name":"On\/Off light 12","swversion":"20200927","type":"On\/Off light","uniqueid":"84:71:27:ff:fe:24:de:9d-01"},"e":"changed","id":"12","r":"lights","t":"event","uniqueid":"84:71:27:ff:fe:24:de:9d-01"}}
[2021-01-05 13:44:08][DEBUG] : Something received and no value updated, performing sync to create commands if needed
[2021-01-05 13:44:08][DEBUG] : 127.0.0.1:8484/api/212017FBF2/sensors type : POST
[2021-01-05 13:44:08][DEBUG] : {"1":{"config":{"configured":true,"on":true,"sunriseoffset":30,"sunsetoffset":-30},"etag":"489daf377fc517f908b87d79bc3323ea","manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":false,"daylight":true,"lastupdated":"2021-01-05T11:54:19.803","status":170,"sunrise":"2021-01-05T07:49:39","sunset":"2021-01-05T15:58:57"},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:05:db:fa-01"},"10":{"config":{"battery":95,"on":true,"reachable":true,"temperature":2100},"ep":1,"etag":"0af220066cb0ce6d8af7ea9e0afc7440","lastseen":"2021-01-05T12:10Z","manufacturername":"LUMI","modelid":"lumi.sensor_magnet.aq2","name":"OpenClose 10","state":{"lastupdated":"2021-01-05T12:10:49.647","open":true},"swversion":"20161128","type":"ZHAOpenClose","uniqueid":"00:15:8d:00:03:d5:52:9c-01-0006"},"4":{"config":{"battery":81,"on":true,"reachable":false,"temperature":2300},"ep":1,"etag":"489daf377fc517f908b87d79bc3323ea","lastseen":null,"manufacturername":"LUMI","mode":1,"modelid":"lumi.remote.b286acn01","name":"Transmitter 2-gang","state":{"buttonevent":3002,"lastupdated":"2020-12-09T11:47:20.360"},"swversion":"20180809","type":"ZHASwitch","uniqueid":"00:15:8d:00:02:2e:e2:54-01-0012"},"5":{"config":{"battery":98,"on":true,"reachable":false,"temperature":2300},"ep":1,"etag":"489daf377fc517f908b87d79bc3323ea","lastseen":null,"manufacturername":"LUMI","mode":1,"modelid":"lumi.remote.b1acn01","name":"Smart Switch","state":{"buttonevent":1002,"lastupdated":"2020-12-09T11:47:00.077"},"swversion":"20180525","type":"ZHASwitch","uniqueid":"00:15:8d:00:04:4e:91:5e-01-0012"},"6":{"config":{"battery":100,"duration":90,"on":true,"reachable":true,"temperature":1800},"ep":1,"etag":"84da0042f7e8903d9080a1ea4b97a93d","lastseen":"2021-01-05T12:40Z","manufacturername":"LUMI","modelid":"lumi.sensor_motion.aq2","name":"Motion Sensor","state":{"lastupdated":"2021-01-05T12:25:33.203","presence":false},"swversion":"20170627","type":"ZHAPresence","uniqueid":"00:15:8d:00:05:47:4f:e2-01-0406"},"7":{"config":{"battery":100,"on":true,"reachable":true,"temperature":1800,"tholddark":12000,"tholdoffset":7000},"ep":1,"etag":"3f9babc6686f406b5832e847141ba566","lastseen":"2021-01-05T12:40Z","manufacturername":"LUMI","modelid":"lumi.sensor_motion.aq2","name":"Motion Sensor","state":{"dark":true,"daylight":false,"lastupdated":"2021-01-05T12:40:02.231","lightlevel":0,"lux":0},"swversion":"20170627","type":"ZHALightLevel","uniqueid":"00:15:8d:00:05:47:4f:e2-01-0400"},"8":{"config":{"battery":91,"on":true,"reachable":true,"temperature":1600},"ep":1,"etag":"c0a058777b79d5b64caca85b45e55a2e","lastseen":"2021-01-05T12:10Z","manufacturername":"LUMI","modelid":"lumi.sensor_magnet.aq2","name":"RDC - Porte","state":{"lastupdated":"2021-01-05T12:10:13.055","open":false},"swversion":"20161128","type":"ZHAOpenClose","uniqueid":"00:15:8d:00:04:ab:d0:bf-01-0006"},"9":{"config":{"battery":100,"on":true,"reachable":true,"temperature":1100},"ep":1,"etag":"dc77af7c51bdafb4b63274f749814b28","lastseen":"2021-01-05T11:41Z","manufacturername":"LUMI","modelid":"lumi.sensor_magnet.aq2","name":"RDC - Fenetre","state":{"lastupdated":"2021-01-05T11:41:47.232","open":false},"swversion":"20161128","type":"ZHAOpenClose","uniqueid":"00:15:8d:00:03:c7:74:4b-01-0006"}}
[2021-01-05 13:44:08][DEBUG] : {"00212EFFFF05DBFA":{"e":"changed","id":"9","r":"lights","state":{"alert":null,"on":true,"reachable":true},"t":"event","uniqueid":"84:71:27:ff:fe:92:f8:cf-01"}}
[2021-01-05 13:44:09][DEBUG] : 127.0.0.1:8484/api/212017FBF2/lights type : POST
[2021-01-05 13:44:09][DEBUG] : {"1":{"etag":"95b8768030b8491805ef6c44b068dc2c","hascolor":false,"lastannounced":null,"lastseen":"2021-01-05T12:43Z","manufacturername":"dresden elektronik","modelid":"ConBee II","name":"Configuration tool 1","state":{"reachable":true},"swversion":"0x26660700","type":"Configuration tool","uniqueid":"00:21:2e:ff:ff:05:db:fa-01"},"10":{"etag":"35b1b0edbb4d6c51b51374d75a4ccbc7","hascolor":false,"lastannounced":null,"lastseen":"2021-01-05T12:43Z","manufacturername":"SONOFF","modelid":"BASICZBR3","name":"On\/Off plug-in unit 10","state":{"alert":"none","on":false,"reachable":true},"swversion":null,"type":"On\/Off plug-in unit","uniqueid":"00:12:4b:00:22:36:eb:45-01"},"11":{"etag":"77ed1bda686212366257a0fed60cb38e","hascolor":false,"lastannounced":null,"lastseen":"2021-01-05T12:12Z","manufacturername":"Unknown","modelid":"lumi.vibration.aq1","name":"Door Lock 11","state":{"alert":"none","on":false,"reachable":false},"swversion":"3000-0001","type":"Door Lock","uniqueid":"00:15:8d:00:05:77:de:47-01"},"12":{"etag":"17eef82346c9b67e1c445c6177a099cc","hascolor":false,"lastannounced":"2021-01-04T23:36:37Z","lastseen":"2021-01-05T12:44Z","manufacturername":"Heiman","modelid":"01MINIZB","name":"On\/Off light 12","state":{"alert":"none","on":true,"reachable":true},"swversion":"20200927","type":"On\/Off light","uniqueid":"84:71:27:ff:fe:24:de:9d-01"},"13":{"etag":"9d9b61775937dde73caf9b5ff4afda7d","hascolor":false,"lastannounced":"2021-01-04T23:36:12Z","lastseen":"2021-01-05T12:43Z","manufacturername":"Heiman","modelid":"01MINIZB","name":"On\/Off light 13","state":{"alert":"none","on":true,"reachable":true},"swversion":"20200927","type":"On\/Off light","uniqueid":"84:71:27:ff:fe:24:dd:e9-01"},"4":{"etag":"c3f7ecf2bbaa515b90fc0dc35d51d853","hascolor":false,"lastannounced":"2020-12-16T14:59:51Z","lastseen":"2021-01-05T12:43Z","manufacturername":"SONOFF","modelid":"BASICZBR3","name":"Relais escalier RDC","state":{"alert":"none","on":false,"reachable":true},"swversion":null,"type":"On\/Off plug-in unit","uniqueid":"00:12:4b:00:22:25:3b:0c-01"},"5":{"colorcapabilities":31,"ctmax":495,"ctmin":155,"etag":"7e1f3657580e4d75b6ddc39fd7527c81","hascolor":true,"lastannounced":"2020-12-19T15:20:03Z","lastseen":"2020-12-23T04:27Z","manufacturername":"GLEDOPTO","modelid":"GL-S-007Z","name":"Ampoule GU10 RVB","state":{"alert":"none","bri":72,"colormode":"xy","ct":500,"effect":"none","hue":1792,"on":true,"reachable":false,"sat":255,"xy":[0.7007,0.2993]},"swversion":"2.0.2","type":"Extended color light","uniqueid":"00:12:4b:00:1e:f6:52:c8-0b"},"6":{"etag":"3f17608b28f2db001d8cb3dab2986750","hascolor":false,"lastannounced":"2020-12-19T15:09:17Z","lastseen":"2021-01-05T12:35Z","manufacturername":"SONOFF","modelid":"BASICZBR3","name":"Relais sir\u00e8ne","state":{"alert":"none","on":false,"reachable":false},"swversion":null,"type":"On\/Off plug-in unit","uniqueid":"00:12:4b:00:22:25:54:07-01"},"7":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"etag":"da0c9659e57ade96bf1deccf0cfefe37","hascolor":true,"lastannounced":"2020-12-27T23:03:49Z","lastseen":"2021-01-05T02:52Z","manufacturername":"Philips","modelid":"LCA001","name":"Extended color light 7","state":{"alert":"none","bri":254,"colormode":"xy","ct":366,"effect":"none","hue":8256,"on":true,"reachable":false,"sat":140,"xy":[0.4574,0.41]},"swversion":"1.53.3_r27175","type":"Extended color light","uniqueid":"00:17:88:01:08:39:7e:de-0b"},"8":{"colorcapabilities":0,"ctmax":65279,"ctmin":0,"etag":"f9d0c1dc997a5b15baa5c4121c00d849","hascolor":true,"lastannounced":"2020-12-27T23:03:48Z","lastseen":"2021-01-05T02:54Z","manufacturername":"Philips","modelid":"LCA001","name":"Extended color light 8","state":{"alert":"none","bri":254,"colormode":"xy","ct":366,"effect":"none","hue":8256,"on":true,"reachable":false,"sat":140,"xy":[0.4574,0.41]},"swversion":"1.53.3_r27175","type":"Extended color light","uniqueid":"00:17:88:01:08:39:84:6f-0b"},"9":{"etag":"17eef82346c9b67e1c445c6177a099cc","hascolor":false,"lastannounced":"2020-12-24T00:28:48Z","lastseen":"2021-01-05T12:43Z","manufacturername":"Heiman","modelid":"01MINIZB","name":"On\/Off light 9","state":{"alert":"none","on":true,"reachable":true},"swversion":"20200927","type":"On\/Off light","uniqueid":"84:71:27:ff:fe:92:f8:cf-01"}}
[2021-01-05 13:44:09][DEBUG] : {"00212EFFFF05DBFA":{"e":"changed","id":"9","r":"lights","state":{"alert":null,"on":false,"reachable":true},"t":"event","uniqueid":"84:71:27:ff:fe:92:f8:cf-01"}}
[2021-01-05 13:44:09][DEBUG] : {"00212EFFFF05DBFA":{"e":"changed","id":"9","r":"lights","state":{"alert":null,"on":true,"reachable":true},"t":"event","uniqueid":"84:71:27:ff:fe:92:f8:cf-01"}}
Voilà j’ai essayé de détailler au mieux mais j’ai peut être oublié une info essentielle donc n’hésitez pas à demander.
Merci d’avance les gars !