Rules is as posted above, only Station ID is changed.
Sorry if asking something too obvious to others but not to me - what should be added as a text for Thing, and where to add this from above:
JSONPATH( “$[0].sensordatavalues[0].value”, json)
I stumbled across this threat and first of all thanks to the contributors of it above and the hint to luftdaten.info!
A nice addon to my weather data
I just wanted to share my way of implementing it. I didn’t adopt the rule though, as I didn’t see the benefit of it for my implementation. But, I’m using your http.cfg for the below Items-file config:
Number Luftdaten_P1 "PM10: [%s µg/m³]" { http="<[luftdaten_6568:60000:JSONPATH($[0].sensordatavalues[0].value)]"}
Number Luftdaten_P2 "PM2,5: [%s µg/m³]" { http="<[luftdaten_6568:60000:JSONPATH($[0].sensordatavalues[1].value)]"}