Bi-monthly release with minor bug fixes and improvements
weather safe ?
yes:
scheduler running ?
yes:
ok
no:
start scheduler
no:
scheduler running ?
yes:
stop scheduler
park mount
close roof
warm ccd
no:
ok
./ekos_sentinel.py --indi_host localhost
2019-05-01 02:45:51,250 ekos_sentinel INFO weather is safe, roof is closed, start ekos scheduler
Start scheduler
2019-05-01 02:46:51,306 ekos_sentinel INFO weather is safe, roof is open
...
2019-05-01 03:32:53,546 ekos_sentinel INFO weather is safe, roof is open
2019-05-01 03:33:53,565 ekos_sentinel WARNING weather is unsafe, roof is open, stop ekos scheduler
Stop scheduler
2019-05-01 03:33:53,567 ekos_sentinel WARNING park mount
2019-05-01 03:33:54,583 ekos_sentinel WARNING close roof
2019-05-01 03:34:51,630 ekos_sentinel WARNING warm camera
2019-05-01 03:34:51,651 ekos_sentinel WARNING failed to warm the camera, this is not critical to safety so just continue
2019-05-01 03:35:51,725 ekos_sentinel INFO weather is unsafe, roof is closed
Please Log in or Create an account to join the conversation.
python3 ./ekos_sentinel.py 192.168.xxx.xxx --options
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
./ekos_sentinel.py --indi_host localhost
INDI_DOME_PARK_PROPERTY = 'Dome Scripting Gateway.DOME_PARK.PARK'
INDI_DOME_PARK_PROPERTY_PARK_SETTING = 'On'
INDI_WEATHER_PROPERTY = 'Weather Meta.WEATHER_STATUS.STATION_STATUS'
INDI_WEATHER_PROPERTY_OK_SETTING = 'Ok'
WEATHER_META_STATION_INDEXES = {1, 2}
INDI_MOUNT_PARK_PROPERTY = '10micron.TELESCOPE_PARK.PARK'
INDI_MOUNT_PARK_PROPERTY_PARK_SETTING = 'On'
INDI_CAMERA_COOLER_PROPERTY = 'ZWO CCD ASI1600MM-Cool.CCD_COOLER_POWER.CCD_COOLER_VALUE'
INDI_CAMERA_COOLER_PROPERTY_OFF_SETTING = '0'
MAIN_LOOP_SLEEP_SECONDS = 60
INDI_COMMAND_SEND_TIMEOUT = 5
MOUNT_PARK_TIMEOUT = 60
ROOF_CLOSE_TIMEOUT = 60
./ekos_sentinel.py --help
usage: ekos_sentinel.py [-h] [--debug] [--once] --indi_host INDI_HOST
Ekos Sentinel
optional arguments:
-h, --help show this help message and exit
--debug enable debug level verbosity
--once run only once, useful for debugging
--indi_host INDI_HOST
INDI server address
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
./ekos_sentinel.py --help
usage: ekos_sentinel.py [-h] --indi_host INDI_HOST
[--indi_command_retries INDI_COMMAND_RETRIES]
[--debug] [--once] [--get_weather_safety]
[--get_mount_safety] [--get_cap_safety]
[--get_roof_safety] [--park_mount] [--close_cap]
[--close_roof] [--warm_camera]
EKOS Sentinel, version 1.0 .
EKOS scheduler in Kstars 3.2.0 waits for good weather before opening the observatory,
but does not close down when weather gets bad. That's where this script aims to help.
loop:
weather safe ?
yes:
scheduler running ?
yes:
ok
no:
start scheduler
no:
scheduler running ?
yes:
stop scheduler
park mount
close cap
close roof
warm ccd
no:
ok
Instead of 'scheduler running ?' we have to use 'roof closed ?' for now.
Modify the static config in this script for your setup.
optional arguments:
-h, --help show this help message and exit
--indi_host INDI_HOST
INDI server address
--indi_command_retries INDI_COMMAND_RETRIES
try INDI commands this amount of times before giving
up, defaults to 1
--debug enable debug level verbosity
--once run only once, useful for debugging
--get_weather_safety for testing: only call get_weather_safety
--get_mount_safety for testing: only call get_mount_safety
--get_cap_safety for testing: only call get_cap_safety
--get_roof_safety for testing: only call get_roof_safety
--park_mount for testing: only call park_mount
--close_cap for testing: only call close_cap
--close_roof for testing: only call close_roof
--warm_camera for testing: only call warm_camera
Only --indi-host is required for normal operation, the rest is for debugging and testing
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.