From 2fb55882d733d8c1e28a49153ef6c3449ebe7998 Mon Sep 17 00:00:00 2001 From: Erg Date: Wed, 27 Nov 2024 17:45:03 +0100 Subject: Restructurisation --- config.py.example | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'config.py.example') 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 -- cgit v1.2.3-65-gdbad