weatherbox:gateway:start

Gateway

The software to collect and decode the various packets transmitted by the different generations of weatherboxes. A module of the Unified Software Team.

Gateway Repository:


Fake and Bridged Mode

  • Utilize Socket Connections
    1. For potential real-time data connection
    2. Remove overhead of .csv files (current implementation w/alpha.scel-hawaii.org)
  • Improve Data Formatting for Forecasting Team
    1. Parse Time field into separate fields
      1. Day, Month, Year, Time
    2. Unit Conversions

  • Collect incoming packets and input the data into database tables


  while no packets to process:
      wait for packets
  
  
  extract rf data from packet
  determine schema number
  If schema is 0
      decode as heartbeat packet
  else if schema is 1
      decode as apple packet
  else if schema is 2
      decode as cranberry packet
  else if schema is 3
      decode as dragonfruit packet
  else if schema is 5
      decode as gps packet
  
  Print data to stdout
  Add data to respective .csv file
  Write data to respective database table

Testing Weatherbox Packets

Testing Gateway with Simulated Packets


Authors

Contributing authors:

aobatake kluong tbyers

Created by tbyers on 2016/11/16 00:57.

  • weatherbox/gateway/start.txt
  • Last modified: 2021/09/19 21:59
  • (external edit)