forked from esper-hub/esper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfiguration.mk.example
55 lines (35 loc) · 1.31 KB
/
Configuration.mk.example
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## WiFi configuration to use
WIFI_SSID =
WIFI_PWD =
## MQTT Server to use
MQTT_HOST = mqtt
MQTT_PORT = 1883
## MQTT Credentials (optional)
# MQTT_USERNAME =
# MQTT_PASSWORD =
## The base of all device topics. Each devices uses ${MQTT_REALM}/${DEVICE_ID} as its base topic
MQTT_REALM = my/realm
## If set to true, a HTTP is used to export the device info
INFO_HTTP_ENABLED = true
## The HTTP server port
INFO_HTTP_PORT = 80
## If set to true, a message each 60 seconds is expected or a reboot is triggered
HEARTBEAT_ENABLED = true
## The topic to expect the heartbeat on, defaults to $(MQTT_REALM)/heartbeat
HEARTBEAT_TOPIC = $(MQTT_REALM)/heartbeat
## If set to true, the OTA functionality is enabled
UPDATE_ENABLED = true
## The URL prefix to fetch updates from
UPDATE_URL = http://$(MQTT_HOST):80/firmware/
## If set, an update request is triggered at the given interval (in seconds)
UPDATE_INTERVAL = 3600
## ESP_HOME sets the path where ESP tools and SDK are located.
# ESP_HOME = /opt/esp-open-sdk
## SMING_HOME sets the path where Sming framework is located.
# SMING_HOME = /opt/sming/Sming
## COM port parameter is reqruied to flash firmware correctly.
# COM_PORT = /dev/tty.usbserial
# COM_SPEED = 115200
# COM_SPEED_ESPTOOL = 4000000
## Configure flash parameters (for ESP12-E and other new boards):
# SPI_MODE = dio