Hey guys,
I am trying to parse a Json string and write the values in variables on my Arduino Yun. I already managed to receive the string. I searched the web and the forum for quite some time and came across this post: Parsing JSON on Arduino Yún - #5 by system - Arduino Yún - Arduino Forum
Since I am new to python I dont really get where I have to put the py script written in the post and how to call it?
The Json string I want to parse looks like this:
[{"id":2,"timestamp":"1399572468","username":"kaul","light_on":800,"light_off":2200,"ventilation":100,"nutrient1_ml":50,"nutrient2_ml":50,"nutrient3_ml":20,"blend_ml":1000,"plant_ml":150,"moisture_min":50}]
I need the data of username, light_on, light_off etc to be stored in variables on the arduino yun to work with them.
Please help me, I'm really desperate =(