Plugin wifilightV2 - Lignes de logs

Bonjour,

j’ai depuis peu des répétitions de ces lignes dans le log cron_execution

PHP Warning:  Declaration of W2_YeeLightCeiling::OnKelvin($value = 50) should be compatible with W2_YeeLightBase::OnKelvin($value = 50, $Bright = 0) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 689
PHP Warning:  Declaration of W2_YeeLightMijia::OnBrightnessWhite($value, $Col, $Ct) should be compatible with W2_YeeLightBase::OnBrightnessWhite($value, $Col) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 756
PHP Warning:  Declaration of W2_YeeLightJiaoyue650::OnKelvin($value = 50) should be compatible with W2_YeeLightBase::OnKelvin($value = 50, $Bright = 0) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 911

Ma configuration:
Version Jeedom 4.0.52
Version PHP 7.3.14-1~deb10u1
Apache 12
Version OS Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux [10.3]
Version du plugin 2020-04-30 20:22:51

Merci

Salut,

Je confirme, j’ai ça aussi depuis 3 ou 4 releases beta

PHP Warning:  Declaration of W2_YeeLightCeiling::OnKelvin($value = 50) should be compatible with W2_YeeLightBase::OnKelvin($value = 50, $Bright = 0) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 689
PHP Warning:  Declaration of W2_YeeLightMijia::OnBrightnessWhite($value, $Col, $Ct) should be compatible with W2_YeeLightBase::OnBrightnessWhite($value, $Col) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 756
PHP Warning:  Declaration of W2_YeeLightJiaoyue650::OnKelvin($value = 50) should be compatible with W2_YeeLightBase::OnKelvin($value = 50, $Bright = 0) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 911

sera corrigé prochaine version
enlevez les logs en attendant et relancez le demon

Bonjour @bernardfr.caron,

j’ai effectué la mise à jour du plugin hier (version stable 2020-05-03 21:51:54)
J’ai moins de lignes de log, il reste une ligne dans le log cron_execution

PHP Warning:  Declaration of W2_YeeLightMijia::OnBrightnessWhite($value, $Col, $Ct) should be compatible with W2_YeeLightBase::OnBrightnessWhite($value, $Col, $Ct = 0) in /var/www/html/plugins/wifilightV2/3rdparty/yeelight.php on line 756

il y aura bientôt une lise à jour.

Je viens de faire la derniere mise à jour, il n’y a plus de message d’erreur dans le log cron_execution

Merci :smiley:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.