Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs authored Jun 20, 2024
1 parent 26007f3 commit 321d2f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,13 @@ See

The lightning sensor transmits the accumulated number of strikes and the estimated distance from the storm front (at the time of the last strike) at an interval. The post-processing algorithm implemented in the class `Lightning` (see
[Lightning.h](src/Lightning.h)) calculates the number of events during the past 60 minutes — using the same algorithm as the rain statistics — and stores information of the last event:
* Timestamp,
* Timestamp (UTC),
* Estimated distance and
* Number of strikes since the previous event.
* Number of strikes since the previous event.

> [!NOTE]
> Time and date must be set correctly in order to store the timestamp.
> This is achieved by setting the real time clock (RTC) from an available time source, e.g. via SNTP from a network time server if the device has internet connection via WiFi.
## SW Examples

Expand Down

0 comments on commit 321d2f4

Please sign in to comment.