For the group networking project we used a tutorial from Random Nerd Tutorials to take sensor readings from the ESP32 and display them via an app on desktop. Our idea was to create a "weather app" of sorts where the user could view environmental sensor information online.
Tutorial: [ESP32 Firebase Gauges & Charts](https://randomnerdtutorials.com/esp32-esp8266-firebase-gauges-charts/)
We used the following components for this tutorial: ESP32 (Arduino IDE, Breadboard, Photoresistor), Google Firebase
Admin view of the firebase realtime database and info needed to connect app with ESP32
Following the steps in the tutorial, we set up the project to user enable authentication, which requires users to input their email and password in order to access sensor readings in the app. Given there are only three users of the project, all three of us have access via the Firebase app to log readings; while any new user would need to be authenticated in the project.
Backend setup of authorized users and the live app's login page
[Circuit diagram](https://esp32io.com/tutorials/esp32-light-sensor) for ESP32
In order to display sensor readings of brightness for the ESP32 to our computer, we developed a simple UI that connects to Firebase and shows the real-time sensor changes. The tutorial required a JavaScript integration in order to transform the data into text and image displays. We hosted the project in Github and the URL connects the Firebase project with our UI code.
Demo of the webapp reading live values from the ESP32 & photoresistor
We ran into some technical issues integrating the backend and frontend at this point. For whatever reason, our URL shows an outdated template from the tutorial. Despite our troubleshooting, the [URL](https://ps70-c6e19.web.app/) via Github is not connecting to the backend and updating sensor readings from the app. We do have a local URL that is accurately displaying sensor readings.Here is a screenshot of what the end UI ought to look like, and evidence of the development. With some more time, we could debug the issue of this problem and integrate the correct frontend with our sensor readings.
The current UI which is wrong on the left and the UI that is supposed to be showing on the right