Anya163 / ECM3440-residential-iot1

1 stars 1 forks source link

Create sensor.py #17

Closed Anya163 closed 3 years ago

Anya163 commented 3 years ago

The sensor.py should only:

The sensor.py should fetch the following from environment variables using the os package (https://www.geeksforgeeks.org/python-os-getenv-method/):

  1. Connection string from Azure IoT Hub
  2. Connection string for CounterFit
fred9702 commented 3 years ago

Actions:

Rename soil-moisture-sensor to more generic sensor directory name.

Create tests directory for sensor tests. ANd make dud test pass.