LogoLogo
  • Project PANOPTES
  • Overview
    • 🤷‍♀️FAQ
    • 🤖PANOPTES Units
    • ☎️Contact
  • Building Docs
    • 🔭Start Building!
      • Building Overview
      • Safety Guide
      • Parts Listing
    • 🛠️Hardware
      • Control Box
        • Electronics
        • Hardware and Assembly
        • Network Setup
        • Power Distribution
      • Camera Box
        • Camera Setup
        • Electronics
        • Hardware and Assembly
        • 4 Camera Design
      • Mount and Pier
        • Pier
          • Fabrication
          • Assembly
        • Mount
          • Assembly
          • Saddle Plate Rotation
          • Balancing
      • Weather Station
    • 👩‍💻Software
      • Installation
        • Installing OS
        • Installing POCS
        • Installing PowerBoard
      • Configuration
      • POCS Command Line
        • Mount
        • Config Server
        • PowerBoard
        • Weather Station
      • Appendix
        • SSH Access
        • Command Line & The Shell
        • tmux / byobu
        • Services
    • 📋Testing
    • 👷‍♀️Deployment
      • Site Planning
      • Camera Focus
      • Polar Alignment
        • Overview
        • Drift Method
        • Procedure
          • Find Misalignment
          • Fix Misalignment
    • 🪐Operation
      • Automatic Operation
      • Manual Operation
  • Science
    • 📊Data
Powered by GitBook
LogoLogo

Links

  • Forum
  • GitHub
  • Contact

Site

  • Getting Started
  • Teams
  • Data

2023 Project PANOPTES

On this page
  • AAG CloudSensor
  • Configuration
  • Readings
  • Log files
  1. Building Docs
  2. Hardware

Weather Station

Is it raining?

PreviousBalancingNextSoftware

Last updated 1 year ago

AAG CloudSensor

The AAG CloudSensor requires power and a serial-to-usb connection to the control box.

Configuration

The weather sensor has two types of configuration, there first is by changing the internal parameters of the AAG itself and the second is to change what is considered "safe" by the system.

Internal

Ideally you shouldn't need to change the internal parameters. If you are having any issues, see the website and user manual for your specific product.

Thresholds

The thresholds for the system are how POCS determines whether or not the system is "safe". You can view the current settings for these values with:

pocs weather config

These values are set in the configuration file (i.e. ~/conf_files/pocs_local.yaml):

  weather:
    auto_detect: True
    safety_delay: 15    # minutes from bad reading until safe again
    capture_delay: 60   # seconds between taking measurements
    num_readings: 5     # number of readings to average for each measurement
    thresholds:
      cloudy: -25       # Cloudy threshold in delta degrees C
      very_cloudy: -15  # Very cloudy threshold in delta degrees C
      windy: 50         # Windy threshold in km/h
      very_windy: 75    # Very windy threshold in km/h
      gusty: 100        # Gusty threshold in km/h
      very_gusty: 125   # Very gusty threshold in km/h
      wet: 2200         # Ohms of resistance in rain sensor (lower is wetter)
      rainy: 1800       # Ohms of resistance in rain sensor (lower is wetter)

Readings

You can get the current weather readings by using:

pocs weather status

The readings for the weather station are stored in the database, which by default is just a json file in the ~/json_store/panoptes folder. You should be able to find a current_weather.json file if the service is working correctly. You can watch this file change by entering the following in a terminal, which should show the same thing as the above command:

tail -F ~/json_store/panotpes/current_weather.json | jq

Log files

Log files for the weather service are located in ~/logs/weather-reader.log.

🛠️
Lunatico AstronomiaLUNATICOASTRO.COM
Logo