Load credentials and settings from config file
This commit is contained in:
12
data/example.json
Normal file
12
data/example.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ssid": "",
|
||||
"psk": "",
|
||||
"mqtt_host": "",
|
||||
"mqtt_user": "",
|
||||
"mqtt_password": "",
|
||||
"mqtt_port": 1883,
|
||||
"mqtt_topic": "",
|
||||
"device_id": "",
|
||||
"sleep_time": 30,
|
||||
"connection_attempts": 60
|
||||
}
|
||||
Reference in New Issue
Block a user