add EQUINOX, pier side and JD to stellarium daemon

This commit is contained in:
eddyem
2020-02-23 12:34:42 +03:00
parent 9225e28d2e
commit f6fdff12a5
16 changed files with 133 additions and 21 deletions

26
Daemons/astrosib/STARTobs Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# start observation: open everything, turn on power etc
export http_proxy=""
echo "Turn ON hardware power"
ssh obs@192.168.70.34 ~/bin/HWpoweron
echo "Open dome"
curl localhost:55555/open
while true; do
ANS=$(curl localhost:55555/status 2>/dev/null)
echo "Status: $ANS"
[ $ANS = "opened" ] && break
sleep 1
done
echo "Turn ON mount"
ssh obs@192.168.70.34 ~/bin/MOUNTpoweronoff
echo "set camera temperature to -25degrC"
fli_control -t-25
echo "Open telescope doors"
curl localhost:4444/open
while true; do
ANS=$(curl localhost:4444/status 2>/dev/null)
echo "Status: $ANS"
[ $ANS = "opened" ] && break
sleep 1
done