Only getting data from one field
-
Hi
I have this code working to get data from one field, but I’m unable to get data from multiple fields.[jsoncontentimporter url= basenode=overview.lifeTimeData]{energy}[/jsoncontentimporter]
I thought this should be possible, but that returns zero data.
[jsoncontentimporter url= basenode=overview]{lifeTimeData.energy} {currentPower.power}[/jsoncontentimporter]
JSON
{"overview":{"lastUpdateTime":"2018-09-13 20:44:17","lifeTimeData":{"energy":292849.0},"lastYearData":{"energy":292849.0},"lastMonthData":{"energy":292849.0},"lastDayData":{"energy":40237.0},"currentPower":{"power":0.0},"measuredBy":"INVERTER"}}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Only getting data from one field’ is closed to new replies.