Hi
I am doing the “Visualize Your Sensor Readings from Anywhere in the World (ESP32/ESP8266 + MySQL + PHP)”
tutorial.
Its awesome and have had success with the webpage displaying my temps etc.
I now want to create a second webpage or server page to display a second set of readings from a second ESP32.
Can I simply create a duplicate set of files etc(with different names) but do I need to change the API key. If I change the key do I just make one up?
3 Answers
Hello Patto,
- No, you can use the same API Key (it’s just a security measure to ensure that only you can publish to the database)
- You should duplicate the PHP files
- The easiest way is to also create a new SQL table in your database for those new readings
- The ESP needs to publish to the new URL
I hope this helps!
Regards.
Rui