How can I Deploy Thingspeak?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Inés Saavedra Villafruela
el 6 de Abr. de 2023
Respondida: Christopher Stapels
el 7 de Abr. de 2023
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 comentarios
Christopher Stapels
el 6 de Abr. de 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.
Respuestas (1)
Christopher Stapels
el 7 de Abr. de 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 comentarios
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre ThingSpeak en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!