mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[WiFi] Documentation of new WiFi#APmodeEnabled / Disabled events
This commit is contained in:
@@ -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``
|
||||
|
||||
Reference in New Issue
Block a user