Hello all,
I’m new at this and am trying to parse json in Home Assistant. The source is here:
{“channel”:{“id”:385938,“name”:“PoolTemp”,“latitude”:“0.0”,“longitude”:“0.0”,“field1”:“temperature”,“created_at”:“2017-12-16T00:01:12Z”,“updated_at”:“2017-12-16T23:16:02Z”,“last_entry_id”:1386},“feeds”:[{“created_at”:“2017-12-16T23:16:03Z”,“entry_id”:1386,“field1”:“28.0”}]}
My configuration is here:
- platform: rest
resource: https://api.thingspeak.com/channels/385938/feeds.json?results=1
value_template: ‘{{ value_json.feeds.field1 }}’
name: “Temp”
It currently results in a blank field.
Thanks in advance.
Matt.