=====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: * wget https://gist.githubusercontent.com/kennybytes/a54355ad2456bce21bd3874b0525c0e2/raw/8493d0e346c34e6f3d5fee59d7dc4e80bc359443/timezone.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 * wget https://gist.github.com/kennybytes/4bbbec29df847e94859f1ff28cc24244 * git apply fake-mode.patch * patch does not apply * 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 * Old server data from HDD * cd /media/ to cd into hard drive ===== Goals ===== * Gateway maintenance ===== Meeting ===== * Tuesday, Thursday: 1:00-3:30pm