[WiFi] Documentation of new WiFi#APmodeEnabled / Disabled events

This commit is contained in:
TD-er
2018-12-19 22:13:53 +01:00
parent 8b8174daef
commit fd9f63aab9
+27
View File
@@ -315,6 +315,33 @@ boot/reboot/time/sleep etc. of the unit:
Publish,%sysname%/status,AP changed
endon
"
"
``WiFi#APmodeEnabled``
Triggered when the ESP has set the AP mode (access point) active.
This may happen when no valid WiFi settings are found or the ESP cannot connect to the set AP, but it can also be enabled via some command.
N.B. Sending a publish command may not be very useful on this event, since this will mainly happen when there is no WiFi connection.
","
.. code-block:: html
on WiFi#APmodeEnabled do
... // Some command
endon
"
"
``WiFi#APmodeDisabled``
Triggered when the ESP has disabled the AP mode (access point).
This can happen some time (default 60 seconds) after a WiFi connection has been made. Or disabled using some command.
","
.. code-block:: html
on WiFi#APmodeEnabled do
Publish,%sysname%/status,AP disabled
endon
"
"
``Login#Failed``