Page 1 of 1

FineOffsetSetLoggerInterval

Posted: Sun 20 Aug 2023 3:54 pm
by yamen
My fineoffset station defaulted to 30 mn logging interval after i changed batteries, cumulusmx is running on a pi zero and i dont have access to a windows computer to set the logging interval back to 10mn using easyweather or setlogger tools so i activated the option to set the logger interval (FineOffsetSetLoggerInterval=1) but cumulsmx just hang after this warnig:

Code: Select all

Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
Fine Offset station found
Stream opened
Reading station logging interval
Warning, your console logging interval (30 mins) does not match the Cumulus logging interval (10 mins)
setting back FineOffsetSetLoggerInterval=0 and restarting cumulusmx solve the issue but the logging interval is still 30mn

Re: FineOffsetSetLoggerInterval

Posted: Sun 20 Aug 2023 8:44 pm
by mcrossley
You should get that message every time you start CMX and the log intervals are different.
If you don't get the message, then CMX thinks the intervals are the same.

If you enable setting of the interval, it happens immediately after that message is output - there is no message output to say it is attempting that though. It writes the new value to the console and waits 1 second before attempting to read it back. If it has not set then it reties again - unfortunately , forever!

I also see an error in the code, that will cause it to loop indefinitely, I'll fix that and add additional messages.

Re: FineOffsetSetLoggerInterval

Posted: Tue 29 Aug 2023 3:48 pm
by yamen
i found a "hard" way to set the logger interval in CLI, but i hope you can fix it in a future release of cmx, thanks.
PS: maybe this link could help solving the issue