Digital-Waters / WaterMonitorDevice

All the code that runs on our water monitoring devices.
0 stars 0 forks source link

As a system, I want the thermometer sensor data part of the main monitoring loop so it is included in the device data payload. #7

Closed digitalwaters-jason closed 3 weeks ago

digitalwaters-jason commented 2 months ago

To ensure comprehensive monitoring, the thermometer sensor data must be accurately integrated into the main monitoring loop. This involves:

Ensuring accurate data acquisition from the temperature sensor. Storing the temperature data locally. Formatting the temperature data as a float and storing it as a string for transfer.

Acceptance Criteria:

Data Acquisition: The system successfully reads temperature data from the thermometer sensor. The temperature sensor data is accurate to within 0.1 degrees Celsius.

Data Storage: The temperature data is stored locally on the device. The data is stored in the format of a float converted to a string.

Data Integration: The thermometer sensor data is included in the main monitoring loop. The temperature data is included in the device data payload sent during each monitoring cycle.

Testing: Unit tests are in place to verify data acquisition and storage accuracy. Integration tests confirm the inclusion of temperature data in the main monitoring loop and the device data payload.

digitalwaters-jason commented 3 weeks ago

This has been completed by Anjana and refactored. Closing