A url containing my API for some solar panels returns the following:
{"overview":{"lastUpdateTime":"2020-09-30 14:19:23","lifeTimeData":{"energy":1165545.0,"revenue":248.58372},"lastYearData":{"energy":1129885.0},"lastMonthData":{"energy":453504.0},"lastDayData":{"energy":4867.0},"currentPower":{"power":441.279},"measuredBy":"INVERTER"}}
From googling I believe that it is "nested", and because of this it can't be processed by a "Magic Mirror" module. Can I use NR to clean / tidy / extract just the data that I want (for example lastDayData:4867.0), and if so how might I do this?
So far I have a TimeStamp > http In (outputting a parsed JSON object) > json (converting to JSON string) > debug. But (not surprisingly) this outputs the full string.
How might I extract bits out of the string?
TIA