Running stable KStars 3.5.3, INDI 1.9.0. Using weatherSafetyProxy driver sending curl requests for updates.
I only receive 2 or 3 requests at the web server which returns weather safe json strings. It appears that the polling stops.
Unsure if I'm doing something wrong but the weather status shows safe but appears to be unprotected. The refresh button will cause another request to be sent.
The weatherSimulator driver does not update status when the control setting for rain is updated unless refresh button is used. Could there be an issue with the timer firing?
The log does not show anything other than the absence of results and the debug option does not seem to be useful. Both logs attached.
I've noticed similar behavior with OpenWeatherMap driver as well, it seems to stop refreshing after a few polls and there seems to be another thread on weather watcher as well so it seems like a common issue with longish timers.
Attempting to reproduce on a test machine was not successful, but it does reproduce on a NUC box with the 9 drivers running.
The stall happens when first starting after 2 or 3 polls. There have been times after repeat use of the refresh button that it starts to run continously, I stopped it after an hour.
To eliminate the curl command/web server from consideration I changed to using a script that just returns a canned weather success message.
Added log messages to the code to try and find where it was stalling.
Weather::TimerHit calls WeatherSafetyProxy::executeScript() which parses the return from the weather sensor script.
It returns to TimerHit which calls SetTimer passing the expected period interval. A valid updateTimerID (example 4) is returned. TimerHit exits but does not get called again.
Something related to the first few cycles? Delaying the connection of WeatherSafetyProxy until the other drivers have settled does not change the behavior.
Timers are great, but they're not infallible. If you forget to leave the light in the on position, the timer won't be able to turn it on. Also, if the power goes out, so does the light. routing numberstutuapp