grzegorz914 / homebridge-openwebif-tv

Homebridge plugin for Sat Receivers with openWebIf interface, publish as independent external platform accessory.
MIT License
6 stars 1 forks source link

logging issue #60

Closed WojtekWro closed 1 year ago

WojtekWro commented 1 year ago

Hi Grzegorz, Even though in advanced settings Log Info and Log Device Info are disabled plugin logs every 15s that device is offline. It happens when my device is in a sleep mode. I use scheduled sleep mode to save energy.

[2/8/2023, 8:20:34 AM] [OpenWebIfTv] Device: 192.168.8.25 Dekoder, Info error: Error: connect EHOSTUNREACH 192.168.8.25:80, reconnect in 15s.

grzegorz914 commented 1 year ago

added options to disable logging connect error in 3.18.0

WojtekWro commented 1 year ago

Thank you :-) 👍

romartobashey commented 10 months ago

This seems to have started again in one of the recent versions. I have disableLogConnectError set to true, but it's still logging it every 15 seconds after my device is turned off. I have to restart Homebridge for it to stop doing that. Could you please look into it?

grzegorz914 commented 10 months ago

I will look into this.

grzegorz914 commented 10 months ago

This option is there, what a error you see exactly?

romartobashey commented 10 months ago

The option doesn’t seem to have any effect now until I restart Homebridge while my device is off. When my device turns off, it starts filling the log with “device is disconnected” every 15 seconds, just like it did before you added the option to disable it in 3.18.0. If I restart Homebridge while my device is off, it works as intended and stops writing to the log. It used to work correctly all the time until a couple of weeks ago.

grzegorz914 commented 10 months ago

Please update to the latest version, the issue is fixed.

romartobashey commented 10 months ago

Thanks!