×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Remote Dome operation security

  • Posts: 2247
  • Thank you received: 223
When I strace the watchdog process on the server I get the following repeated over and over:
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1474997332, 879937}, NULL) = 0
gettimeofday({1474997332, 880212}, NULL) = 0
gettimeofday({1474997332, 880425}, NULL) = 0
gettimeofday({1474997332, 880633}, NULL) = 0
select(1, [0], NULL, NULL, {0, 347405}) = 0 (Timeout)
gettimeofday({1474997333, 230992}, NULL) = 0
gettimeofday({1474997333, 232292}, NULL) = 0
gettimeofday({1474997333, 233713}, NULL) = 0
gettimeofday({1474997333, 235301}, NULL) = 0
7 years 6 months ago #10435

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
I've enabled the log file and get:

heidenrod@heidenrod-obs:/tmp$ more indi_watchdog_2016-09-27T16\:52\:13.log
INFO 1878.793872 sec : Session log file /tmp/indi_watchdog_2016-09-27T16:52:13.log
INFO 2272.100479 sec : Watchdog is disabled.
WARNING 2272.217098 sec : Warning! Heartbeat threshold timed out, executing shutdown procedure...
INFO 2287.604954 sec : Watchdog is armed. Please connect to enable it.
INFO 2295.053337 sec : Watchdog is enabled. Shutdown is triggered after 1 minutes of communication loss with the client.
INFO 2300.157136 sec : Watchdog is disabled.
WARNING 2300.228237 sec : Warning! Heartbeat threshold timed out, executing shutdown procedure...
INFO 2324.756211 sec : Watchdog is enabled. Shutdown is triggered after 1 minutes of communication loss with the client.
INFO 2376.610875 sec : Watchdog is disabled.
WARNING 2377.024146 sec : Warning! Heartbeat threshold timed out, executing shutdown procedure...
heidenrod@heidenrod-obs:/tmp$


Now the above info is ONLY triggered when I click disconnect in the Ekos Watchdog module.
The mount itself does NOT move, ie: it does not park.
7 years 6 months ago #10436

Please Log in or Create an account to join the conversation.

Ok I improved the watchdog behavior a bit (tomorrow PPA). At any rate, did you set in the options tab the mount name correctly? What did you set?
7 years 6 months ago #10448

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

set it as follow:
<newTextVector device='WatchDog' name='ACTIVE_DEVICES'>
  <oneText name='ACTIVE_TELESCOPE'>
      EQMod Mount
  </oneText>
  <oneText name='ACTIVE_DOME'>
      Dome Simulator
  </oneText>
</newTextVector>
7 years 6 months ago #10449

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
Just a quick report to say that it works correctly.
I've done some testing with my actual observatory and HEQ5 mount with the telescope on it.... got to be brave...

Opened the box, unparked and slew the telescope, cut off the wifi on the laptop and waited the 1 minute threshold I had set.
1 min passes, mount goes to park position and roof closes after the mount is parked.

success !!!!!!
Last edit: 6 years 9 months ago by Gonzothegreat.
6 years 9 months ago #17072

Please Log in or Create an account to join the conversation.

Time to create page: 0.298 seconds