I would like to have a simple script that reads a note and if it says "1", for example, it parks the telescope. If it says "0", waits some time and reads it again.
It would do it while a normal session with INDI and Kstars is going on. The note would be received from another computer in the same network.
I am almost new to scripts in Linux so any help would be appreciated.
The computer is a Raspberry Pi 3b+ and the telescope is a Meade LX200 GPs.
Observatorio El gallinero
El Berrueco, Madrid, Spain
And if its is "1", the session goes on and if it is "0", triggers an alert, correct?
But i did not find an option to park the telescope in the weather tab in Eckos. There are options for roof closure only.
Thanks for your answer. I tried the script adapted to my set up but could not make it work.
I wrote a pretty simple script to check if it works, it seems to work when run the module with IDLE, i get this: