If i’m in command of the observatory, it does not concern me a lot.
But i plan to fully automate the acquisition job, and need a confirmation when the roof is fully open in my dragscript.
That’s the exact purpose of Achille and it works here like a charm
“Everything fails , all the time” is this famous quote from AWS CTO, Werner Vogels says the simple truth, your system or application will eventually fail , usually sooner than later !
For us the roof refuse to close tonight because i guess there was a switch failure !!!
Hopefully the combinaison of gotsx, achille and dragscript was smart enought to raise the alert (SIP INVITE).
Here is the log transcript of clandestine:
2020/11/19 01:12:41 INFO Run Action => Parking
2020/11/19 01:12:41 SUBTITLE Parking Mount
2020/11/19 01:12:41 INFO Mount Parking ...
2020/11/19 01:14:00 INFO Mount Parked
2020/11/19 01:14:00 INFO Mount Tracking OFF
2020/11/19 01:14:00 EVENT Parking Mount Done
2020/11/19 01:14:00 INFO Action Time [PARK_MOUNT] => 1 [m] 18 [s]
2020/11/19 01:14:00 INFO Action Time Mobile Mean [PARK_MOUNT] => 0 [m] 34 [s]
2020/11/19 01:14:00 EVENT Instruction [166]=> IF OK
2020/11/19 01:14:00 EVENT Instruction [167]=> Update String: RoofOperationSafe - "YES"
2020/11/19 01:14:00 INFO Run Variable => Update String: RoofOperationSafe - "YES"
2020/11/19 01:14:00 EVENT Instruction [168]=> Wait Time: 00:00:10 [hh:mm:ss] Interval
2020/11/19 01:14:00 INFO Run Action => Wait Time: 00:00:10 [hh:mm:ss] Interval
2020/11/19 01:14:00 SUBTITLE Wait Time
2020/11/19 01:14:00 INFO Time Wait Start @ 19-11-2020 01:14:00
2020/11/19 01:14:00 INFO Time span of 00:00:10 - Wait End @ 19-11-2020 01:14:10
2020/11/19 01:14:10 EVENT Wait Time Done
2020/11/19 01:14:10 EVENT Instruction [169]=> External Script: C:\Users\***\Documents\Voyager\Command\achille.exe switch mountAtPark; StringCheck=OK, switch confirm that mount is parked
2020/11/19 01:14:10 INFO Run Action => External Script: C:\Users\***\Documents\Voyager\Command\achille.exe switch mountAtPark; StringCheck=OK, switch confirm that mount is parked
2020/11/19 01:14:10 SUBTITLE External Script
2020/11/19 01:14:10 EVENT Starting Executable (achille.exe) => C:\Users\***\Documents\Voyager\Command\achille.exe
2020/11/19 01:14:10 DEBUG Arguments => switch mountAtPark
2020/11/19 01:14:10 DEBUG Wait for finish with Kill Option for timeout => 1000[ms]
2020/11/19 01:14:10 INFO Action Time [ATOMIC_WAIT_FOR_TIME] => 0 [m] 10 [s]
2020/11/19 01:14:10 INFO Action Time Mobile Mean [ATOMIC_WAIT_FOR_TIME] => 0 [m] 54 [s]
2020/11/19 01:14:10 DEBUG EXEC Output :
Nope!
2020/11/19 01:14:10 EVENT EXEC finished OK
2020/11/19 01:14:10 WARNING ERROR (FINISHED) External Script Ret Check KO
2020/11/19 01:14:10 INFO Action Time [ATOMIC_RUN_EXTERNAL] => 0 [m] 0 [s]
2020/11/19 01:14:10 INFO Action Time Mobile Mean [ATOMIC_RUN_EXTERNAL] => 0 [m] 2 [s]
2020/11/19 01:14:10 EVENT Instruction [170]=> IF OK
2020/11/19 01:14:10 EVENT Instruction [172]=> IF ERROR
2020/11/19 01:14:10 EVENT Instruction [173]=> Update String: RoofOperationSafe - "NO"
2020/11/19 01:14:10 INFO Run Variable => Update String: RoofOperationSafe - "NO"
2020/11/19 01:14:10 EVENT Instruction [174]=> External Script: C:\Users\***\Documents\Voyager\Command\gotsx.exe ; StringCheck=OK
2020/11/19 01:14:11 INFO Run Action => External Script: C:\Users\***\Documents\Voyager\Command\gotsx.exe ; StringCheck=OK
2020/11/19 01:14:11 SUBTITLE External Script
2020/11/19 01:14:11 EVENT Starting Executable (gotsx.exe) => C:\Users\***\Documents\Voyager\Command\gotsx.exe
2020/11/19 01:14:11 DEBUG Arguments =>
2020/11/19 01:14:11 DEBUG Wait for finish with Kill Option for timeout => 1000[ms]
2020/11/19 01:14:11 DEBUG EXEC Output :
Get status from TheSkyX: Is mount at Park1 position ?
OK, Mount is parked
2020/11/19 01:14:11 EVENT EXEC finished OK
2020/11/19 01:14:11 EVENT External Script Done, Ret Check OK
2020/11/19 01:14:11 INFO Action Time [ATOMIC_RUN_EXTERNAL] => 0 [m] 0 [s]
2020/11/19 01:14:11 INFO Action Time Mobile Mean [ATOMIC_RUN_EXTERNAL] => 0 [m] 2 [s]
2020/11/19 01:14:11 EVENT Instruction [175]=> IF OK
2020/11/19 01:14:11 EVENT Instruction [176]=> Send Email: ***@*****.*** - Confirm Park1 position - We got confirmation from theSkyX
that t ...
2020/11/19 01:14:11 INFO Run Action => Send Email: ***@*****.*** - Confirm Park1 position - We got confirmation from theSkyX
that t ...
2020/11/19 01:14:11 SUBTITLE Send Email
2020/11/19 01:14:11 EVENT Try Send Mail To => ***@*****.*** ; Subject => Confirm Park1 position
2020/11/19 01:14:11 INFO Mail Sent
2020/11/19 01:14:11 EVENT Send Email Done
2020/11/19 01:14:11 INFO Action Time [ATOMIC_SEND_MAIL] => 0 [m] 0 [s]
2020/11/19 01:14:11 INFO Action Time Mobile Mean [ATOMIC_SEND_MAIL] => 0 [m] 0 [s]
2020/11/19 01:14:11 EVENT Instruction [177]=> IF ERROR
2020/11/19 01:14:11 EVENT Instruction [179]=> Block: Close the roof
2020/11/19 01:14:11 EVENT Instruction [180]=> DO IF STRING VALUE: RoofOperationSafe is Equal to "YES"
2020/11/19 01:14:11 INFO Run Condition => DO IF STRING VALUE: RoofOperationSafe is Equal to "YES"
2020/11/19 01:14:11 WARNING Check String .. NOT MATCH != NO
2020/11/19 01:14:11 EVENT Instruction [194]=> Block: CloseRoofAlert
2020/11/19 01:14:11 EVENT Instruction [195]=> Send Email: ***@*****.*** - Close Roof ALERT - For unknown reason kosmodrom
did not ma ...
2020/11/19 01:14:11 INFO Run Action => Send Email: ***@*****.*** - Close Roof ALERT - For unknown reason kosmodrom
did not ma ...
2020/11/19 01:14:11 SUBTITLE Send Email
2020/11/19 01:14:11 EVENT Try Send Mail To => ***@*****.*** ; Subject => Close Roof ALERT
2020/11/19 01:14:12 INFO Mail Sent
I just read this thread with interest as I’m also a Talon 6 user at e-eye and taking my first steps with Voyager, after using SGP for the first year.
Whilst I can open the roof using dragscript, I’m getting an error message when dragscript tries to close the roof. It does close eventually (I have a 60 sec timing delay set in the Talon driver).
I’m interested in trying the Achille solution and would also be grateful for an short example of how to implement it in practice. Thanks HoxCa for your hard work and contributions to the project!
I’ve never experienced an error message when closing the roof with my dragscript…
Could you post a screenshot of your Talon and Voyager configuration ?
FYI: Achille is just used to be sure that we are in a safe condition before operate the roof and did not interfere with the roof itself. Achille is used just to check the talon switch status from dragscript.
I dont know the system you talk about bout for the error…coming from ASCOM chooser not from Voyager
Latebinding is something related to ASCOM version, COM version, ASCOM or Driver installation (missing or damaged).
if you driver delay is so big try to increase the time for command here (Waiting time after Command before starting read status) default is 4s: https://wiki.starkeeper.it/index.php/Dome_Setup
The Ascom problem is unrelated to Voyager. I included the picture just in case HoxCa could offer a solution. (We are both at e-eye).
Not sure if you‘re familiar with the background, but e-eye provide a unit with its own ROR and Talon 6 controller. Everything else is the responsibility of the client.
As a result, I know very little about Talon, compared to other components of my setup.
Thanks for the tips. I‘ll investigate them tomorrow.
Your screen capture looks weird.
Have you check for the correct operation of the talon roof directly from the voyager command panel without dragscript ?
Seems to be a misconfiguration somewhere on your side, i will post you some screenshot of our roof with voyager tomorrow.
I don’t know what you are doing with the dragonfly test script here…
Feel free to DM me if you want.
I reinstalled the Talon driver and ran it as admin and the problem with the Ascom properties was solved.
Also, thanks to Leonardo’s tip, the roof now closes without the error message.
Due to Corona, the guys at e-eye had to build my telescope for me, which meant I didn’t reallly understand the roof at first and had two closures onto my scope(!) which meant that I didn’t trust the roof for a long time.
I’ve now spent some time reading the manual and testing the setup, so that I feel confident to implement a few protections such as the loss of Internet and Loss of Connection. Eventually, I hope to deal with the weather based closures through Voyager as I don’t find the cloud sensor on the Cloudwatcher reliable enough at the moment.
I still need to figure out why I can’t run the Dragonfly scripts from Voyager, but that’s another story. The test script should just close a relay, but for some reason doesn’t.
Voyager is installed to work like admin and this is the right way to work with it.
DragonFly have not problem to run with Voyager. Do not jump from admin / not admin without restart PC or you will cannot connect what before was connected fine.