smart-underworld / seestar_alp

Complete Control and Automation for Seestar S50
Other
90 stars 40 forks source link

Shutdown function in scheduler doesn't work #450

Open tony48 opened 1 week ago

tony48 commented 1 week ago

I've run a basic schedule last night:

When I woke up, the seestar was still on, with its arm pointing near the horizon. This also happened the night before.

Here is the log (renamed to txt so it can be uploaded to github) : alpyca.log.3.txt

Here are the interesting lines: 2024-11-14T08:58:21.758 INFO shutdown-thread:Seestar Alpha Seestar Alpha: playing sound... 2024-11-14T08:58:23.259 INFO shutdown-thread:Seestar Alpha starting to reset dec offset from [2.659167, 10.0], with below_horizon_dec_offset of 0 2024-11-14T08:58:23.259 INFO shutdown-thread:Seestar Alpha slew to 2.659167, 10.0 2024-11-14T08:58:23.259 INFO shutdown-thread:Seestar Alpha slew to 2.659167, 10.0 with dec_offset of 0 2024-11-14T08:58:23.754 INFO IncomingMsgThread:Seestar Alpha received : {'Event': 'ScopeGoto', 'Timestamp': '33624.002314586', 'state': 'complete'} 2024-11-14T08:58:40.023 INFO IncomingMsgThread:Seestar Alpha received : {'Event': 'PiStatus', 'Timestamp': '33640.133214316', 'temp': 33.599998}

It looks like, in the reset_below_horizon_dec_offset function, the _slew_to_ra_dec never completed. Could it be because there was trees near the horizon, and so the seestar couldn't platesolve when resetting the dec offset?

Astromodeler99 commented 1 week ago

I can vouch for this. The same thing happened to me.

wileecyte commented 1 week ago

Here's more logs to add to the list... I had other weird issues in the logs... seestar_1_logs.zip alpyca.log