Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 847 Bytes

File metadata and controls

28 lines (16 loc) · 847 Bytes

IOT scripts

Collection of IoT scripts running together with the data_receiver Service.

Enviro+

The script enviro_monitor.py is intended as a background processes running for continous data collection. The data will be sent via requests to a remote API waiting for the data.

Setup

In addition the to the packages listed in the requirements.txt file, it is expect that the Enviro setup has been followed and the packages are installed.

Also create a file called .secrets.toml with the following information:

dynaconf_merge=true

[receiver]
host="XXX.XXX.XXX.XXX"

[enviro_monitor]
api_key="XXXXXX"

Furthermore you should do some test to set the temp_calib_factor in the setting.toml file.