I’ve constructed a controller for a hashish drying and curing fridge on a Raspberry PI. The PI begins up and runs a Python script. The script then holds a set temperature and humidity. It controls a small humidifier within the fridge too.
It shops temperature and humidity knowledge in a firestore database.
It watches a firestore doc for values, like goal temperature, goal humidity, and so forth.
I can change the values and show the graphs for temperature… within the app.
What I need to do know is:
Let the pi create a scorching spot. Open a http server on it, the place I can talk with the app. I do know precisely how I’ll do that. I did this earlier than in LocalCast. Ship the WiFi credentials. Let it join. Authorise Firebase within the app.
However I’ve no single clue what I must do as soon as I authorised firebase within the cell app. I must let the script know that it’s authorised. How would I do that?