Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
f0b9f433
Commit
f0b9f433
authored
4 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Notes
parent
060b4069
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/web_server.cpp
+4
-0
ampel-firmware/web_server.cpp
with
4 additions
and
0 deletions
+4
-0
ampel-firmware/web_server.cpp
+
4
-
0
View file @
f0b9f433
...
...
@@ -79,6 +79,8 @@ namespace web_server {
# endif
iotWebConf
->
setWifiConnectionTimeoutMs
(
1000UL
*
WIFI_TIMEOUT
);
WiFi
.
setHostname
(
ampel
.
sensorId
);
iotWebConf
->
setWifiConnectionCallback
([]()
{
led_effects
::
showKITTWheel
(
color
::
green
);
Serial
.
println
();
...
...
@@ -120,6 +122,8 @@ namespace web_server {
//TODO: Use HTTP_USER / HTTP_PASSWORD for config
//TODO: Move to own class
//TODO: Remove AP Password config?
//TODO: Save LoRaWAN key if possible?
//FIXME: Why does MQTT fail?
iotWebConf
->
init
();
sensor_console
::
defineCommand
(
"reset_config"
,
[]()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment