Am in the process of automating my observatory. Am stuck on how to operate the dust cover. I have contacted the telescope manufacturer who also make their own control system. They have sent me this in reply to my query about how that might be done:

You can also control DustCover via the Application Programming Interface (API) interface.

SetDustCoverOpens/Closes the DC-Flaps.
Returns the current DustCover status, 1 = Open or 0 = Closed.

I haven't written in javascript since the late 90's. I have read the threads on the flip-flap in this forum area but I am still not closer to writing the code I need. Probably most simply would be to have code that I can insert into my StartUp and Shutdown scripts. Also having direct control through a tiddler would be helpful for manual control.

Any assistance would be greatly appreciate.