Bonjour @bernardfr.caron,
J’ai des soucis avec votre plugin depuis la MAJ du 25/05 à 1h XXmin. Mes Yeelight (Ampoule RGBW et Strip leds) ne fonctionnent plus du tout (états + commandes), je les ai bien sauvegardé comme indiqué dans le changelog… Les log avant et après la MAJ sont identiques mais les équipements ne fonctionne plus.
Log d’une Yeelight avant MAJ (On suivit de Off) :
[2020-05-27 15:01:03][DEBUG] : Send start
[2020-05-27 15:01:03][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["on","smooth",500]}
[2020-05-27 15:01:03][DEBUG] : new sock
[2020-05-27 15:01:03][DEBUG] : socket_write() error : 0
[2020-05-27 15:01:03][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["on","smooth",500]} - Try:127.0.0.1 6900 - Connect OK! - No return
[2020-05-27 15:01:07][DEBUG] : Send start
[2020-05-27 15:01:07][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["off","smooth",500]}
[2020-05-27 15:01:07][DEBUG] : new sock
[2020-05-27 15:01:07][DEBUG] : socket_write() error : 0
[2020-05-27 15:01:07][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["off","smooth",500]} - Try:127.0.0.1 6900 - Connect OK! - No return
Log d’une Yeelight après MAJ (On suivit de Off) :
[2020-05-27 14:32:13][DEBUG] : Send start
[2020-05-27 14:32:13][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["on","smooth",500]}
[2020-05-27 14:32:13][DEBUG] : new sock
[2020-05-27 14:32:13][DEBUG] : socket_write() error : 0
[2020-05-27 14:32:13][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["on","smooth",500]} - Try:127.0.0.1 6900 - Connect OK! - No return
[2020-05-27 14:32:17][DEBUG] : Send start
[2020-05-27 14:32:17][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["off","smooth",500]}
[2020-05-27 14:32:17][DEBUG] : new sock
[2020-05-27 14:32:17][DEBUG] : socket_write() error : 0
[2020-05-27 14:32:17][DEBUG] : Cmd : {"id":1,"method":"set_power","params":["off","smooth",500]} - Try:127.0.0.1 6900 - Connect OK! - No return
De plus les commandes info. numériques de mes prises TP-Link HS110 (puissance, tension, …) ne remontent plus rien, la date de collecte est figé à l’heure où j’ai la MAJ du plugin pourtant les logs sont aussi identiques avant et après la MAJ et les info. sont bien là :
Log d’une prise TP-Link avant la MAJ (On suivit de Off) :
[2020-05-27 15:02:19][DEBUG] : Cmd : {"system":{"set_relay_state":{"state":1}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:19][DEBUG] : Cmd : {"system":{"get_sysinfo":{}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:19][DEBUG] : sw_ver | 1.2.5 Build 180410 Rel.182657
[2020-05-27 15:02:19][DEBUG] : hw_ver | 1.0
[2020-05-27 15:02:19][DEBUG] : type | IOT.SMARTPLUGSWITCH
[2020-05-27 15:02:19][DEBUG] : model | HS110(FR)
[2020-05-27 15:02:19][DEBUG] : mac | 50:C7:BF:B6:BD:6B
[2020-05-27 15:02:19][DEBUG] : deviceId | 80065B9A426E21C7161CED1136A7CE3718AE899D
[2020-05-27 15:02:19][DEBUG] : hwId | 797CB3D09D9A83B1C43A623C6DD103C2
[2020-05-27 15:02:19][DEBUG] : fwId | 00000000000000000000000000000000
[2020-05-27 15:02:19][DEBUG] : oemId | 0D13F703F04C040DC3D27DB248C01A1A
[2020-05-27 15:02:19][DEBUG] : alias | Prise 3
[2020-05-27 15:02:19][DEBUG] : dev_name | Wi-Fi Smart Plug With Energy Monitoring
[2020-05-27 15:02:19][DEBUG] : icon_hash |
[2020-05-27 15:02:19][DEBUG] : relay_state | 1
[2020-05-27 15:02:19][DEBUG] : on_time | 0
[2020-05-27 15:02:19][DEBUG] : active_mode | schedule
[2020-05-27 15:02:19][DEBUG] : feature | TIM:ENE
[2020-05-27 15:02:19][DEBUG] : updating | 0
[2020-05-27 15:02:19][DEBUG] : rssi | -57
[2020-05-27 15:02:19][DEBUG] : led_off | 0
[2020-05-27 15:02:19][DEBUG] : latitude | 43.631078
[2020-05-27 15:02:19][DEBUG] : longitude | 3.863413
[2020-05-27 15:02:19][DEBUG] : Cmd : {"emeter":{"get_realtime":{}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : current | 0.024033
[2020-05-27 15:02:19][DEBUG] : voltage | 226.603517
[2020-05-27 15:02:19][DEBUG] : power | 0
[2020-05-27 15:02:19][DEBUG] : total | 0.957
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:19][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:19][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:19][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:19][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 15:02:19][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:19][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 15:02:19][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : Cmd : {"system":{"set_relay_state":{"state":0}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : Cmd : {"system":{"get_sysinfo":{}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : sw_ver | 1.2.5 Build 180410 Rel.182657
[2020-05-27 15:02:23][DEBUG] : hw_ver | 1.0
[2020-05-27 15:02:23][DEBUG] : type | IOT.SMARTPLUGSWITCH
[2020-05-27 15:02:23][DEBUG] : model | HS110(FR)
[2020-05-27 15:02:23][DEBUG] : mac | 50:C7:BF:B6:BD:6B
[2020-05-27 15:02:23][DEBUG] : deviceId | 80065B9A426E21C7161CED1136A7CE3718AE899D
[2020-05-27 15:02:23][DEBUG] : hwId | 797CB3D09D9A83B1C43A623C6DD103C2
[2020-05-27 15:02:23][DEBUG] : fwId | 00000000000000000000000000000000
[2020-05-27 15:02:23][DEBUG] : oemId | 0D13F703F04C040DC3D27DB248C01A1A
[2020-05-27 15:02:23][DEBUG] : alias | Prise 3
[2020-05-27 15:02:23][DEBUG] : dev_name | Wi-Fi Smart Plug With Energy Monitoring
[2020-05-27 15:02:23][DEBUG] : icon_hash |
[2020-05-27 15:02:23][DEBUG] : relay_state | 0
[2020-05-27 15:02:23][DEBUG] : on_time | 0
[2020-05-27 15:02:23][DEBUG] : active_mode | schedule
[2020-05-27 15:02:23][DEBUG] : feature | TIM:ENE
[2020-05-27 15:02:23][DEBUG] : updating | 0
[2020-05-27 15:02:23][DEBUG] : rssi | -58
[2020-05-27 15:02:23][DEBUG] : led_off | 0
[2020-05-27 15:02:23][DEBUG] : latitude | 43.631078
[2020-05-27 15:02:23][DEBUG] : longitude | 3.863413
[2020-05-27 15:02:23][DEBUG] : Cmd : {"emeter":{"get_realtime":{}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : current | 0.023575
[2020-05-27 15:02:23][DEBUG] : voltage | 226.730413
[2020-05-27 15:02:23][DEBUG] : power | 0
[2020-05-27 15:02:23][DEBUG] : total | 0.957
[2020-05-27 15:02:23][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 15:02:23][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 15:02:23][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 15:02:23][DEBUG] : err_code | 0
[2020-05-27 15:02:23][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 15:02:23][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 15:02:23][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 15:02:23][DEBUG] : err_code | 0
Log d’une prise TP-Link après la MAJ (On suivit de Off) :
[2020-05-27 14:11:10][DEBUG] : Cmd : {"system":{"set_relay_state":{"state":1}}}
[2020-05-27 14:11:10][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:10][DEBUG] : err_code | 0
[2020-05-27 14:11:10][DEBUG] : Cmd : {"system":{"get_sysinfo":{}}}
[2020-05-27 14:11:10][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:10][DEBUG] : err_code | 0
[2020-05-27 14:11:10][DEBUG] : sw_ver | 1.2.5 Build 180410 Rel.182657
[2020-05-27 14:11:10][DEBUG] : hw_ver | 1.0
[2020-05-27 14:11:10][DEBUG] : type | IOT.SMARTPLUGSWITCH
[2020-05-27 14:11:10][DEBUG] : model | HS110(FR)
[2020-05-27 14:11:10][DEBUG] : mac | 50:C7:BF:B6:BD:6B
[2020-05-27 14:11:10][DEBUG] : deviceId | 80065B9A426E21C7161CED1136A7CE3718AE899D
[2020-05-27 14:11:10][DEBUG] : hwId | 797CB3D09D9A83B1C43A623C6DD103C2
[2020-05-27 14:11:10][DEBUG] : fwId | 00000000000000000000000000000000
[2020-05-27 14:11:10][DEBUG] : oemId | 0D13F703F04C040DC3D27DB248C01A1A
[2020-05-27 14:11:10][DEBUG] : alias | Prise 3
[2020-05-27 14:11:10][DEBUG] : dev_name | Wi-Fi Smart Plug With Energy Monitoring
[2020-05-27 14:11:10][DEBUG] : icon_hash |
[2020-05-27 14:11:10][DEBUG] : relay_state | 1
[2020-05-27 14:11:10][DEBUG] : on_time | 0
[2020-05-27 14:11:10][DEBUG] : active_mode | schedule
[2020-05-27 14:11:10][DEBUG] : feature | TIM:ENE
[2020-05-27 14:11:10][DEBUG] : updating | 0
[2020-05-27 14:11:10][DEBUG] : rssi | -59
[2020-05-27 14:11:10][DEBUG] : led_off | 0
[2020-05-27 14:11:10][DEBUG] : latitude | 43.631078
[2020-05-27 14:11:10][DEBUG] : longitude | 3.863413
[2020-05-27 14:11:10][DEBUG] : Cmd : {"emeter":{"get_realtime":{}}}
[2020-05-27 14:11:10][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:10][DEBUG] : current | 0.023845
[2020-05-27 14:11:10][DEBUG] : voltage | 227.515322
[2020-05-27 14:11:10][DEBUG] : power | 0
[2020-05-27 14:11:10][DEBUG] : total | 0.957
[2020-05-27 14:11:10][DEBUG] : err_code | 0
[2020-05-27 14:11:10][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 14:11:10][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:10][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 14:11:10][DEBUG] : err_code | 0
[2020-05-27 14:11:10][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 14:11:10][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:10][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 14:11:10][DEBUG] : err_code | 0
[2020-05-27 14:11:10][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 14:11:10][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:11][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 14:11:11][DEBUG] : err_code | 0
[2020-05-27 14:11:11][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 14:11:11][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:11][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 14:11:11][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : Cmd : {"system":{"set_relay_state":{"state":0}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : Cmd : {"system":{"get_sysinfo":{}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : sw_ver | 1.2.5 Build 180410 Rel.182657
[2020-05-27 14:11:15][DEBUG] : hw_ver | 1.0
[2020-05-27 14:11:15][DEBUG] : type | IOT.SMARTPLUGSWITCH
[2020-05-27 14:11:15][DEBUG] : model | HS110(FR)
[2020-05-27 14:11:15][DEBUG] : mac | 50:C7:BF:B6:BD:6B
[2020-05-27 14:11:15][DEBUG] : deviceId | 80065B9A426E21C7161CED1136A7CE3718AE899D
[2020-05-27 14:11:15][DEBUG] : hwId | 797CB3D09D9A83B1C43A623C6DD103C2
[2020-05-27 14:11:15][DEBUG] : fwId | 00000000000000000000000000000000
[2020-05-27 14:11:15][DEBUG] : oemId | 0D13F703F04C040DC3D27DB248C01A1A
[2020-05-27 14:11:15][DEBUG] : alias | Prise 3
[2020-05-27 14:11:15][DEBUG] : dev_name | Wi-Fi Smart Plug With Energy Monitoring
[2020-05-27 14:11:15][DEBUG] : icon_hash |
[2020-05-27 14:11:15][DEBUG] : relay_state | 0
[2020-05-27 14:11:15][DEBUG] : on_time | 0
[2020-05-27 14:11:15][DEBUG] : active_mode | schedule
[2020-05-27 14:11:15][DEBUG] : feature | TIM:ENE
[2020-05-27 14:11:15][DEBUG] : updating | 0
[2020-05-27 14:11:15][DEBUG] : rssi | -60
[2020-05-27 14:11:15][DEBUG] : led_off | 0
[2020-05-27 14:11:15][DEBUG] : latitude | 43.631078
[2020-05-27 14:11:15][DEBUG] : longitude | 3.863413
[2020-05-27 14:11:15][DEBUG] : Cmd : {"emeter":{"get_realtime":{}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : current | 0.02369
[2020-05-27 14:11:15][DEBUG] : voltage | 227.625028
[2020-05-27 14:11:15][DEBUG] : power | 0
[2020-05-27 14:11:15][DEBUG] : total | 0.957
[2020-05-27 14:11:15][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 14:11:15][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 14:11:15][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : Cmd : {"emeter":{"get_daystat":{"month":5,"year":2020}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : day_list | ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
[2020-05-27 14:11:15][DEBUG] : err_code | 0
[2020-05-27 14:11:15][DEBUG] : Cmd : {"emeter":{"get_monthstat":{"year":2020}}}
[2020-05-27 14:11:15][DEBUG] : try to connect to : 192.168.1.22 9999
[2020-05-27 14:11:15][DEBUG] : month_list | ArrayArrayArrayArrayArray
[2020-05-27 14:11:15][DEBUG] : err_code | 0
Si je restaure le système à une date antérieur à cette MAJ tout fonctionne correctement comme c’était le cas depuis plusieurs mois.
En creusant un peu, je me suis aperçu que si je recréée une Yeelight elle fonctionne mais je prefererais éviter de récréer toute mes ampoules et scénarios qui vont avec. Et ça ne corrige pas le souci des TP-Link.
Auriez-vous une idée sur la cause du problème? Avez-vous besoin de plus d’informations?
Je peux installé la beta ou même vous faire un accès si besoin.
Merci d’avance.
Jeedom v4.0.56 / Raspbian v10.3
