**TODO** : Check commands M..Z and check for all commands whether the "class" is still valid. .. csv-table:: :header: "Command", "Class", "Purpose / Syntax" :widths: 8, 5, 30 " AsyncEvent"," :blue:`Special`"," Schedule an event, it's possible to send a float value along as well. This is the same as a regular event, but it will not be executed immediately. Instead it will be added to an event queue. Use this to keep rules execution times as short as possible. N.B. New values sent by a task will also be of this type. See event syntax below..." " AccessInfo"," :red:`Internal`"," Show allowed IP range for the web interface. ``AccessInfo`` Example output: ``Allowed IP range : 192.168.10.0 - 192.168.10.255``" " Background"," :red:`Internal`"," Process background tasks. ``Background``" " Build"," :red:`Internal`"," Get or set build information. This will not be stored, so only valid until reboot. ``Build`` ``Build,12345`` Example output: ``Build:20104``" " ClearAccessBlock"," :red:`Internal`"," Clear allowed IP range for the web interface for the current session. See also ``AccessInfo``. ``ClearAccessBlock``" " ClearPassword"," :red:`Internal`"," Clear the password of the unit. See also ``Password``. ``ClearPassword,``" " ClearRTCram"," :red:`Internal`"," Clear all (cached) data from the RTC memory. This data is persistent as long as the node is powered and thus survives a reboot or crash. ``ClearRTCram``" " ClearSdkWifi"," :red:`Internal`"," ESP8266 only (added: 2022/11/11) Clear the 12k SDK WiFi partition at the end of the flash memory. This data is used by the ESP8266 Arduino SDK to keep some persistent WiFi settings. When WiFi is performing badly, it might be useful to clear this section. Especially when switching SDK build revisions, like when switching between regular builds and 'beta' or 'alt.WiFi' builds. Please reboot after clearing this partition. See also ``ClearWifiRFcal`` command. ``ClearSdkWifi``" " ClearWifiRFcal"," :red:`Internal`"," ESP8266 only (added: 2022/11/11) Clear the 4k RFcal partition near the end of the flash memory. This data is used by the ESP8266 Arduino SDK to keep store WiFi RF calibration data. When WiFi is performing badly, it might be useful to clear this section. Especially when switching SDK build revisions, like when switching between regular builds and 'beta' or 'alt.WiFi' builds. Another reason to clear the RF calibration is when initial RF calibration was done with a different power supply, or when WiFi performs badly after placing the ESP in a different enclosure which may de-tune the antenna. Please reboot after clearing this partition. See also ``ClearSdkWifi`` command. ``ClearWifiRFcal``" " Config"," :red:`Internal`"," Remote config of a task. This allows for actually change the config as stored in the settings for a task. The syntax is like ``config,task,,`` Right now only the ``Regulator - Level Control`` plugin (P021) supports this via its ``SetLevel`` command. Later other config options might be added, like ``SetInterval`` or other generic options. Example for the task named 'VoltageLevel': ``config,task,VoltageLevel,SetLevel,22``" " ControllerDisable"," :red:`Internal`"," Disable a controller. This will not save the settings, but if the settings get saved anyway the controller will remain disabled at reboot. ``ControllerDisable,``" " ControllerEnable"," :red:`Internal`"," Enable a controller. (Only possible when a protocol is assigned to the controller index) This will not save the settings, but if the settings get saved anyway the controller will remain enabled at reboot. ``ControllerEnable,``" " DateTime"," :red:`Internal`"," Get or set the date and time (optional). Usage: ``Datetime[,YYYY-MM-DD[,hh:mm:ss]]`` Examples: * ``Datetime,2020-02-29,00:23:00`` * ``Datetime,2020-02-29`` - set node time '2020-02-29 00:00:00' * ``Datetime`` - get current node time Time source will be set to ``Manual_set`` until the time will be updated via another source. (e.g. GPS or NTP)" " Debug"," :red:`Internal`"," Change Serial port debug level ``Debug,<1-4>``" " Dec"," :red:`Internal`"," Decrement the value of variable n (1..INT_MAX), or use a variable name, by 1 or an optional value. ``Dec,[,]`` (``value`` = 1 by default) Examples: ``Dec,1,4`` ``Dec,angle,0.005`` See also ``Let`` and ``Inc``." " DeepSleep"," :red:`Internal`"," Switch the node to deep sleep. Max sleep time depends on library version and differs from roughly 71 minutes (4294 sec.) to 3h46 for ESP8266, and up to 8 years (281474976 sec.) on ESP32 (theoretically). If you specify a Min sleep time of 0, you'll have to wake the device yourself by pulling RST to GND. If you specify a negative sleep time value, the maximum will be applied. ``DeepSleep,``" " Delay"," :green:`Rules`"," Delay rule processing. Warning: Do not use this as it may cause all kinds of issues. ``Delay,``" " DNS"," :red:`Internal`"," Get or set DNS configuration. ``DNS`` ``DNS,8.8.8.8`` Example output: ``DNS:192.168.88.1(DHCP)``" " DST"," :red:`Internal`"," Get or set Daylight Saving Time. ``DST`` ``DST,0`` to disable, ``DST,1`` to enable Example output: ``DST:true``" " EraseSDKwifi"," :red:`Internal`"," Erase WiFi settings that may have been stored in the SDK wifi settings area. ``EraseSDKwifi``" " Event"," :blue:`Special`"," Create an event, it's possible to send a float value along as well. See event syntax below..." " ExecuteRules"," :red:`Internal`"," Execute the rules in a specific file on the file system. ``ExecuteRules,``" " FactoryReset"," :red:`Internal`"," Reset config to factory default. Caution, all settings will be lost! |changed| 2024-08-10: Renamed ``Reset`` command to ``FactoryReset`` to avoid accidentally wiping the configuration when ``Reboot`` was the intended action... ``FactoryReset``" " Gateway"," :red:`Internal`"," Get or set the gateway configuration ``Gateway`` ``Gateway,192.168.1.1`` Example output: ``Gateway:192.168.10.254(DHCP)`` " " HiddenSSID"," :red:`Internal`"," Get or set the Include Hidden SSID setting ``HiddenSSID`` ``HiddenSSID,true`` (can use ``1``, ``true`` or ``on`` to enable, and ``0``, ``false`` or ``off`` to disable) Example output: ``Include Hidden SSID:true``" " I2Cscanner"," :red:`Internal`"," Run I2C scanner to find connected I2C chips. Output will be sent to the serial port. ``I2Cscanner[,1]`` Added: 2024-06-14: With the optional debug argument ``1`` provided, the returned I2C status (error) code will be listed for *all* tested I2C addresses. Added: 2024-06-14: Scan is performed at the Low I2C speed configured (default 100 kHz). When having an I2C multiplexer configured, all channels of the multiplexer will also be scanned. Example output: .. code-block:: none >i2cscanner Standard I2C bus I2C : Found 0x3c I2C : Found 0x40 I2C : Found 0x5a >i2cscanner,1 Standard I2C bus I2C : Error 2 at 0x01 I2C : Error 2 at 0x02 I2C : Error 2 at 0x03 ... I2C : Error 2 at 0x3f I2C : Found 0x40 I2C : Error 2 at 0x41 ... I2C : Error 2 at 0x7e I2C : Error 2 at 0x7f " " Inc"," :red:`Internal`"," Increment the value of variable n (1..INT_MAX), or use a variable name, by 1 or an optional value. ``Inc,[,]`` (``value`` = 1 by default) Example: ``Inc,1,0.002`` ``Inc,border,2`` See also ``Let`` and ``Dec``." " IP"," :red:`Internal`"," Get or set IP address ``IP`` ``IP,`` Example output: ``IP:192.168.10.86(DHCP)``" " Latitude"," :red:`Internal`"," Set the latitude for the unit, that's used when calculation the sunrise/sunset times. ``Latitude[,]`` Range: -90 .. 90 (decimal, negative is southern hemisphere) When no argument is provided, the current setting is shown. See also ``Longitude``." " Let"," :red:`Internal`"," Set the value of variable n (1..INT_MAX), or use a variable name. ``Let,,`` Examples: ``Let,1,10.5`` ``Let,border,3`` See also ``Inc`` and ``Dec``." " Load"," :red:`Internal`"," Load (reload) the stored settings. ``Load``" " LogEntry"," :red:`Internal`"," Add string to log ``LogEntry,[,]`` ```` is optional and can be any of these (numeric) values: - 1 = ERROR - 2 = INFO (default) - 3 = DEBUG - 4 = DEBUG_DEV When a ```` is provided, it will be present in the log output if the 'Tolerant last parameter' Advanced setting is enabled." " LogPortStatus"," :red:`Internal`"," Display status information about all ports ``LogPortStatus``" " Longitude"," :red:`Internal`"," Set the longitude for the unit, that's used when calculation the sunrise/sunset times. ``Longitude[,]`` Range: -180 .. 180 (decimal, negative is west of the prime meridian) When no argument is provided, the current setting is shown. See also ``Latitude``." " LoopTimerSet LoopTimerSet_ms"," :green:`Rules`"," Start a sequence of timed events * ``LoopTimerSet,,`` * ``LoopTimerSet_ms,,