summaryrefslogtreecommitdiff
path: root/config.py.example
diff options
context:
space:
mode:
authorErg <uinarf@autistici.org>2024-11-27 17:45:03 +0100
committerErg <uinarf@autistici.org>2024-11-27 17:45:03 +0100
commit2fb55882d733d8c1e28a49153ef6c3449ebe7998 (patch)
tree5487847741f949a95b79a2f9f2046866c1dc9358 /config.py.example
parent6cb8d8a2a42d99e6440a2c0c74c08eca44c2d2df (diff)
downloadPico-2fb55882d733d8c1e28a49153ef6c3449ebe7998.tar.gz
Pico-2fb55882d733d8c1e28a49153ef6c3449ebe7998.tar.bz2
Pico-2fb55882d733d8c1e28a49153ef6c3449ebe7998.zip
RestructurisationHEADmaster
Diffstat (limited to 'config.py.example')
-rw-r--r--config.py.example21
1 files changed, 13 insertions, 8 deletions
diff --git a/config.py.example b/config.py.example
index b6070ee..fe41508 100644
--- a/config.py.example
+++ b/config.py.example
@@ -3,9 +3,9 @@ Settings for main.py
"""
# Wlan settings:
-WLAN_NAME =
-WLAN_PWD =
-COUNTRY =
+WLAN_NAME = 'your_wlan_name'
+WLAN_PWD = 'your_password'
+COUNTRY = 'GR' # Two letter country code
# PID settings
KP = 1
@@ -17,21 +17,26 @@ SAMPLE_TIME = 900
# NTP server address:
NTP_SERVER = 'pool.ntp.org'
# Depends on your location:
-NTP_OFFSET =
+NTP_OFFSET =
+NTP_DELTA =
# MQTT settings:
-MQTT_SERVER_IP =
-MQTT_SERVER =
+MQTT_SERVER_IP =
+MQTT_SERVER =
MQTT_PORT = 8883
-MQTT_CLIENT_ID =
-MQTT_USER =
+MQTT_CLIENT_ID =
+MQTT_USER =
MQTT_TOPIC = 'temperature'
+MQTT_TOPIC_CERT_RENEWAL = 'cert_renew'
# TLS settings:
SSL_CERT_FILE = "pico_crt.der"
SSL_KEY_FILE = "pico_key.der"
SSL_CADATA_FILE = "ca_crt.der"
+# Save latest valid timestamp to this file:
+LATEST_TIMESTAMP_FILE = 'latest_timestamp.txt'
+
# Mosfet pin:
MOSFET_PIN = 5