Another astronomical observatory manager. This project either uses, or is directly inspired by:
Quick overview of what you will be able to see and manage through this project
sudo apt-add-repository ppa:mutlaqja/ppa
sudo add-apt-repository ppa:pch/phd2
sudo apt-get update
sudo apt-get install \
astrometry-data-4208-4219\
extra-cmake-modules\
gpsd\
indi-full\
kdelibs5-dev\
kdoctools-dev\
kstars-bleeding\
libastrometry*\
libboost-dev\
libboost-regex-dev\
libcfitsio-dev\
libcurl4-openssl-dev\
libfftw3-dev\
libftdi-dev\
libftdi1-dev\
libgphoto2-dev\
libgps-dev\
libgraphviz-dev \
libgsl-dev\
libindi-dev\
libindi1\
libjpeg-dev\
libkf5configwidgets-dev\
libkf5crash-dev\
libkf5declarative-dev\
libkf5globalaccel-dev\
libkf5kdelibs4support5-bin\
libkf5newstuff-dev\
libkf5notifications-dev\
libkf5notifyconfig-dev\
libkf5plotting-dev\
libkf5windowsystem-dev\
libkf5xmlgui-dev\
libnova*\
libogg-dev\
libpython3-dev\
libqt5svg5-dev\
libqt5websockets5-dev\
libraw-dev\
librtlsdr-dev\
libtheora-dev\
libtiff-dev\
libusb-1.0-0-dev\
libwxgtk3.0-dev\
phd2\
qttools5-dev-tools\
swig3.0\
wcslib-dev\
xplanet\
zlib1g-dev\
-y
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
sudo apt-get update
sudo apt-get install -y texlive-latex-recommended texlive-publishers texlive-bibtex-extra texlive-science
Then build with
python setup.py gen_report
pip install Cython setuptools wheel requests pyindi-client requests-cache watchdog astropy ntplib astroplan matplotlib tzwhere astroquery pymongo rawpy serial pyserial socket astroalign If you want to run the astrometry server locally, use: pip install django Pillow
sudo apt-get install libzstd-dev
sudo apt-get install libz-dev
sudo apt-get install rapidjson-dev
sudo apt-get -y install libsasl2-dev
sudo apt-get -y install libssl-dev
git clone https://github.com/edenhill/librdkafka
cd ./librdkafka
git checkout v1.9.2-RC3
./configure && make -j8 && sudo make install && ldconfig
pip install --no-binary :all: confluent-kafka
If you are interested in compiling/using the arduino stuff here, please download the official Arduino IDE, and define the following environment variable: $ARDUINO_SDK_PATH
export ARDUINO_SDK_PATH="/opt/arduino-1.8.19/"
cd Arduino
mkdir build && cd build
cmake ..
make
cd ..
./upload.sh
check installation information on: https://github.com/knro/indiwebmanager
pip install indiweb
sudo cp indiwebmanager.service /etc/systemd/system/
sudo chmod 644 /etc/systemd/system/indiwebmanager.service
sudo systemctl daemon-reload
sudo systemctl enable indiwebmanager.service
content of indiwebmanager.service
# From https://github.com/knro/indiwebmanager
# sudo pip install indiweb
# sudo cp indiwebmanager.service /etc/systemd/system/
# sudo chmod 644 /etc/systemd/system/indiwebmanager.service
# sudo systemctl daemon-reload
# sudo systemctl enable indiwebmanager.service
# sudo reboot
# sudo systemctl status indiwebmanager.service
[Unit]
Description=INDI Web Manager
After=multi-user.target
[Service]
Type=idle
# MUST SET YOUR USERNAME HERE.
User=rock
ExecStart=/usr/local/bin/indi-web -v --xmldir /home/user/projects/RemoteObservatory/conf_files/indi_driver_conf
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
go to your set of build directories:
First, if you have a custom configuration for your own setup, set the proper variable in you console:
export REMOTE_OBSERVATORY_CONFIG=backyard_config
./apps/launch_indi_simu.sh
PYTHONPATH=. python ./apps/launch_remote_observatory.py
./apps/launch_PAWS.sh
sudo apt-get install libgirepository1.0-dev gobject-introspection pip install PyGObject or conda install -c conda-forge pygobject
pip install dash dash-core-components dash-html-components dash-renderer plotly
For now, RemoteObservatory uses some web service to acquire data, so ensure that you have a json file containing the key for each API in your home directory:
PYTHONPATH=. python3 ./apps/launch_arduino_capture.py