summaryrefslogtreecommitdiff
path: root/config.py.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.py.example')
-rw-r--r--config.py.example39
1 files changed, 39 insertions, 0 deletions
diff --git a/config.py.example b/config.py.example
new file mode 100644
index 0000000..b6070ee
--- /dev/null
+++ b/config.py.example
@@ -0,0 +1,39 @@
+"""
+Settings for main.py
+"""
+
+# Wlan settings:
+WLAN_NAME =
+WLAN_PWD =
+COUNTRY =
+
+# PID settings
+KP = 1
+KI = 0
+KD = 0
+TARGET_TEMPERATURE = 24
+SAMPLE_TIME = 900
+
+# NTP server address:
+NTP_SERVER = 'pool.ntp.org'
+# Depends on your location:
+NTP_OFFSET =
+
+# MQTT settings:
+MQTT_SERVER_IP =
+MQTT_SERVER =
+MQTT_PORT = 8883
+MQTT_CLIENT_ID =
+MQTT_USER =
+MQTT_TOPIC = 'temperature'
+
+# TLS settings:
+SSL_CERT_FILE = "pico_crt.der"
+SSL_KEY_FILE = "pico_key.der"
+SSL_CADATA_FILE = "ca_crt.der"
+
+# Mosfet pin:
+MOSFET_PIN = 5
+
+# onewire pin:
+ONEWIRE_PIN = 17