Weather warnings and alerts from the weather_safety_proxy?

Hi all,

I’m using the weather_safety_proxy with a script and it always worked well with the ‘old’ version of EKOS. I can’t remember how old exactly but probably 2 years or so (I tend not to update once I get it all working)

So with the new version of EKOS, it seems to get the weather unsafe conditions from the weather_safety_proxy as a ‘warning’, not an ‘alert’ because it only has safe/unsafe I guess.

So the only way I’ve been able to get a reliable observatory shutdown (park mount & roof) are by checking the weather grace period checkbox with a 1minute setting. This way, it gets the ‘warning’ from weather_safety_proxy, runs my shutdown queue to park&close and then after 1min, it stops EKOS. EKOS never gets an ‘alert’ from the weather_safety_proxy even if its raining :slight_smile: so if I don’t check this checkbox, the roof stays open.

Am I doing something wrong here? I’ve looked around at all the weather_safety_proxy settings but don’t see a way to do it or how EKOS maps safe/unsafe to ok/warning/alert.

Thanks

Derek

OK I think I figured it out thanks to an AI coding assistant.

My conclusion is that the field name “Weather grace period” is misleading. I don’t really care about a grace period, I just want to enforce a park&close if its raining. Wondering if I’m correct here?

AI generated text below:

That explains the test: unchecking “Weather grace period” disables weather-based scheduling entirely. Despite its label, that checkbox is the master enable for scheduler weather enforcement—not just the grace-period behavior. With it unchecked, an alert can appear in the INDI driver, but the scheduler won’t start its alert-shutdown timer, so it continues the job. The scheduler gates that response on the setting in setWeatherStatus().

For the behavior you want, leave the checkbox checked, set the grace period to 2 minutes and the alert delay to 5 seconds. On an alert, the scheduler should start a soft shutdown after 5 seconds, then proceed to full shutdown if the alert persists through the 2-minute grace period.