Returned from esp32 dev module, ultrasonic,ldr and a few switches.
300.0
<SONIC_THRESHOLD>82</SONIC_THRESHOLD>
30.0
1
0
0
0
I have a ESP32 dev retuning sensor values , above is whats returned. I have it displaying as a web page and works fine . New to mit app inventor and want to build an app just to look at ultrasonic value and compare with ultrasonic threshold value from a slider . B1 is the ultrasonic actual value. Started simple and got this to work for a switch. Lable changes when switch is turned on. But dont know ho to parse the xml to get both actual and sonic slider value.
any help appreciated.
David
esp32_data.aia (2.9 KB)
looked at a number of tutorials but can not find a good one that uses wifi and sensor values.
got a label to change color on a button state changing. but cant seem to find a good tutorial on parsing xml sensor values from a returned xml file.
I built a sensors display on an esp32 it acts as a local server. I can connect through a regular html and interact with it it works perfectly. My idea is to take it to the next level. Create an app add count down timer, graphically display data, so I am working on learning a few different things, hopefully I can build individual apps and then integrate all together as the final app, plenty good tutorial on timers , but have struggled to get a good tutorial on sensors, some use jason some lists some , bit confused as how to get the readings, I think once I understand ho to get one value then I can push on and build a good interactive app . Just a bit of background the initial post was a bit rushed and confusing,
My apologies
David