Optional steps: Difference between revisions

From Global Meteor Network
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''WARNING: THIS IS A PAGE IN PROGRESS! DO NOT FOLLOW IT IF YOU ARE LOOKING FOR THE BUILDING OF A CAMERA FROM SCRATCH'''
  Ahoj! In this section, you will be introduced to some more, but optional steps.
  Ahoj! In this section, you will be introduced to some more, but optional steps.


Line 22: Line 21:
6) That’s it, the VPN should be working on your Pi! To check the VPN IP address, hover your mouse cursor on the VNC icon (upper right), and it will show you an IP address which looks something like this: 10.8.X.X. If you are also connected to the VPN, you may use this IP address to connect to your camera. If you want to connect to the VPN with your PC, please contact Denis or the GMN group for more details. If you are on Windows, the domain name like ca0001.gmnnet (replace ca0001 with your station code, lowercase) should work too.
6) That’s it, the VPN should be working on your Pi! To check the VPN IP address, hover your mouse cursor on the VNC icon (upper right), and it will show you an IP address which looks something like this: 10.8.X.X. If you are also connected to the VPN, you may use this IP address to connect to your camera. If you want to connect to the VPN with your PC, please contact Denis or the GMN group for more details. If you are on Windows, the domain name like ca0001.gmnnet (replace ca0001 with your station code, lowercase) should work too.


== IstraStream upload ==
== GMN weblog upload (upload to the GMN website - replacement for Istrastream) ==


=== [http://istrastream.com/rms-gmn/ IstraStream GMN status website] ===
=== [https://globalmeteornetwork.org/weblog/ GMN weblog archive] ===


: The IstraStream.com is an independent hosting site which is part of our world wide GMN. It is primarily a host for data from cameras sold by IstraStream, but other station operators can request that their data be included.
: The GMN weblog is a replacement for Istrastream archives and it is recommended that you enable it, although it is not necessary for camera operations. This page adds the possibility to check your daily upload comfortably via the webpage instead of checking it directly on your camera's Raspberry Pi. You may check it in the link above to decide. The website is publicly available.
To enable the IstraStream upload, the <b>external_script_run</b>, <b>external_script_path</b>, and <b>reboot_after_processing</b> parameters have to be changed. This is how the config file should look:
To enable this feature, simply add this to your config file or if it is already there, just enable it. You can add the description of your camera too.
 
[[File:weblog_screenshot.png|1024px|]]
 
'''How to modify your config file'''
 
Boot up your RPi. On the desktop there is a file called “RMS config”, open it.
 
This is how the config file should look, you can add it right after your camera parameters (section [System]) :


<pre>
<pre>
; External script
; An external script will be run after RMS finishes the processing for the night, it will be passed three arguments:
; captured_night_dir, archived_night_dir, config - captured_night dir is the full path to the captured folder of the night
; the second one is the archived, and config is an object holding the values in this config file.
; ---------------
; Enable running an external script at the end of every night of processing
external_script_run: true
; Run the external script after auto reprocess. "auto_reprocess" needs to be turned on for this to work.
auto_reprocess_external_script_run: false
; Full path to the external script
external_script_path: /home/pi/source/RMS/iStream/iStream.py
; Name of the function in the external script which will be called
external_function_name: rmsExternal


; Show this camera on the GMN weblog
weblog_enable: true
; The description that will be shown on the weblog (e.g. location, pointing direction)
weblog_description: none


; Daily reboot
; ---------------
; Reboot the computer daily after the processing and upload is done
reboot_after_processing: false
</pre>
</pre>


Then, send an e-mail to [mailto:info@istrastream.com info@istrastream.com] with your:
Example of the config with position of the weblog:
* Station_ID
* Location or Name (if not secret)
* Lens type/size


For example, "CA0001; Elginfield Observatory, Ontario, Canada; 4mm". The IstraStream crew will enable the weblog page within a few days.
[[File:weblog_config.png]]


Finally, this document explains what every plot on the IstraStream weblog means:
Finally, this document explains what every plot on the GMN weblog/IstraStream weblog means:


=== [https://docs.google.com/document/d/132aHGn0QPzhpVN2s2n6FT6rJn39LAsPkchWJqXQb8Qk/edit?usp=sharing IstraStream Plots Explanation] ===
=== [https://docs.google.com/document/d/132aHGn0QPzhpVN2s2n6FT6rJn39LAsPkchWJqXQb8Qk/edit?usp=sharing GMN weblog/IstraStream Plots Explanation] ===




  You are now done with this section and you may introduce yourself and your fancy new camera to the friendly community. [https://globalmeteornetwork.org/wiki/index.php?title=Build_%26_Install_%26_Setup_your_camera_-_The_complete_how-to Back to the signpost page.]
  You are now done with this section and you may introduce yourself and your fancy new camera to the friendly community. [https://globalmeteornetwork.org/wiki/index.php?title=Build_%26_Install_%26_Setup_your_camera_-_The_complete_how-to Back to the signpost page.]

Latest revision as of 08:08, 18 October 2023

Ahoj! In this section, you will be introduced to some more, but optional steps.

Connecting the camera to VPN (optional)

IMPORTANT NOTE: You should only complete this step if you were instructed to do so.

1) Open the terminal

2) Navigate to Desktop (there should be a DownloadOpenVPNconfig.sh script there):

cd ~/Desktop

3) Run the DownloadOpenVPNconfig.sh script and give it your station code as the argument. In this example I’m using CA0001 - make sure to use your station code.

./DownloadOpenVPNconfig.sh CA0001

4) If everything goes well, you will see the message: Initialization Sequence Completed. Press CTRL + C to exit the script.

5) Reboot your Pi.

6) That’s it, the VPN should be working on your Pi! To check the VPN IP address, hover your mouse cursor on the VNC icon (upper right), and it will show you an IP address which looks something like this: 10.8.X.X. If you are also connected to the VPN, you may use this IP address to connect to your camera. If you want to connect to the VPN with your PC, please contact Denis or the GMN group for more details. If you are on Windows, the domain name like ca0001.gmnnet (replace ca0001 with your station code, lowercase) should work too.

GMN weblog upload (upload to the GMN website - replacement for Istrastream)

GMN weblog archive

The GMN weblog is a replacement for Istrastream archives and it is recommended that you enable it, although it is not necessary for camera operations. This page adds the possibility to check your daily upload comfortably via the webpage instead of checking it directly on your camera's Raspberry Pi. You may check it in the link above to decide. The website is publicly available.

To enable this feature, simply add this to your config file or if it is already there, just enable it. You can add the description of your camera too.

Weblog screenshot.png

How to modify your config file

Boot up your RPi. On the desktop there is a file called “RMS config”, open it.

This is how the config file should look, you can add it right after your camera parameters (section [System]) :


; Show this camera on the GMN weblog
weblog_enable: true
; The description that will be shown on the weblog (e.g. location, pointing direction)
weblog_description: none

Example of the config with position of the weblog:

Weblog config.png

Finally, this document explains what every plot on the GMN weblog/IstraStream weblog means:

GMN weblog/IstraStream Plots Explanation

You are now done with this section and you may introduce yourself and your fancy new camera to the friendly community. Back to the signpost page.