This PR adds integration with the now in-place Azure IoT Hub, allowing for data streaming to it (as one of the registered devices - e.g. Rpi).
It also restructures the SQL queries to work with the modified Azure SQL DB (Timestamp is now a datetime type value, as there were some rounding errors with using floats and repeating primary keys).
Additionally reformats keys usage so they aren't public, using dotenv library. (Pushed is a .env.template file, which should be modified with the existing keys, from Azure directly).
Finally, adds a (yet incomplete) requirements.txt file.
Description
This PR adds integration with the now in-place Azure IoT Hub, allowing for data streaming to it (as one of the registered devices - e.g. Rpi). It also restructures the SQL queries to work with the modified Azure SQL DB (
Timestamp
is now adatetime
type value, as there were some rounding errors with using floats and repeating primary keys). Additionally reformats keys usage so they aren't public, usingdotenv
library. (Pushed is a.env.template
file, which should be modified with the existing keys, from Azure directly). Finally, adds a (yet incomplete)requirements.txt
file.Type of change
Issues
Closes #25 Closes #24