This is an old revision of the document!
Firmware Team Meeting - October 18, 20, 2022
Attended: Jaeden, Jon, Lyon
Updates
October 18, 2022
- Implemented changes to gateway on own environment, made a pull request, and merged to master
- Systemd configuration for running the gateway automatically in the background
- see page for some details: https://wiki.scel-hawaii.org/doku.php?id=user:kluong:running_a_service_in_production
- Time zone patch:
-
- Note: error will pop up, make sure TIMEZONE is actually TIME ZONE
- git apply timezone.patch
- git status
-
- Dropped tables to recreate new ones with time patch –> avoids inserting errors that will arise in the future
- Command to automatically make tables: psql -d weatherbox -f multi-table.sql
- Fake mode patch
- git apply fake-mode.patch
- git status
- Plugged in old HDD and it works
- Need to find where old data is –> old postgres data
October 20, 2022
- Changed line 99 of xbee_gateway.py –> now = datetime.now(timezone.utc) → now = datetime.datetime.now(datetime.timezone.utc)
- Approved pull request and merged to master
- Fake patch
- Used own environments to create changes and make pull requests
- Restored files on lab computer
- Did a git pull to update files on lab computer to latest versions
- Note: issue with import statements in gateway_server.py (from decoder… take out the “.” from before the file)
- Staging environment
- Created tables on raspberrypi
Goals
- Gateway maintenance
Meeting
- Tuesday, Thursday: 1:00-3:30pm