overthesun / simoc-sam

Back-end system to support SIMOC Live air quality monitor sensor array as used at the SAM Mars habitat analog.
https://samb2.space/
2 stars 1 forks source link

Add vernier-WTHR sensor driver. #51

Closed ezio-melotti closed 1 year ago

ezio-melotti commented 1 year ago

This PR adds support for the Vernier Weather System sensor.

The code is mostly copy-pasted from the other two Vernier drivers. At some point we should refactor it to remove duplication and possibly write a universal driver that will support all Vernier sensors.

kstaats commented 1 year ago

Thanks Ezio.

On 4/17/23 22:05, Ezio Melotti wrote:

This PR adds support for the Vernier Weather System sensor.

The code is mostly copy-pasted from the other two Vernier drivers. At some point we should refactor it to remove duplication and possibly write a universal driver that will support all Vernier sensors. You can view, comment on, or merge this pull request online at:

https://github.com/overthesun/simoc-sam/pull/51

-- Commit Summary --

  • Add vernier-WTHR sensor driver.

-- File Changes --

 M src/simoc_sam/sensors/vernier.py (6)
 A src/simoc_sam/sensors/vernierWTHR.py (78)

-- Patch Links --

https://github.com/overthesun/simoc-sam/pull/51.patch https://github.com/overthesun/simoc-sam/pull/51.diff