How can I Deploy Thingspeak?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Christopher Stapels
2023-4-6
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.
回答(1 个)
Christopher Stapels
2023-4-7
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 个评论
社区
更多回答在 ThingSpeak Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Act on Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!