Skip to content

Releases: aerosense-ai/data-gateway

Add support for sensor coordinates table

31 May 12:10
18801c3
Compare
Choose a tag to compare

Contents (#125)

Enhancements

  • Remove default sensor coordinates

Testing

  • Add missing methods to dummy serial port
  • Update sensor coordinates in documentation and tests

Update documentation

16 Mar 12:04
5bca501
Compare
Choose a tag to compare

Contents (#120)

Operations

  • Update version to reflect docs change

Other

  • Update deployment and installation including balena
  • Complete documentation updates

FIX: Handle command not registered signal

15 Mar 09:55
543fcfc
Compare
Choose a tag to compare

Contents (#117)

Fixes

  • Handle command not registered signal

Add measurement campaign table

09 Mar 17:02
86ff01f
Compare
Choose a tag to compare

Summary

Add support for thew new measurement campaigns table in BigQuery. This allows data to be associated with a measurement campaign that can be given a label and description. The code has also been cleaned up and some bugs fixed.

Contents (#108)

IMPORTANT: There are 2 breaking changes.

New features

  • Add measurement campaign data (start time, end time, label, and available sensors) to session table when uploading a window

Enhancements

  • Replace label field with session_reference in existing tables

Fixes

  • Raise warning if data gateway configuration not present in metadata

Reversions

  • 💥 BREAKING CHANGE: Remove ability to provide label via CLI

Operations

  • Use latest conventional commit message checker
  • Use new Octue GitHub actions in workflows
  • Pin snok/install-poetry to avoid missing poetry bug
  • Ensure poetry is available within tox
  • Use new syntax for setting outputs in GitHub workflow

Dependencies

  • 💥 BREAKING CHANGE: Drop python3.7 support
  • Update dependencies to patch some security vulnerabilities
  • Use octue==0.41.0
  • Add pandas dev dependency
  • Add missing pyarrow dev dependency
  • Combine old dev-dependencies group with new dev group
  • Regenerate requirements files for Raspberry Pi

Refactoring

  • Remove repetition of method call in BatchingUploader
  • Factor stopping the gateway out into a method

Testing

  • Avoid timezone issues with timestamp value of 0
  • Update MockBigQueryClient
  • Rename MockBigQueryClient.rows attribute to inserted_rows
  • Use Mock instead of types.SimpleNamespace
  • Update deployment test to check for session creation

Upgrade instructions

💥 Remove ability to provide label via CLI

Provide a "label" key mapped to the label in the "measurement_campaign" dictionary of the configuration file instead.

💥 Drop python3.7 support

Update to python>=3.8.

Persist battery information to the cloud

13 Feb 13:55
374a087
Compare
Choose a tag to compare

Summary

Persist battery information messages: Timestamp, Voltage, Cycle Count, Capacity to the cloud as "battery_info" sensor data.
Closes #35

Contents (#114)

New features

  • Persist battery info to cloud

Update CI/CD workflows

10 Jan 14:54
0f3797d
Compare
Choose a tag to compare

Contents (#113)

Operations

  • Use new Octue GitHub Actions
  • Speed up release workflow
  • Use working version of install-poetry GitHub action
  • Use python3.9 for CI tests

Chores

  • Update tox.ini format

Docs/improve developer help

07 Dec 09:12
62c0b10
Compare
Choose a tag to compare

Contents (#109)

Enhancements

  • Add extra status to default config

Other

  • Add instructions on scp into device

Enhancement/improved read logging

30 Jul 09:18
233702a
Compare
Choose a tag to compare

Contents (#104)

Enhancements

  • Add example with high speed reading

Operations

  • Add intermittent log to indicate non-frozen read process
  • Make stamped release independent of tests passing
  • Make action name consistent

Uncategorised!

  • Merge pull request #105 from aerosense-ai/fix/add-highspeed-routine

Fix priorities and format locally saved logs

22 Jul 12:38
a7b9c65
Compare
Choose a tag to compare

Contents (#103)

Fixes

  • Correct priority of parse_packets
  • Use consistent log formatter and level for local save
  • Prevent error setting priority on windows systems

Prioritise reader over parser process at CPU level

22 Jul 12:00
8350e99
Compare
Choose a tag to compare

Contents (#102)

New features

  • Prioritise packet reader over parser to reduce node crashes
  • Tee logs to local file to debug and monitor detached processes

Enhancements

  • Alter session subdirectory to a datestamp for easier navigation
  • Make saving local logs optional on the CLI

Testing

  • Account for additional logger statement
  • Enable fail of os.nice() in controlled environments like GHA