You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently receiving data from an interface in json format that I cannot graph due to the structure. Here is an example of what I receive in the value section {"1912D2E7CXXXXXX":{"S003":{"AAA65262":{"BBB000110":78}}}}, The value that interests me is 78 but I cannot remove the rest of the JSON structure and I cannot modify the interface code either.
The text was updated successfully, but these errors were encountered:
tyeth
changed the title
FEEDS IN JSON FORMAT
Add Documentation for how to graph and use Feeds with data in JSON format
Sep 28, 2024
tyeth
changed the title
Add Documentation for how to graph and use Feeds with data in JSON format
Add Documentation for how to use Feeds with data in JSON format
Sep 28, 2024
There is a plan to add support for JSON manipulation to Blockly Actions (which is replacing the legacy actions on the Adafruit IO platform, see https://io.adafruit.com/actions if logged in).
This JSON support feature is not yet in the development stage so probably not for a while.
There is a big drive at the moment to add and test a large chunk of extra functionality to Blockly Actions, including the ability to do a comparison between the last_value (including location metadata like lat/long/ele) and current value as part of an action.
After that there is a large project to update the API support for v2 WipperSnapper firmware, and then there will be time to get to new blocks/features for blockly again.
Then end game would be that you would use an Action to extract the nested json value you desire and publish that cleaned value to a new second feed for graphing (or send an email when value reaches X etc).
This image illustrates a similar attempt during testing this week, but currently all feed values are effectively accessed as strings unless used with a number block:
tyeth
changed the title
Add Documentation for how to use Feeds with data in JSON format
How to use Feeds with data in JSON format
Sep 28, 2024
I am currently receiving data from an interface in json format that I cannot graph due to the structure. Here is an example of what I receive in the value section {"1912D2E7CXXXXXX":{"S003":{"AAA65262":{"BBB000110":78}}}}, The value that interests me is 78 but I cannot remove the rest of the JSON structure and I cannot modify the interface code either.
The text was updated successfully, but these errors were encountered: