Page 1 of 1

Feature Request - Suppress NOAA Weather Changes to Log

PostPosted: Sat Nov 11, 2023 10:29 am
by ryanbuckner
I get this update in the logs every time the NOAA plugin updates the weather. It would be great to have a device setting to suppress this log entry and only log errors. Also, the timestamp doesn't match the Indigo server log time.

Code: Select all
Nov 11, 2023 at 9:38:49 AM
   NOAA Weather                    'IAD NOAA Weather' changed at 2023-11-11 08:52:00'.

Re: Feature Request - Suppress NOAA Weather Changes to Log

PostPosted: Sat Nov 11, 2023 2:55 pm
by DaveL17
I'll add your suggestion to the list -- it should theoretically be an easy change to the code.

The reason that the log message timestamp doesn't match the Indigo server time:
  • The timestamp in the log is the time the data was changed in the NOAA API.
  • The server timestamp is the time the Indigo device was last updated.
The difference is meant to give some idea how old the weather data actually are.

Re: Feature Request - Suppress NOAA Weather Changes to Log

PostPosted: Sun Nov 12, 2023 7:57 am
by ryanbuckner
Got it, thanks. In the meantime I just changed those logs from info to debug and I'm all set.

Re: Feature Request - Suppress NOAA Weather Changes to Log

PostPosted: Sun Nov 12, 2023 8:24 am
by DaveL17
Just note that your changes may be overwritten if you re-run the Indigo installer.

Re: Feature Request - Suppress NOAA Weather Changes to Log

PostPosted: Sun Nov 12, 2023 10:32 am
by ryanbuckner
noted. Thanks