Skip to content

Commit

Permalink
Merge pull request letscontrolit#4973 from chromoxdor/docs/thinkspeak…
Browse files Browse the repository at this point in the history
…-event-typos

[Docs] minor corrections for "thingspeak event"
  • Loading branch information
TD-er authored Feb 21, 2024
2 parents 4abfdaa + d1e845a commit f46a8fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/source/Rules/Rules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2020,14 +2020,14 @@ Added 2024/02/05

* Examples:

Single channel: ``"sendtohttp,api.thingspeak.com,80,channels/1637928/fields/1.csv?end=2024-01-01%2023:59:00&results=1``
=> gets the value of field 1 at (or the last entry before) 23:59:00 of the channel 1637928
Single channel: ``SendToHTTP,api.thingspeak.com,80,channels/143789/fields/1.csv?end=2024-01-01%2023:59:00&results=1``
=> gets the value of field 1 at (or the last entry before) 23:59:00 of the channel 143789

All channels: ``"sendtohttp,api.thingspeak.com,80,channels/1637928/feeds.csv?end=2024-01-01%2023:59:00&results=1``
=> gets the value of each field of the channel 1637928 at (or the last entry before) 23:59:00
All channels: ``SendToHTTP,api.thingspeak.com,80,channels/143789/feeds.csv?end=2024-01-01%2023:59:00&results=1``
=> gets the value of each field of the channel 143789 at (or the last entry before) 23:59:00

.. note::
``csv`` and ``result=1`` are mandatory!
``csv`` and ``results=1`` are mandatory!

Convert curl POST command to PostToHTTP
---------------------------------------
Expand Down

0 comments on commit f46a8fb

Please sign in to comment.