blob: b6070ee3104c453ac677fe25a15a43d34811e6a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
|