How can I Deploy Thingspeak?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have created a hardware device with ESP32 that gathers agricultural Data and sends it to a React Native App for the user to see the values and check when its optimal to irrigate. I want to deploy the system but I am not sure how to deploy Thingspeak and assign each user their individual data. Should I use a global channel deployed? Any ideas? Thank you.
2 Commenti
Christopher Stapels
il 6 Apr 2023
Will each user have their own ESP32? Each device should have its own channel, to prevent data collisions.
Does the user need to manipulate any settings on the THingSPeak channel? If not, you can use the create channel endpoint to have the device create the channel itself. Then each time it connects, it can check to see if there is a channel for it. if so it will use that channel. If not, it will create a new one and record there.
Risposte (1)
Christopher Stapels
il 7 Apr 2023
Each device should have its own channel. You can use the method I described above if you want the device to create a channel, or you can preprogram the devices with the channel info, but this does become difficult if you need to upgrade or make other changes.
Im not sure what information you are looking for with your question about how to deploy. You can keep a list of channels and have the React app query the channel list (which you can store in ThingSpeak) and then use that information to decide what to show to user x. ThingSpeak has a lot of flexibility, so there are probably a lot of different ways to configure your app. You can also use the built in MATLAB to do advanced analytics on the user data.
0 Commenti
Community
Più risposte nel ThingSpeak Community
Vedere anche
Categorie
Scopri di più su Act on Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!