mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 09:36:59 +00:00
34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
.. csv-table::
|
|
:header: "Command (GPIO/Value)", "Extra information"
|
|
:widths: 20, 30
|
|
|
|
"
|
|
``ResetPulseCounter,<taskIndex>``
|
|
","
|
|
Reset the counters (pulse counter and total counter) of P003 Pulse Counter.
|
|
|
|
The taskIndex parameter is optional. When not given, only the first task with this plugin will be cleared.
|
|
|
|
A call to reset the value will also trigger a call to ``PLUGIN_READ`` as if it processes a normal successful read.
|
|
"
|
|
"
|
|
``SetPulseCounterTotal,value,<taskIndex>``
|
|
","
|
|
Set the value of the total count of P003 Pulse Counter.
|
|
|
|
The taskIndex parameter is optional. When not given, only the total count of the first task with this plugin will be set.
|
|
|
|
A call to set the counter total will also trigger a call to ``PLUGIN_READ`` as if it processes a normal successful read.
|
|
|
|
N.B. The set value is the internal value, so any present formula will be processed after this value is set.
|
|
"
|
|
"
|
|
``LogPulseStatistic,<taskindex>``
|
|
","
|
|
Initiate a single log entry with statistical information of current PULSE counter parameters (only if PULSE mode type is being used. Cf. special chapter about ``Statistical logging`` in P003 plugin documentation).
|
|
|
|
The taskIndex parameter is optional. When not given, only the total count of the first task with this plugin will be set.
|
|
|
|
N.B. Note that logging is only done, when Serial/Web Log Level is set to ``Debug``.
|
|
"
|