Partial implementation of settings & sensors

This commit is contained in:
Krumel
2021-04-20 20:51:36 +02:00
parent fb3d7a73e2
commit b62201537a
4 changed files with 195 additions and 4 deletions

11
settings.py Normal file
View File

@ -0,0 +1,11 @@
node_name = "node_mpt_01"
wifi_ssid = "espnet"
wifi_psk = "esp32net"
influx_token = "5TQvTkulmC6C_EIBE5objHDPROqdUjhCQbqA9pDL2V-D-MDMq8HXmC4azbapB-8O_8stypSGUCdmqpITHaosow=="
influx_bucket = "sensornodes"
influx_org = "none"
influx_url = "https://influx.krumel.moe/api/v2/write?org={org}&bucket={bucket}&precision=s".format(org=influx_org, bucket=influx_bucket)
influx_header = "Authoirzation: Token {}".format(influx_token)