Commit 516f7db7 authored by Käppler's avatar Käppler
Browse files

Clarify documentation of `reset` command

The old wording 'sensor' for the whole controller can be
misleading.
parent ce17be45
...@@ -85,7 +85,7 @@ In Arduino IDE *Serial Monitor* or PlatformIO *Monitor*, type `help` + <kbd>Ente ...@@ -85,7 +85,7 @@ In Arduino IDE *Serial Monitor* or PlatformIO *Monitor*, type `help` + <kbd>Ente
* `lora 300` (Sets LoRaWAN sending interval, in s). * `lora 300` (Sets LoRaWAN sending interval, in s).
* `mqtt 60` (Sets MQTT sending interval, in s). * `mqtt 60` (Sets MQTT sending interval, in s).
* `night_mode` (Toggles night mode on/off). * `night_mode` (Toggles night mode on/off).
* `reset` (Restarts the sensor). * `reset` (Restarts the ESP).
* `reset_scd` (Resets SCD30). * `reset_scd` (Resets SCD30).
* `send_local_ip` (Sends local IP and SSID via MQTT. Can be useful to find sensor). * `send_local_ip` (Sends local IP and SSID via MQTT. Can be useful to find sensor).
* `set_time 1618829570` (Sets time to the given UNIX time). * `set_time 1618829570` (Sets time to the given UNIX time).
......
...@@ -85,7 +85,7 @@ Ampel::Ampel() : ...@@ -85,7 +85,7 @@ Ampel::Ampel() :
sensor_console::defineCommand("free", Ampel::showFreeSpace, F("(Displays available heap space)")); sensor_console::defineCommand("free", Ampel::showFreeSpace, F("(Displays available heap space)"));
sensor_console::defineCommand("reset", []() { sensor_console::defineCommand("reset", []() {
ESP.restart(); ESP.restart();
}, F("(Restarts the sensor)")); }, F("(Restarts the ESP)"));
} }
Ampel ampel; Ampel ampel;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment