-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.sample.lua
More file actions
39 lines (27 loc) · 914 Bytes
/
settings.sample.lua
File metadata and controls
39 lines (27 loc) · 914 Bytes
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
return {
-- Settings for connecting to an existing access point as a station
station = {
-- local wifi name
ssid = "my network",
-- local wifi password
password = "password123",
},
-- Settings for the weather provider
openweathermap = {
-- Get an API key from https://openweathermap.org/home/sign_up
key = "abc123",
-- Location to be used as the `q` parameter, as defined in https://openweathermap.org/current#name
location = "Campinas,SP,BR",
-- Units of measurement: https://openweathermap.org/current#data
units = "metric",
-- Language: https://openweathermap.org/current#multi
language = "pt_br",
},
-- Name servers to resolve hostnames
dns = {
primary = "8.8.8.8",
secondary = "8.8.4.4",
},
-- Update every 15 minutes
watch_dog = 60 * 15,
}