mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 17:45:49 +00:00
The HTML parser does not parse our own rules which is where it is used. So until we have a rules highlighter, we use the ``none`` highlighter.
46 lines
901 B
Plaintext
46 lines
901 B
Plaintext
.. csv-table::
|
|
:header: "Event", "Example"
|
|
:widths: 30, 20
|
|
|
|
"
|
|
``GPS#GotFix``
|
|
Will trigger when the GPS unit got a good position from the satellites.
|
|
","
|
|
|
|
.. code-block:: none
|
|
|
|
on GPS#GotFix do
|
|
GPIO,2,1 //LED on
|
|
endon
|
|
|
|
"
|
|
"
|
|
``GPS#LostFix``
|
|
Will trigger when the GPS unit is not having a good position from the satellites.
|
|
","
|
|
|
|
.. code-block:: none
|
|
|
|
on GPS#LostFix do
|
|
GPIO,2,0 //LED off
|
|
endon
|
|
|
|
"
|
|
"
|
|
``GPS#travelled``
|
|
When configured to update every N meters travelled, this event will be triggered if the GPS moved more than N meters away from the last position this trigger was given.
|
|
This means the total travel distance can be more if the GPS does not move in a straight line.
|
|
","
|
|
|
|
.. code-block:: none
|
|
|
|
on GPS#travelled do
|
|
LogEntry,'Travelled %eventvalue% meter'
|
|
endon
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
|