diff options
author | Erg <uinarf@autistici.org> | 2024-10-21 17:02:14 +0200 |
---|---|---|
committer | Erg <uinarf@autistici.org> | 2024-10-21 17:02:14 +0200 |
commit | 1be9a52f11d7bb9cf519c6ee8027c9029824e29c (patch) | |
tree | a71b0edf5c4748000a8f5515dd215a9052ef927e /config.py.example | |
download | Pico-1be9a52f11d7bb9cf519c6ee8027c9029824e29c.tar.gz Pico-1be9a52f11d7bb9cf519c6ee8027c9029824e29c.tar.bz2 Pico-1be9a52f11d7bb9cf519c6ee8027c9029824e29c.zip |
Comment change
Diffstat (limited to 'config.py.example')
-rw-r--r-- | config.py.example | 39 |
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 |