Bonjour
A nouveau, je reteste s’inclure ma gateway Lidl avec le plugin Wifilight. Je vais essayer d’être clair, mais c’est un peu nébuleux. Si je vous écris ici, c’est que je suis un peu perdu, et que j’ai besoin d’aide, donc soyez indulgents. J’ai lu la doc, mais cela ne m’a apporté que brouillard et confusion, je pense que quelque chose m’échappe et que je ne le prends pas par le bon bout (sous entendu: c’est moi qui suis en cause, et ni le plugin, ni la doc )
Avant tout, quelques infos:
- Jeedom 4.1.18 sur pi3
- plugin Wifilight version stable, 2021-09-25 08:22:30
- Gateway Lidl (adresse IP: 192.168.X.Y)
- 1 multiprise et deux prises seules
- le tout connecté à l’appli Smart Life sur mon smartphone
- j’ai récupéré il y a quelques temps les deviceid et les localkey de quelques équipemenst (tous ne les remontent pas). Mais j’ai ceux de la gateway, de la multiprise et d’une autre prise. C’est déjà ça.
J’ai donc crée ma passerelle, comme ceci:
J’ai arrêté le plugin, passé les logs en debug et relancé. A priori, la connexion à la gateway se fait bien lorsque je relance, car j’ai un petit sourire à coté de l’icone, et j’ai ceci dans les logs:
[2021-10-24 11:34:59][DEBUG] : >>>>Daemon Started
[2021-10-24 11:34:59][DEBUG] : Memory used :1954 ko 64 o
[2021-10-24 11:34:59][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.80 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:34:59][DEBUG] : ** Lidl-GW - TuyaCustom2_Hub_V2 @192.168.X.Y - c:1 **
[2021-10-24 11:34:59][DEBUG] : Key not set New device: created @192.168.X.Y ADD New device @192.168.X.Y channel:1 key:0 @192.168.X.Y c:1 d:0
[2021-10-24 11:34:59][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :2050 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:34:59][DEBUG] : << Update state of: Lidl-GW @192.168.X.Y
[2021-10-24 11:34:59][DEBUG] : Cmd to 192.168.X.Y: {"gwId":"bf6416cf60e4b1f9feyqts","cid":"bf6416cf60e4b1f9feyqts"} - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:34:59][DEBUG] : No dps states to update
[2021-10-24 11:34:59][DEBUG] : No other states to update
[2021-10-24 11:35:15][DEBUG] : << Ping of: Lidl-GW @192.168.X.Y diff:16
[2021-10-24 11:35:15][DEBUG] : Cmd to 192.168.X.Y: - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:35:31][DEBUG] : << Ping of: Lidl-GW @192.168.X.Y diff:16
[2021-10-24 11:35:31][DEBUG] : Cmd to 192.168.X.Y: - Try:192.168.X.Y 6668 - Connect OK! - socket_write failed:32 Broken pipe
[2021-10-24 11:35:31][DEBUG] : Error on:192.168.X.Y is :Broken pipe n:32 diff:32
[2021-10-24 11:36:00][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.80 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:36:00][DEBUG] : ** Lidl-GW - TuyaCustom2_Hub_V2 @192.168.X.Y - c:1 **
[2021-10-24 11:36:00][DEBUG] : Key:0 Diff:61 No connection wait:61
[2021-10-24 11:36:00][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :2053 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
A priori, la connexion est OK, non? Malgré les messages « broken pipe »?
Ensuite, je passe à l’inclusion de ma prise. Je mets en mode inclusion et j’attends quelques secondes.
J’ouvre l’appli SmartLife et je fais un on/off sur mon ampoule ( Dev ID: 08548401c82b9655433d / Product ID: dqs8oqdeccnqjfkx / Local Key: 3b44ab5eef97b81a, puis pareil sur ma prise ( Dev ID: bfca2786adc316f04fjits / Node ID: 60a423fffe0d4287) mais rien ne se passe. Rien n’apparait ensuite.
Et voici les logs en inclusion et avec les manips on/off. J’ai l’impression qu’il ne voit rien du tout:
[2021-10-24 11:47:13][DEBUG] : >>>>Daemon Started
[2021-10-24 11:47:13][DEBUG] : Memory used :1954 ko 112 o
[2021-10-24 11:47:13][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.80 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:13][DEBUG] : ** Lidl-GW - TuyaCustom2_Hub_V2 @192.168.X.Y - c:1 **
[2021-10-24 11:47:13][DEBUG] : Key not set New device: created @192.168.X.Y ADD New device @192.168.X.Y channel:1 key:0 @192.168.X.Y c:1 d:0
[2021-10-24 11:47:13][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :2050 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:13][DEBUG] : << Update state of: Lidl-GW @192.168.X.Y
[2021-10-24 11:47:13][DEBUG] : Cmd to 192.168.X.Y: {"gwId":"bf6416cf60e4b1f9feyqts","cid":"bf6416cf60e4b1f9feyqts"} - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:47:13][DEBUG] : No dps states to update
[2021-10-24 11:47:14][DEBUG] : No other states to update
[2021-10-24 11:47:24][DEBUG] : >>>>Daemon Started
[2021-10-24 11:47:24][DEBUG] : Memory used :1954 ko 112 o
[2021-10-24 11:47:24][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.80 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:24][DEBUG] : ** Lidl-GW - TuyaCustom2_Hub_V2 @192.168.X.Y - c:1 **
[2021-10-24 11:47:24][DEBUG] : Key not set New device: created @192.168.X.Y ADD New device @192.168.X.Y channel:1 key:0 @192.168.X.Y c:1 d:0
[2021-10-24 11:47:24][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :2050 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:24][DEBUG] : << Update state of: Lidl-GW @192.168.X.Y
[2021-10-24 11:47:24][DEBUG] : Cmd to 192.168.X.Y: {"gwId":"bf6416cf60e4b1f9feyqts","cid":"bf6416cf60e4b1f9feyqts"} - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:47:24][DEBUG] : No dps states to update
[2021-10-24 11:47:24][DEBUG] : No other states to update
[2021-10-24 11:47:40][DEBUG] : << Ping of: Lidl-GW @192.168.X.Y diff:16
[2021-10-24 11:47:40][DEBUG] : Cmd to 192.168.X.Y: - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:47:47][DEBUG] : >>>>Daemon Started
[2021-10-24 11:47:47][DEBUG] : Memory used :1954 ko 112 o
[2021-10-24 11:47:47][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.80 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:47][DEBUG] : ** Lidl-GW - TuyaCustom2_Hub_V2 @192.168.X.Y - c:1 **
[2021-10-24 11:47:47][DEBUG] : Key not set New device: created @192.168.X.Y ADD New device @192.168.X.Y channel:1 key:0 @192.168.X.Y c:1 d:0
[2021-10-24 11:47:47][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :2050 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:47][DEBUG] : << Update state of: Lidl-GW @192.168.X.Y
[2021-10-24 11:47:47][DEBUG] : Cmd to 192.168.X.Y: {"gwId":"bf6416cf60e4b1f9feyqts","cid":"bf6416cf60e4b1f9feyqts"} - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:47:47][DEBUG] : No dps states to update
[2021-10-24 11:47:47][DEBUG] : No other states to update
[2021-10-24 11:47:59][DEBUG] : >>>>Daemon Started
[2021-10-24 11:47:59][DEBUG] : Memory used :1954 ko 112 o
[2021-10-24 11:47:59][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Search for devices - V1.80 stable <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:59][DEBUG] : ** Lidl-GW - TuyaCustom2_Hub_V2 @192.168.X.Y - c:1 **
[2021-10-24 11:47:59][DEBUG] : Key not set New device: created @192.168.X.Y ADD New device @192.168.X.Y channel:1 key:0 @192.168.X.Y c:1 d:0
[2021-10-24 11:47:59][DEBUG] : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Memory used :2050 ko <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2021-10-24 11:47:59][DEBUG] : << Update state of: Lidl-GW @192.168.X.Y
[2021-10-24 11:47:59][DEBUG] : Cmd to 192.168.X.Y: {"gwId":"bf6416cf60e4b1f9feyqts","cid":"bf6416cf60e4b1f9feyqts"} - Try:192.168.X.Y 6668 - Connect OK!
[2021-10-24 11:47:59][DEBUG] : No dps states to update
[2021-10-24 11:47:59][DEBUG] : No other states to update
Voilà, donc un truc m’échappe, mais je ne sais pas quoi. Vous pouvez m’aider?
Merci d’avance