How can I filter out 1 JSON input from another?

Hi Steve

Thanks for being so patient :slightly_smiling_face:

In a previous question on here you recommended to ..

So that is what I have done, the topic structure is now ... module/99/data/output/json

My intention is to output all data from my Arduino sensors using this but just changing the 99 to an Arduino micro controller ID in my home, there are about 10 of them all with there own ID ... 99 , 10, 11 12, etc.

Then selecting the data I require using the topic and the correct ID, with the various payloads I require ...
payload.temperature
payload.humidity
payload.lighting
payload.PIR
etc
Example ... module/12/data/output/json then I require separately temperature and lighting from this Arduino.

So am I doing the extraction of the data correctly or is there a more simple way ?

As at the moment it seem as I have to use ...

Hopefully that all make sense :roll_eyes:
It's just as I am changing how I was doing it, to the new way I want to get it correct from the start.
Thanks again