Add serial interface for initial configuratio (#664)
* add SerialReader * fix SerialReader * add config upload script * add serial command to print ip address * update serial script to save configuration and reset after upload * fix updater * fix updater * serial config fixes * serial config fixes * fix wifi static example configuration * add readme for sendcfg.py
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"hostname": "nuki-atom-w5500",
|
||||
"nwhw": "3"
|
||||
}
|
||||
5
scripts/sendcfg/example_configurations/wifi.json
Normal file
5
scripts/sendcfg/example_configurations/wifi.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"hostname": "nuki-123456",
|
||||
"wifiSSID": "YOUR_SSID",
|
||||
"wifiPass": "YOUR_WIFI_PRESHARED_KEY"
|
||||
}
|
||||
12
scripts/sendcfg/example_configurations/wifi_static_ip.json
Normal file
12
scripts/sendcfg/example_configurations/wifi_static_ip.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"dhcpena": "0",
|
||||
"hostname": "nuki-static",
|
||||
"mqttbroker": "192.168.8.100",
|
||||
"mqttpath": "nuki-1234",
|
||||
"ipaddr" : "192.168.8.25",
|
||||
"ipsub" : "255.255.255.0",
|
||||
"ipgtw" : "192.168.8.1",
|
||||
"dnssrv" : "1.1.1.1",
|
||||
"wifiSSID": "YOUR_SSID",
|
||||
"wifiPass": "YOUR_WIFI_PRESHARED_KEY"
|
||||
}
|
||||
Reference in New Issue
Block a user