[SendToHTTP] Thingspeakreply addition #4965
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I updated the documentation and added a new feature.
If this is not wanted I´ll close this and only make a PR with the updated documentation.
Here the text from the comments:
2024-02-05 - Added the option to get a single value of a field or all values of a channel at a certain time (not only the last entry)
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
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