Closed galoiring closed 1 year ago
Hello @galoiring,
That seems to indicate that the connection between your yeelight and router is kind of weak. The plugin retries and eventually is able to send the commands but you might experience some delays here and there.
These are not errors, just warnings.
I didn’t experience delay at all. Respond are really fast. and witless connection to router is full reception
there Is a way to hide it ? the lamp are functioning perfect so it just a false errors
Same for me, getting the same in log, but all lights function fast with no issues
Same same. Very good wifi coverage, speed and latency but getting these errors.
Is there a solution?
Same as well, I encounter those errors in my logs too. Anyway to hide or remove them?
Just increase the connection.timeout
from 100ms to i.e. 250 or 500. It works for me :)
Just increase the
connection.timeout
from 100ms to i.e. 250 or 500. It works for me :)
Are there any sample code which you can provide, so we know where or how to input this line. Thanks!
@SteveAuhc16 sure, example of my yeelight platform:
{
"platform": "yeelight",
"name": "Yeelight",
"connection": {
"retries": 5,
"timeout": 500
}
}
@SteveAuhc16 sure, example of my yeelight platform:
{ "platform": "yeelight", "name": "Yeelight", "connection": { "retries": 5, "timeout": 500 } }
moved to a new house and reinstall everything from scratches. im getting this in the log (one per minute). this is after adding the retries in the json file.
``[25/03/2023, 14:13:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:13:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:14:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:14:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:15:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:15:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:16:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:16:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:17:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:17:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:18:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:18:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:19:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:19:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]}
[25/03/2023, 14:20:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[5524.861878453039,"smooth",400]}
[25/03/2023, 14:20:20] [yeelight] Sending command: {"method":"set_ct_abx","params":[3184.7133757961783,"smooth",400]} ``
I try to investigate the code , at the 'set_ct_abx' function (inside 'setTemperature') but I was unable to understand the frequent temperature changes. @vieira @fnowacki hope for your reply
I noticed that adaptive lighting sets color temperature every minute, so it might be better to change sendCmd logging to debug
Originally posted by @Cyberbeni in https://github.com/vieira/homebridge-yeelight-wifi/issues/111#issuecomment-1110179891
:tada: This issue has been resolved in version 2.4.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
this is my log ,with nonstop errors (but everything work perfect..) what can I do ? thanks